FormEditorWeb

Inheritance: java.lang.Object, com.aspose.pdf.facades.IVentureLicenseTarget, com.aspose.pdf.facades.Facade, com.aspose.pdf.facades.SaveableFacade, com.aspose.pdf.facades.AFormEditor

All Implemented Interfaces: com.aspose.pdf.facades.IFormEditor

public final class FormEditorWeb extends AFormEditor implements IFormEditor

Class for editing forms (ading/deleting field etc)

Constructors

ConstructorDescription
FormEditorWeb()Constructor for FormEditorWeb.
FormEditorWeb(IDocument document)Initializes new FormEditorWeb object on base of the document .
FormEditorWeb(IDocument document, OutputStream destStream)Initializes new FormEditorWeb object on base of the document .
FormEditorWeb(IDocument document, String destFileName)Initializes new FormEditorWeb object on base of the document .
FormEditorWeb(InputStream inputStream, HttpServletResponse response)Creates FormEditorWeb which will save result into HttpResponse object.
FormEditorWeb(InputStream srcStream, OutputStream destStream)Constructor for FormEditorWeb.
FormEditorWeb(String inputFile, HttpServletResponse response)Creates FormEditorWeb which will save result into HttpResponse object.
FormEditorWeb(String srcFileName, String destFileName)Constructor for FormEditorWeb

Methods

MethodDescription
getResponse()Gets Response object where result of operation will be stored.
setResponse(HttpServletResponse value)Sets Response object where result of operation will be stored.
save()Saves changes into destination file.

FormEditorWeb()

public FormEditorWeb()

Constructor for FormEditorWeb.


FormEditorWeb FormEditorWeb = new FormEditorWeb();

FormEditorWeb(IDocument document)

public FormEditorWeb(IDocument document)

Initializes new FormEditorWeb object on base of the document .

Parameters:

ParameterTypeDescription
documentIDocumentPdf document.

FormEditorWeb(IDocument document, OutputStream destStream)

public FormEditorWeb(IDocument document, OutputStream destStream)

Initializes new FormEditorWeb object on base of the document .

Parameters:

ParameterTypeDescription
documentIDocumentPdf document.
destStreamjava.io.OutputStreamDestination stream.

FormEditorWeb(IDocument document, String destFileName)

public FormEditorWeb(IDocument document, String destFileName)

Initializes new FormEditorWeb object on base of the document .

Parameters:

ParameterTypeDescription
documentIDocumentPdf document.
destFileNamejava.lang.StringPath of the destination file.

FormEditorWeb(InputStream inputStream, HttpServletResponse response)

public FormEditorWeb(InputStream inputStream, HttpServletResponse response)

Creates FormEditorWeb which will save result into HttpResponse object.

Parameters:

ParameterTypeDescription
inputStreamjava.io.InputStreamSource stream.
responsejavax.servlet.http.HttpServletResponseHttpResponse object where result will be saved.

FormEditorWeb(InputStream srcStream, OutputStream destStream)

public FormEditorWeb(InputStream srcStream, OutputStream destStream)

Constructor for FormEditorWeb.


FormEditorWeb FormEditorWeb = new FormEditorWeb(new FileInputStream("InFile.pdf"), new FileOutputStream("OutFile.pdf"));

Parameters:

ParameterTypeDescription
srcStreamjava.io.InputStreamSource stream.
destStreamjava.io.OutputStreamDestination stream.

FormEditorWeb(String inputFile, HttpServletResponse response)

public FormEditorWeb(String inputFile, HttpServletResponse response)

Creates FormEditorWeb which will save result into HttpResponse object.

Parameters:

ParameterTypeDescription
inputFilejava.lang.StringSource file name.
responsejavax.servlet.http.HttpServletResponseHttpResponse objects where result be saved.

FormEditorWeb(String srcFileName, String destFileName)

public FormEditorWeb(String srcFileName, String destFileName)

Constructor for FormEditorWeb


FormEditorWeb FormEditorWeb = new FormEditorWeb("InFile.pdf", "OutFile.pdf");

Parameters:

ParameterTypeDescription
srcFileNamejava.lang.StringName of source file.
destFileNamejava.lang.StringName of destination file.

getResponse()

public HttpServletResponse getResponse()

Gets Response object where result of operation will be stored.

Returns: javax.servlet.http.HttpServletResponse - HttpServletResponse object

setResponse(HttpServletResponse value)

public void setResponse(HttpServletResponse value)

Sets Response object where result of operation will be stored.

Parameters:

ParameterTypeDescription
valuejavax.servlet.http.HttpServletResponseHttpServletResponse object

save()

public void save()

Saves changes into destination file.