public interface Table
Modifier and Type | Field and Description |
---|---|
static java.util.regex.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(java.lang.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() |
java.lang.String |
getName()
Get the name of the table.
|
java.lang.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() |
java.lang.String |
getStyleName() |
int |
getTotalsRowCount() |
boolean |
isHasTotalsRow()
Note: This is misleading.
|
static final java.util.regex.Pattern isStructuredReference
int getStartColIndex()
int getStartRowIndex()
int getEndColIndex()
int getEndRowIndex()
java.lang.String getName()
java.lang.String getStyleName()
int findColumnIndex(java.lang.String columnHeader)
XSSFTable.updateHeaders()
is called to reset the cache.columnHeader
- the column header name to get the table column index ofcolumnHeader
java.lang.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 2020 The Apache Software Foundation or its licensors, as applicable.