Skip to main content
Skip table of contents

XfaForm (1)

XfaForm Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.XfaForm[[XfaForm]]
  end

Members

Properties

Public properties
TypeNameMethods
AcroFieldsSearchAcroFieldsSomget, set
boolChangedget, set
XmlNodeDatasetsNodeget
Xml2SomDatasetsDatasetsSomget, set
XmlDocumentDomDocumentget, set
PdfReaderReaderget, set
Xml2SomTemplateTemplateSomget, set
boolXfaPresentget, set

Methods

Public Static methods
ReturnsName
Dictionary<string, XmlNode>ExtractXFANodes(XmlDocument domDocument)
stringGetNodeText(XmlNode n)
PdfObjectGetXfaObject(PdfReader reader)
byte``[]SerializeDoc(XmlNode n)
voidSetXfa(XfaForm form, PdfReader reader, PdfWriter writer)
Public methods
ReturnsName
voidFillXfaForm(...)
stringFindDatasetsName(string name)
XmlNodeFindDatasetsNode(string name)
stringFindFieldName(string name, AcroFields af)
voidSetNodeText(XmlNode n, string text)
voidSetXfa(PdfWriter writer)

Details

Nested types

Classes
  • InverseStore
  • Stack2<T>
  • Xml2Som
  • Xml2SomDatasets
  • AcroFieldsSearch
  • Xml2SomTemplate

Constructors

XfaForm [1/2]

Source code

public XfaForm()
XfaForm [2/2]

Source code

public XfaForm(PdfReader reader)
Arguments
TypeNameDescription
PdfReaderreader

Methods

GetXfaObject

Source code

public static PdfObject GetXfaObject(PdfReader reader)
Arguments
TypeNameDescription
PdfReaderreader
ExtractXFANodes

Source code

public static Dictionary<string, XmlNode> ExtractXFANodes(XmlDocument domDocument)
Arguments
TypeNameDescription
XmlDocumentdomDocument
SetXfa [1/2]

Source code

public static void SetXfa(XfaForm form, PdfReader reader, PdfWriter writer)
Arguments
TypeNameDescription
XfaFormform
PdfReaderreader
PdfWriterwriter
SetXfa [2/2]

Source code

public virtual void SetXfa(PdfWriter writer)
Arguments
TypeNameDescription
PdfWriterwriter
SerializeDoc

Source code

public static byte SerializeDoc(XmlNode n)
Arguments
TypeNameDescription
XmlNoden
FindFieldName

Source code

public virtual string FindFieldName(string name, AcroFields af)
Arguments
TypeNameDescription
stringname
AcroFieldsaf
FindDatasetsName

Source code

public virtual string FindDatasetsName(string name)
Arguments
TypeNameDescription
stringname
FindDatasetsNode

Source code

public virtual XmlNode FindDatasetsNode(string name)
Arguments
TypeNameDescription
stringname
GetNodeText

Source code

public static string GetNodeText(XmlNode n)
Arguments
TypeNameDescription
XmlNoden
SetNodeText

Source code

public virtual void SetNodeText(XmlNode n, string text)
Arguments
TypeNameDescription
XmlNoden
stringtext
FillXfaForm [1/7]

Source code

public virtual void FillXfaForm(string file)
Arguments
TypeNameDescription
stringfile
FillXfaForm [2/7]

Source code

public virtual void FillXfaForm(Stream stream)
Arguments
TypeNameDescription
Streamstream
FillXfaForm [3/7]

Source code

public virtual void FillXfaForm(Stream stream, bool readOnly)
Arguments
TypeNameDescription
Streamstream
boolreadOnly
FillXfaForm [4/7]

Source code

public virtual void FillXfaForm(XmlReader reader)
Arguments
TypeNameDescription
XmlReaderreader
FillXfaForm [5/7]

Source code

public virtual void FillXfaForm(XmlReader reader, bool readOnly)
Arguments
TypeNameDescription
XmlReaderreader
boolreadOnly
FillXfaForm [6/7]

Source code

public virtual void FillXfaForm(XmlNode node)
Arguments
TypeNameDescription
XmlNodenode
FillXfaForm [7/7]

Source code

public virtual void FillXfaForm(XmlNode node, bool readOnly)
Arguments
TypeNameDescription
XmlNodenode
boolreadOnly

Properties

XfaPresent
public virtual bool XfaPresent { get; set; }
DomDocument
public virtual XmlDocument DomDocument { get; set; }
Reader
public virtual PdfReader Reader { get; set; }
Changed
public virtual bool Changed { get; set; }
TemplateSom
public virtual Xml2SomTemplate TemplateSom { get; set; }
DatasetsSom
public virtual Xml2SomDatasets DatasetsSom { get; set; }
AcroFieldsSom
public virtual AcroFieldsSearch AcroFieldsSom { get; set; }
DatasetsNode
public virtual XmlNode DatasetsNode { get; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.