public class PageTableArea extends PageArea
PageTableArea class is used to organize inheritors of PageArea class in table structure.
| Constructor and Description |
|---|
PageTableArea(Iterable<Double> rows,
Iterable<Double> columns,
Iterable<PageTableAreaCell> cells,
Page page,
Rectangle rectangle)
Initializes a new instance of the
PageTableArea class. |
| Modifier and Type | Method and Description |
|---|---|
PageTableAreaCell |
getCell(int rowIndex,
int columnIndex)
Gets the table cell by row and column indexes.
|
Collection<PageTableAreaCell> |
getCells()
Gets the collection of cells.
|
int |
getColumnCount()
Gets the total number of the table colums.
|
double |
getColumnWidth(int columnIndex)
Returns the column width.
|
int |
getRowCount()
Gets the total number of the table rows.
|
double |
getRowHeight(int rowIndex)
Returns the row height.
|
getPage, getRectangle, setRectanglepublic PageTableArea(Iterable<Double> rows, Iterable<Double> columns, Iterable<PageTableAreaCell> cells, Page page, Rectangle rectangle)
PageTableArea class.
Note: the C# project marks this constructor as internal (commit 954951f). In Java, "internal-to-the-assembly"
does not translate cleanly to package-private because the producers (WordProcessingParser, TableAreaParser,
etc.) live in com.groupdocs.parser, not com.groupdocs.parser.data. The constructor is therefore kept
public so cross-package construction still works.
rows - The collection of row heights.columns - The collection of column widths.cells - The collection of cells.page - The page that contains the table.rectangle - The rectangular area that contains the table.public Collection<PageTableAreaCell> getCells()
public int getRowCount()
public int getColumnCount()
public double getRowHeight(int rowIndex)
rowIndex - The zero-based index of the row.public double getColumnWidth(int columnIndex)
columnIndex - The zero-based index of the column.public PageTableAreaCell getCell(int rowIndex, int columnIndex)
rowIndex - The zero-based index of the cell row.columnIndex - The zero-based index of the cell column.PageTableAreaCell class; null if no cell is found.Copyright © 2026. All rights reserved.