HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.pdf.FdfReader Class Reference
Inheritance diagram for iTextSharp.text.pdf.FdfReader:
iTextSharp.text.pdf.PdfReader iTextSharp.text.pdf.interfaces.IPdfViewerPreferences

Public Member Functions

 FdfReader (String filename)
 
 FdfReader (byte[] pdfIn)
 
 FdfReader (Uri url)
 
 FdfReader (Stream isp)
 
PdfDictionary GetField (String name)
 
String GetFieldValue (String name)
 
- Public Member Functions inherited from iTextSharp.text.pdf.PdfReader
 PdfReader (String filename)
 
 PdfReader (String filename, byte[] ownerPassword)
 
 PdfReader (byte[] pdfIn)
 
 PdfReader (byte[] pdfIn, byte[] ownerPassword)
 
 PdfReader (String filename, X509Certificate certificate, ICipherParameters certificateKey)
 
 PdfReader (Uri url)
 
 PdfReader (Uri url, byte[] ownerPassword)
 
 PdfReader (Stream isp, byte[] ownerPassword)
 
 PdfReader (Stream isp)
 
 PdfReader (RandomAccessFileOrArray raf, byte[] ownerPassword)
 
 PdfReader (PdfReader reader)
 
int GetPageRotation (int index)
 
Rectangle GetPageSizeWithRotation (int index)
 
Rectangle GetPageSizeWithRotation (PdfDictionary page)
 
Rectangle GetPageSize (int index)
 
Rectangle GetPageSize (PdfDictionary page)
 
Rectangle GetCropBox (int index)
 
Rectangle GetBoxSize (int index, String boxName)
 
PdfObject GetPdfObjectRelease (int idx)
 
PdfObject GetPdfObject (int idx)
 
void ResetLastXrefPartial ()
 
void ReleaseLastXrefPartial ()
 
PRIndirectReference AddPdfObject (PdfObject obj)
 
double DumpPerc ()
 
bool IsRebuilt ()
 
PdfDictionary GetPageN (int pageNum)
 
PdfDictionary GetPageNRelease (int pageNum)
 
void ReleasePage (int pageNum)
 
void ResetReleasePage ()
 
PRIndirectReference GetPageOrigRef (int pageNum)
 
byte[] GetPageContent (int pageNum, RandomAccessFileOrArray file)
 
byte[] GetPageContent (int pageNum)
 
void SetPageContent (int pageNum, byte[] content)
 
void SetPageContent (int pageNum, byte[] content, int compressionLevel)
 
void EliminateSharedStreams ()
 
bool IsEncrypted ()
 
bool Is128Key ()
 
int ShuffleSubsetNames ()
 
int CreateFakeFontSubsets ()
 
Hashtable GetNamedDestination ()
 
Hashtable GetNamedDestination (bool keepNames)
 
Hashtable GetNamedDestinationFromNames ()
 
Hashtable GetNamedDestinationFromNames (bool keepNames)
 
Hashtable GetNamedDestinationFromStrings ()
 
void RemoveFields ()
 
void RemoveAnnotations ()
 
ArrayList GetLinks (int page)
 
void ConsolidateNamedDestinations ()
 
void Close ()
 
int RemoveUnusedObjects ()
 
String GetJavaScript (RandomAccessFileOrArray file)
 
void SelectPages (String ranges)
 
void SelectPages (ArrayList pagesToKeep)
 
virtual void AddViewerPreference (PdfName key, PdfObject value)
 
bool IsNewXrefType ()
 
bool IsHybridXref ()
 
void RemoveUsageRights ()
 
int GetCertificationLevel ()
 
int GetCryptoMode ()
 
bool IsMetadataEncrypted ()
 
byte[] ComputeUserPassword ()
 
void Dispose ()
 

Protected Member Functions

virtual void KidNode (PdfDictionary merged, String name)
 
virtual void ReadFields ()
 

Properties

Hashtable Fields [get]
 
String FileSpec [get]
 
- Properties inherited from iTextSharp.text.pdf.PdfReader
RandomAccessFileOrArray SafeFile [get]
 
int NumberOfPages [get]
 
PdfDictionary Catalog [get]
 
PRAcroForm AcroForm [get]
 
Dictionary< string, string > Info [get]
 
bool Tampered [get, set]
 
byte[] Metadata [get]
 
int LastXref [get]
 
int XrefSize [get]
 
