org.pdfbox
Class ImportFDF
public class ImportFDF
extends java.lang.Object
This example will take a PDF document and fill the fields with data from the
FDF fields.
ImportFDF()- Creates a new instance of ImportFDF.
|
void | close(PDDocument doc)- Close the document.
|
void | close(FDFDocument 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.
|
ImportFDF
public ImportFDF()
Creates a new instance of ImportFDF.
close
public void close(PDDocument doc)
throws IOException Close the document.
close
public void close(FDFDocument doc)
throws IOException Close the document.
importFDF
public void importFDF(PDDocument pdfDocument,
FDFDocument fdfDocument)
throws IOException This will takes the values from the fdf document and import them into the
PDF document.
pdfDocument - The document to put the fdf data into.fdfDocument - The FDF document to get the data from.
main
public static void main(String[] args)
throws Exception This will import an fdf document and write out another pdf.
see usage() for commandline
args - command line arguments