PageTableAreaOptions

Inheritance: java.lang.Object, com.groupdocs.parser.options.PageAreaOptions

public class PageTableAreaOptions extends PageAreaOptions

Provides the options which are used for page table areas extraction.

Constructors

Constructor Description
PageTableAreaOptions(TemplateTableLayout tableLayout) Initializes a new instance of the PageTableAreaOptions class.
PageTableAreaOptions(Rectangle rectangle) Initializes a new instance of the PageTableAreaOptions class with a search rectangle and no fixed layout.

Methods

Method Description
getTableLayout() Gets the table layout which defines the table on a page.

PageTableAreaOptions(TemplateTableLayout tableLayout)

public PageTableAreaOptions(TemplateTableLayout tableLayout)

Initializes a new instance of the PageTableAreaOptions class.

Parameters:

Parameter Type Description
tableLayout TemplateTableLayout The table layout which defines the table on a page.

PageTableAreaOptions(Rectangle rectangle)

public PageTableAreaOptions(Rectangle rectangle)

Initializes a new instance of the PageTableAreaOptions class with a search rectangle and no fixed layout.

Useful for restricting auto-detected tables to a region of the page. Mirrors the C# new PageTableAreaOptions(null) { Rectangle = … } pattern.

Parameters:

Parameter Type Description
rectangle Rectangle The rectangular area on the page where tables should be detected; pass null to search the entire page.

getTableLayout()

public TemplateTableLayout getTableLayout()

Gets the table layout which defines the table on a page.

Returns: TemplateTableLayout - An instane of TemplateTableLayout class.