HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.pdf.XfdfReader Class Reference
Inheritance diagram for iTextSharp.text.pdf.XfdfReader:
iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler

Classes

class  Stackr
 

Public Member Functions

 XfdfReader (String filename)
 
 XfdfReader (byte[] xfdfIn)
 
String GetField (String name)
 
String GetFieldValue (String name)
 
ArrayList GetListValues (String name)
 
void StartElement (String tag, Hashtable h)
 
void EndElement (String tag)
 
void StartDocument ()
 
void EndDocument ()
 
void Text (String str)
 

Protected Attributes

Hashtable listFields
 

Properties

Hashtable Fields [get]
 
String FileSpec [get]
 

Detailed Description

Reads a XFDF.

Author
Leonard Rosenthol (leona.nosp@m.rdr@.nosp@m.pdfsa.nosp@m.ges..nosp@m.com)

Constructor & Destructor Documentation

◆ XfdfReader() [1/2]

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

Reads an XFDF form.

Parameters
filenamethe file name of the form
Exceptions
IOExceptionon error

◆ XfdfReader() [2/2]

iTextSharp.text.pdf.XfdfReader.XfdfReader ( byte[]  xfdfIn)

Reads an XFDF form.

Parameters
xfdfInthe byte array with the form
Exceptions
IOExceptionon error

Member Function Documentation

◆ EndDocument()

void iTextSharp.text.pdf.XfdfReader.EndDocument ( )

Called after the document is parsed.

Implements iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler.

◆ EndElement()

void iTextSharp.text.pdf.XfdfReader.EndElement ( String  tag)

Called when an end tag is found.

Parameters
tagthe tag name

Implements iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler.

◆ GetField()

String iTextSharp.text.pdf.XfdfReader.GetField ( String  name)

Gets the field value.

Parameters
namethe fully qualified field name
Returns
the field's value

◆ GetFieldValue()

String iTextSharp.text.pdf.XfdfReader.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

◆ GetListValues()

ArrayList iTextSharp.text.pdf.XfdfReader.GetListValues ( String  name)

Gets the field values for a list or null if the field does not exist or has no value defined.

Parameters
namethe fully qualified field name
Returns
the field values or null
Since
2.1.4

◆ StartDocument()

void iTextSharp.text.pdf.XfdfReader.StartDocument ( )

Called when the document starts to be parsed.

Implements iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler.

◆ StartElement()

void iTextSharp.text.pdf.XfdfReader.StartElement ( String  tag,
Hashtable  h 
)

Called when a start tag is found.

Parameters
tagthe tag name
hthe tag's attributes

Implements iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler.

◆ Text()

void iTextSharp.text.pdf.XfdfReader.Text ( String  str)

Called when a text element is found.

Parameters
strthe text element, probably a fragment.

Implements iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler.

Member Data Documentation

◆ listFields

Hashtable iTextSharp.text.pdf.XfdfReader.listFields
protected

Storage for field values if there's more than one value for a field.

Since
2.1.4

Property Documentation

◆ Fields

Hashtable iTextSharp.text.pdf.XfdfReader.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.XfdfReader.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: