| |
|
| java.lang.Object org.pdfbox.ImportFDF
ImportFDF | public class ImportFDF (Code) | | This example will take a PDF document and fill the fields with data from the
FDF fields.
author: Ben Litchfield version: $Revision: 1.2 $ |
Constructor Summary | |
public | ImportFDF() Creates a new instance of ImportFDF. |
Method Summary | |
public void | close(FDFDocument doc) Close the document. | public void | close(PDDocument doc) Close the document. | public void | importFDF(PDDocument pdfDocument, FDFDocument fdfDocument) This will takes the values from the fdf document and import them into the
PDF document. | public static void | main(String[] args) This will import an fdf document and write out another pdf. |
ImportFDF | public ImportFDF()(Code) | | Creates a new instance of ImportFDF.
|
importFDF | public void importFDF(PDDocument pdfDocument, FDFDocument fdfDocument) throws IOException(Code) | | This will takes the values from the fdf document and import them into the
PDF document.
Parameters: pdfDocument - The document to put the fdf data into. Parameters: fdfDocument - The FDF document to get the data from. throws: IOException - If there is an error setting the data in the field. |
main | public static void main(String[] args) throws Exception(Code) | | This will import an fdf document and write out another pdf.
see usage() for commandline
Parameters: args - command line arguments throws: Exception - If there is an error importing the FDF document. |
|
|
|