iText 5

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

Type

Name

Methods

AcroFieldsSearch

AcroFieldsSom

get, set

bool

Changed

get, set

XmlNode

DatasetsNode

get

Xml2SomDatasets

DatasetsSom

get, set

XmlDocument

DomDocument

get, set

PdfReader

Reader

get, set

Xml2SomTemplate

TemplateSom

get, set

bool

XfaPresent

get, set

Methods

Public Static methods

Returns

Name

Dictionary<string, XmlNode>

ExtractXFANodes

(XmlDocument domDocument)

string

GetNodeText

(XmlNode n)

PdfObject

GetXfaObject

(

PdfReader

reader)

byte``[]

SerializeDoc

(XmlNode n)

void

SetXfa

(

XfaForm

form,

PdfReader

reader,

PdfWriter

writer)

Public methods

Returns

Name

void

FillXfaForm

(...)

string

FindDatasetsName

(string name)

XmlNode

FindDatasetsNode

(string name)

string

FindFieldName

(string name,

AcroFields

af)

void

SetNodeText

(XmlNode n, string text)

void

SetXfa

(

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

Type

Name

Description

PdfReader

reader

Methods

GetXfaObject

Source code

public static PdfObject GetXfaObject(PdfReader reader)

Arguments

Type

Name

Description

PdfReader

reader

ExtractXFANodes

Source code

public static Dictionary<string, XmlNode> ExtractXFANodes(XmlDocument domDocument)

Arguments

Type

Name

Description

XmlDocument

domDocument

SetXfa [1/2]

Source code

public static void SetXfa(XfaForm form, PdfReader reader, PdfWriter writer)

Arguments

Type

Name

Description

XfaForm

form

PdfReader

reader

PdfWriter

writer

SetXfa [2/2]

Source code

public virtual void SetXfa(PdfWriter writer)

Arguments

Type

Name

Description

PdfWriter

writer

SerializeDoc

Source code

public static byte SerializeDoc(XmlNode n)

Arguments

Type

Name

Description

XmlNode

n

FindFieldName

Source code

public virtual string FindFieldName(string name, AcroFields af)

Arguments

Type

Name

Description

string

name

AcroFields

af

FindDatasetsName

Source code

public virtual string FindDatasetsName(string name)

Arguments

Type

Name

Description

string

name

FindDatasetsNode

Source code

public virtual XmlNode FindDatasetsNode(string name)

Arguments

Type

Name

Description

string

name

GetNodeText

Source code

public static string GetNodeText(XmlNode n)

Arguments

Type

Name

Description

XmlNode

n

SetNodeText

Source code

public virtual void SetNodeText(XmlNode n, string text)

Arguments

Type

Name

Description

XmlNode

n

string

text

FillXfaForm [1/7]

Source code

public virtual void FillXfaForm(string file)

Arguments

Type

Name

Description

string

file

FillXfaForm [2/7]

Source code

public virtual void FillXfaForm(Stream stream)

Arguments

Type

Name

Description

Stream

stream

FillXfaForm [3/7]

Source code

public virtual void FillXfaForm(Stream stream, bool readOnly)

Arguments

Type

Name

Description

Stream

stream

bool

readOnly

FillXfaForm [4/7]

Source code

public virtual void FillXfaForm(XmlReader reader)

Arguments

Type

Name

Description

XmlReader

reader

FillXfaForm [5/7]

Source code

public virtual void FillXfaForm(XmlReader reader, bool readOnly)

Arguments

Type

Name

Description

XmlReader

reader

bool

readOnly

FillXfaForm [6/7]

Source code

public virtual void FillXfaForm(XmlNode node)

Arguments

Type

Name

Description

XmlNode

node

FillXfaForm [7/7]

Source code

public virtual void FillXfaForm(XmlNode node, bool readOnly)

Arguments

Type

Name

Description

XmlNode

node

bool

readOnly

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