public interface Table
Modifier and Type | Field and Description |
---|---|
static Pattern |
isStructuredReference
Regular expression matching a Structured Reference (Table syntax) for XSSF table expressions.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
contains(Cell cell)
checks if the given cell is part of the table.
|
boolean |
contains(CellReference cell)
checks if the given cell is part of the table.
|
int |
findColumnIndex(String columnHeader)
Returns the index of a given named column in the table (names are case insensitive in XSSF).
|
int |
getEndColIndex()
Get the bottom-right column index on the sheet
|
int |
getEndRowIndex()
Get the bottom-right row index
|
int |
getHeaderRowCount() |
String |
getName()
Get the name of the table.
|
String |
getSheetName()
Returns the sheet name that the table belongs to.
|
int |
getStartColIndex()
Get the top-left column index relative to the sheet
|
int |
getStartRowIndex()
Get the top-left row index on the sheet
|
TableStyleInfo |
getStyle() |
String |
getStyleName() |
int |
getTotalsRowCount() |
boolean |
isHasTotalsRow()
Note: This is misleading.
|
static final Pattern isStructuredReference
int getStartColIndex()
int getStartRowIndex()
int getEndColIndex()
int getEndRowIndex()
String getName()
String getStyleName()
int findColumnIndex(String columnHeader)
XSSFTable.updateHeaders()
is called to reset the cache.columnHeader
- the column header name to get the table column index ofcolumnHeader
String getSheetName()
boolean isHasTotalsRow()
getTotalsRowCount()
> 0 to decide whether or not the totals row is visible.getTotalsRowCount()
int getTotalsRowCount()
int getHeaderRowCount()
TableStyleInfo getStyle()
default boolean contains(Cell cell)
cell
- (prefered, faster execution and handles undefined cells)
boolean contains(CellReference cell)
cell
- reference to a possibly undefined cell locationCopyright © 2010 - 2020 Adobe. All Rights Reserved