int EofPos [get]
 
char PdfVersion [get]
 
int Permissions [get]
 
PdfDictionary Trailer [get]
 
AcroFields AcroFields [get]
 
String JavaScript [get]
 
virtual int ViewerPreferences [set]
 
virtual int SimpleViewerPreferences [get]
 
bool Appendable [get, set]
 
int FileLength [get]
 
bool IsOpenedWithFullPermissions [get]
 
- Properties inherited from iTextSharp.text.pdf.interfaces.IPdfViewerPreferences
int ViewerPreferences [set]
 

Additional Inherited Members

- Static Public Member Functions inherited from iTextSharp.text.pdf.PdfReader
static Rectangle GetNormalizedRectangle (PdfArray box)
 
static PdfObject GetPdfObjectRelease (PdfObject obj)
 
static PdfObject GetPdfObject (PdfObject obj)
 
static PdfObject GetPdfObjectRelease (PdfObject obj, PdfObject parent)
 
static PdfObject GetPdfObject (PdfObject obj, PdfObject parent)
 
static void ReleaseLastXrefPartial (PdfObject obj)
 
static PdfObject KillIndirect (PdfObject obj)
 
static byte[] FlateDecode (byte[] inp)
 
static byte[] DecodePredictor (byte[] inp, PdfObject dicPar)
 
static byte[] FlateDecode (byte[] inp, bool strict)
 
static byte[] ASCIIHexDecode (byte[] inp)
 
static byte[] ASCII85Decode (byte[] inp)
 
static byte[] LZWDecode (byte[] inp)
 
static byte[] GetStreamBytes (PRStream stream, RandomAccessFileOrArray file)
 
static byte[] GetStreamBytes (PRStream stream)
 
static byte[] GetStreamBytesRaw (PRStream stream, RandomAccessFileOrArray file)
 
static byte[] GetStreamBytesRaw (PRStream stream)
 
- Protected Attributes inherited from iTextSharp.text.pdf.PdfReader
ICipherParameters certificateKey = null
 
X509Certificate certificate = null
 

Detailed Description

Reads an FDF form and makes the fields available

Author
Paulo Soares (psoar.nosp@m.es@c.nosp@m.onsis.nosp@m.te.p.nosp@m.t)

Constructor & Destructor Documentation

◆ FdfReader() [1/4]

iTextSharp.text.pdf.FdfReader.FdfReader ( String  filename)

Reads an FDF form.

Parameters
filenamethe file name of the form
Exceptions
IOExceptionon error

◆ FdfReader() [2/4]

iTextSharp.text.pdf.FdfReader.FdfReader ( byte[]  pdfIn)

Reads an FDF form.

Parameters
pdfInthe byte array with the form
Exceptions
IOExceptionon error

◆ FdfReader() [3/4]

iTextSharp.text.pdf.FdfReader.FdfReader ( Uri  url)

Reads an FDF form.

Parameters
urlthe URL of the document
Exceptions
IOExceptionon error

◆ FdfReader() [4/4]

iTextSharp.text.pdf.FdfReader.FdfReader ( Stream  isp)

Reads an FDF form.

Parameters
isthe InputStream containing the document. The stream is read to the end but is not closed
Exceptions
IOExceptionon error

Member Function Documentation

◆ GetField()

PdfDictionary iTextSharp.text.pdf.FdfReader.GetField ( String  name)

Gets the field dictionary.

Parameters
namethe fully qualified field name
Returns
the field dictionary

◆ GetFieldValue()

String iTextSharp.text.pdf.FdfReader.GetFieldValue ( String  name)

Gets the field value or null if the field does not exist or has no value defined.

Parameters
namethe fully qualified field name
Returns
the field value or null

◆ KidNode()

virtual void iTextSharp.text.pdf.FdfReader.KidNode ( PdfDictionary  merged,
String  name 
)
protectedvirtual

◆ ReadFields()

virtual void iTextSharp.text.pdf.FdfReader.ReadFields ( )
protectedvirtual

Property Documentation

◆ Fields

Hashtable iTextSharp.text.pdf.FdfReader.Fields
get

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.

Returns
all the fields

◆ FileSpec

String iTextSharp.text.pdf.FdfReader.FileSpec
get

Gets the PDF file specification contained in the FDF.

Returns
the PDF file specification contained in the FDF

The documentation for this class was generated from the following file: