DocumentPageData

Inheritance: java.lang.Object, com.groupdocs.parser.data.DocumentData

public class DocumentPageData extends DocumentData

Represents data of the document page. It consists of FieldData objects which contain field data from the document page.

Constructors

Constructor Description
DocumentPageData(Iterable fields, int pageIndex) Initializes a new instance of the DocumentPageData class.
DocumentPageData(Template template, Iterable fields, int pageIndex) Initializes a new instance of the DocumentPageData class with the source template.

Methods

Method Description
getPageIndex() Gets the page index.

DocumentPageData(Iterable fields, int pageIndex)

public DocumentPageData(Iterable<FieldData> fields, int pageIndex)

Initializes a new instance of the DocumentPageData class.

Parameters:

Parameter Type Description
fields java.lang.Iterable<com.groupdocs.parser.data.FieldData> The collection of fields data.
pageIndex int The zero-based page index.

DocumentPageData(Template template, Iterable fields, int pageIndex)

public DocumentPageData(Template template, Iterable<FieldData> fields, int pageIndex)

Initializes a new instance of the DocumentPageData class with the source template.

Parameters:

Parameter Type Description
template Template The template that produced these fields. May be null .
fields java.lang.Iterable<com.groupdocs.parser.data.FieldData> The collection of fields data.
pageIndex int The zero-based page index.

getPageIndex()

public int getPageIndex()

Gets the page index.

Returns: int - A zero-based index of the page.