|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.pdfbox.ImportXFDF
This example will take a PDF document and fill the fields with data from the XFDF fields.
| Constructor Summary | |
ImportXFDF()
Creates a new instance of ImportFDF. |
|
| Method Summary | |
void |
close(FDFDocument doc)
Close the document. |
void |
close(PDDocument doc)
Close the document. |
void |
importFDF(PDDocument pdfDocument,
FDFDocument fdfDocument)
This will takes the values from the fdf document and import them into the PDF document. |
static void |
main(String[] args)
This will import an fdf document and write out another pdf. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImportXFDF()
| Method Detail |
public void importFDF(PDDocument pdfDocument,
FDFDocument fdfDocument)
throws IOException
pdfDocument - The document to put the fdf data into.fdfDocument - The FDF document to get the data from.
IOException - If there is an error setting the data in the field.
public static void main(String[] args)
throws Exception
args - command line arguments
Exception - If there is an error importing the FDF document.
public void close(FDFDocument doc)
throws IOException
doc - The doc to close.
IOException - If there is an error closing the document.
public void close(PDDocument doc)
throws IOException
doc - The doc to close.
IOException - If there is an error closing the document.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||