com.lowagie.text.pdf
Class FdfReader
Reads an FDF form and makes the fields available
- Paulo Soares (psoares@consiste.pt)
acroForm , acroFormParsed , appendable , catalog , consolidateNamedDestinations , decrypt , encrypted , endobj , endstream , eofPos , fileLength , freeXref , hybridXref , lastXref , newHits , newXrefType , objGen , objNum , objStmMark , pValue , pageInh , pageInhCandidates , pageRefs , pages , password , pdfVersion , rValue , rebuilt , sharedStreams , strings , tampered , tokens , trailer , visited , vpints , vpnames , xref , xrefObj |
ASCII85Decode , ASCIIHexDecode , FlateDecode , FlateDecode , LZWDecode , PRSimpleRecursive , consolidateNamedDestinations , createFakeFontSubsets , decodePredictor , duplicatePdfDictionary , duplicatePdfObject , eliminateSharedStreams , ensureXrefSize , equalsArray , equalsn , existsName , getAcroFields , getAcroForm , getBoxSize , getCatalog , getCropBox , getDecrypt , getEofPos , getFileLength , getFontName , getInfo , getJavaScript , getJavaScript , getLastXref , getMetadata , getNameArray , getNamedDestination , getNamedDestinationFromNames , getNamedDestinationFromStrings , getNormalizedRectangle , getNumberOfPages , getPageContent , getPageContent , getPageN , getPageOrigRef , getPageRotation , getPageRotation , getPageSize , getPageSize , getPageSizeWithRotation , getPageSizeWithRotation , getPdfObject , getPdfObject , getPdfReaderInstance , getPdfVersion , getPermissions , getSafeFile , getStreamBytes , getStreamBytes , getSubsetPrefix , getTrailer , getViewerPreferences , getXrefSize , is128Key , isAppendable , isEncrypted , isHybridXref , isNewXrefType , isRebuilt , isTampered , iterateBookmarks , iteratePages , killIndirect , killXref , popPageAttributes , pushPageAttributes , readArray , readDecryptedDocObj , readDictionary , readDocObj , readObjStm , readPRObject , readPages , readPdf , readXRefStream , readXref , readXrefSection , rebuildXref , removeAnnotations , removeFields , removeUnusedNode , removeUnusedObjects , replaceNamedDestination , selectPages , selectPages , setAppendable , setPageContent , setTampered , setViewerPreferences , setViewerPreferences , shuffleSubsetNames |
encoding
(package private) PdfName encoding
fields
(package private) HashMap fields
fileSpec
(package private) String fileSpec
FdfReader
public FdfReader(InputStream is)
throws IOException
Reads an FDF form.
is
- the InputStream
containing the document. The stream is read to the
end but is not closed
FdfReader
public FdfReader(String filename)
throws IOException
Reads an FDF form.
filename
- the file name of the form
FdfReader
public FdfReader(URL url)
throws IOException
Reads an FDF form.
url
- the URL of the document
FdfReader
public FdfReader(pdfIn[] )
throws IOException
Reads an FDF form.
getField
public PdfDictionary getField(String name)
Gets the field dictionary.
name
- the fully qualified field name
getFieldValue
public String getFieldValue(String name)
Gets the field value or null
if the field does not
exist or has no value defined.
name
- the fully qualified field name
getFields
public HashMap getFields()
Gets all the fields. The map is keyed by the fully qualified
field name and the value is a merged PdfDictionary
with the field content.
getFileSpec
public String getFileSpec()
Gets the PDF file specification contained in the FDF.
- the PDF file specification contained in the FDF
readFields
protected void readFields()
throws IOException
readPdf
protected void readPdf()
throws IOException
- readPdf in interface PdfReader