| java.lang.Object com.salmonllc.acrobat.FDFGenerator
FDFGenerator | public class FDFGenerator (Code) | | FDFGenerator is a class to generate an FDF file which will
contain fieldnames and values for the fields for a form in a PDF File.
To use create an Instance of FDFGenerator with a URL to the PDF File containing the Form with Fields defined,
and a Fully specified path & filename of the generated FDF file.
Then set the values of the fields using setValue method.
After setting all values, make a call to createFDFFile, this will generated the FDF specified in the constructor.
To display the PDF with the specified data, redirect to a URL specifying the web location of the FDF file which was generated.
Creation date: (1/15/02 12:18:16 PM)
author: : Fred Cahill |
Constructor Summary | |
public | FDFGenerator(URL uPDFTemplate, String sFDFOutputFile) This create an FDFGenerator object for the PDF Template. |
Method Summary | |
public void | clearField(String sFieldName) This method clears a field value in the template. | public void | createFDFFile() This method generates the FDF file for the template containing the values for the fields. | public void | setValue(String sFieldName, String sValue) This method sets the value of a field in the template. |
FDFGenerator | public FDFGenerator(URL uPDFTemplate, String sFDFOutputFile)(Code) | | This create an FDFGenerator object for the PDF Template.
Parameters: uPDFTemplate - A Url pointing to a PDF Template Form Parameters: sFDFOutputFile - The filename of the generated FDF file. |
clearField | public void clearField(String sFieldName)(Code) | | This method clears a field value in the template.
Parameters: sFieldName - The name of a field in the Template. |
createFDFFile | public void createFDFFile() throws FDFGeneratorException(Code) | | This method generates the FDF file for the template containing the values for the fields. The name of the generated file was specified in the constructor.
|
setValue | public void setValue(String sFieldName, String sValue)(Code) | | This method sets the value of a field in the template.
Parameters: sFieldName - The name of a field in the Template. Parameters: sValue - The value to set the field to in the Template. |
|
|