Class FdfReader
java.lang.Object
com.aowagie.text.pdf.PdfReader
com.aowagie.text.pdf.FdfReader
- All Implemented Interfaces:
PdfViewerPreferences
Reads an FDF form and makes the fields available
-
Nested Class Summary
Nested classes/interfaces inherited from class PdfReader
PdfReader.PageRefs -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets all the fields.(package private) StringgetFieldValue(String name) Gets the field value ornullif the field does not exist or has no value defined.Gets the PDF file specification contained in the FDF.private voidkidNode(PdfDictionary merged, String name) private voidprotected voidreadPdf()Methods inherited from class PdfReader
addPdfObject, addViewerPreference, close, consolidateNamedDestinations, FlateDecode, getAcroFields, getAcroForm, getBoxSize, getCatalog, getCertificationLevel, getCryptoMode, getCryptoRef, getDecrypt, getEofPos, getFileLength, getInfo, getJavaScript, getLastXref, getMetadata, getNamedDestination, getNamedDestinationFromNames, getNamedDestinationFromStrings, getNormalizedRectangle, getNumberOfPages, getPageContent, getPageN, getPageNRelease, getPageOrigRef, getPageRotation, getPageRotation, getPageSize, getPageSizeWithRotation, getPageSizeWithRotation, getPdfObject, getPdfObject, getPdfObject, getPdfObjectRelease, getPdfObjectRelease, getPdfObjectRelease, getPdfReaderInstance, getPdfVersion, getPermissions, getSafeFile, getSimpleViewerPreferences, getStreamBytes, getStreamBytesRaw, getTrailer, getXrefSize, isAppendable, isEncrypted, isHybridXref, isMetadataEncrypted, isNewXrefType, isOpenedWithFullPermissions, isRebuilt, isTampered, killIndirect, killXref, readDocObj, readPages, rebuildXref, releaseLastXrefPartial, releasePage, removeFields, removeUsageRights, resetReleasePage, selectPages, setAppendable, setTampered, setViewerPreferences, setViewerPreferences, shuffleSubsetNames
-
Field Details
-
fields
-
fileSpec
-
encoding
-
-
Constructor Details
-
FdfReader
FdfReader()
-
-
Method Details
-
readPdf
- Overrides:
readPdfin classPdfReader- Throws:
IOException
-
kidNode
-
readFields
private void readFields() -
getFields
Gets all the fields. The map is keyed by the fully qualified field name and the value is a mergedPdfDictionarywith the field content.- Returns:
- all the fields
-
getFieldValue
-
getFileSpec
Gets the PDF file specification contained in the FDF.- Returns:
- the PDF file specification contained in the FDF
-