◆ XfaForm() [1/2]
iTextSharp.text.pdf.XfaForm.XfaForm |
( |
| ) |
|
An empty constructor to build on.
◆ XfaForm() [2/2]
iTextSharp.text.pdf.XfaForm.XfaForm |
( |
PdfReader |
reader | ) |
|
A constructor from a PdfReader
. It basically does everything from finding the XFA stream to the XML parsing.
- Parameters
-
- Exceptions
-
java.io.IOException | on error |
javax.xml.parsers.ParserConfigurationException | on error |
org.xml.sax.SAXException | on error |
◆ FindDatasetsName()
String iTextSharp.text.pdf.XfaForm.FindDatasetsName |
( |
String |
name | ) |
|
Finds the complete SOM name contained in the datasets section from a possibly partial name.
- Parameters
-
name | the complete or partial name |
- Returns
- the complete name or
null
if not found
◆ FindDatasetsNode()
XmlNode iTextSharp.text.pdf.XfaForm.FindDatasetsNode |
( |
String |
name | ) |
|
Finds the Node
contained in the datasets section from a possibly partial name.
- Parameters
-
name | the complete or partial name |
- Returns
- the
Node
or null
if not found
◆ FindFieldName()
String iTextSharp.text.pdf.XfaForm.FindFieldName |
( |
String |
name, |
|
|
AcroFields |
af |
|
) |
| |
Finds the complete field name contained in the "classic" forms from a partial name.
- Parameters
-
name | the complete or partial name |
af | the fields |
- Returns
- the complete name or
null
if not found
◆ GetNodeText()
static String iTextSharp.text.pdf.XfaForm.GetNodeText |
( |
XmlNode |
n | ) |
|
|
static |
Gets all the text contained in the child nodes of this node.
- Parameters
-
- Returns
- the text found or "" if no text was found
◆ GetXfaObject()
Return the XFA Object, could be an array, could be a Stream. Returns null f no XFA Object is present.
- Parameters
-
- Returns
- the XFA object
- Since
- 2.1.3
◆ SerializeDoc()
static byte [] iTextSharp.text.pdf.XfaForm.SerializeDoc |
( |
XmlNode |
n | ) |
|
|
static |
Serializes a XML document to a byte array.
- Parameters
-
- Exceptions
-
java.io.IOException | on error |
- Returns
- the serialized XML document
◆ SetNodeText()
void iTextSharp.text.pdf.XfaForm.SetNodeText |
( |
XmlNode |
n, |
|
|
String |
text |
|
) |
| |
Sets the text of this node. All the child's node are deleted and a new child text node is created.
- Parameters
-
n | the Node to add the text to |
text | the text to add |
◆ SetXfa() [1/2]
void iTextSharp.text.pdf.XfaForm.SetXfa |
( |
PdfWriter |
writer | ) |
|
Sets the XFA key from the instance data. The old XFA is erased.
- Parameters
-
- Exceptions
-
java.io.IOException | on error |
◆ SetXfa() [2/2]
Sets the XFA key from a byte array. The old XFA is erased.
- Parameters
-
form | the data |
reader | the reader |
writer | the writer |
- Exceptions
-
java.io.IOException | on error |
◆ XFA_DATA_SCHEMA
const String iTextSharp.text.pdf.XfaForm.XFA_DATA_SCHEMA = "http://www.xfa.org/schema/xfa-data/1.0/" |
|
static |
◆ AcroFieldsSom
Gets the class that contains the "classic" fields processing.
- Returns
- the class that contains the "classic" fields processing
◆ Changed
bool iTextSharp.text.pdf.XfaForm.Changed |
|
getset |
Checks if this XFA form was changed.
- Returns
true
if this XFA form was changed
◆ DatasetsNode
XmlNode iTextSharp.text.pdf.XfaForm.DatasetsNode |
|
get |
Gets the Node
that corresponds to the datasets part.
- Returns
- the
Node
that corresponds to the datasets part
◆ DatasetsSom
Gets the class that contains the datasets processing section of the XFA.
- Returns
- the class that contains the datasets processing section of the XFA
◆ DomDocument
XmlDocument iTextSharp.text.pdf.XfaForm.DomDocument |
|
getset |
Gets the top level DOM document.
- Returns
- the top level DOM document
◆ Reader
Sets the PdfReader
to be used by this instance.
- Parameters
-
reader | the PdfReader to be used by this instance |
◆ TemplateSom
Gets the class that contains the template processing section of the XFA.
- Returns
- the class that contains the template processing section of the XFA
◆ XfaPresent
bool iTextSharp.text.pdf.XfaForm.XfaPresent |
|
getset |
Returns true
if it is a XFA form.
- Returns
true
if it is a XFA form
The documentation for this class was generated from the following file: