Package io.keikai.model
Interface STable
-
- All Superinterfaces:
Table
- All Known Implementing Classes:
AbstractTableAdv
,TableImpl
,TableImpl.DummyTable
public interface STable extends Table
Table- Since:
- 3.8.0
- Author:
- henri
-
-
Field Summary
-
Fields inherited from interface org.apache.poi.ss.usermodel.Table
isStructuredReference
-
-
Method Summary
-
Methods inherited from interface org.apache.poi.ss.usermodel.Table
contains, contains, findColumnIndex, getEndColIndex, getEndRowIndex, getSheetName, getStartColIndex, getStartRowIndex, getStyle, getStyleName, isHasTotalsRow
-
-
-
-
Method Detail
-
getBook
SBook getBook()
-
getAutoFilter
SAutoFilter getAutoFilter()
Gets the auto filter information if there is.- Returns:
- the auto filter, or null if not found
-
enableAutoFilter
void enableAutoFilter(boolean enable)
-
createAutoFilter
SAutoFilter createAutoFilter()
Creates a new auto filter for this table the old one will be drop directly.- Returns:
- the new auto filter.
-
deleteAutoFilter
void deleteAutoFilter()
Delete current autofilter if it has
-
addColumn
void addColumn(STableColumn column)
-
getColumns
List<STableColumn> getColumns()
-
getColumnAt
STableColumn getColumnAt(int colIdx)
-
getTableStyleInfo
STableStyleInfo getTableStyleInfo()
-
getTotalsRowCount
int getTotalsRowCount()
- Specified by:
getTotalsRowCount
in interfaceTable
- Returns:
- 0 for no totals rows, 1 for totals row shown. Values > 1 are not currently used by Excel up through 2016, and the OOXML spec doesn't define how they would be implemented.
-
setTotalsRowCount
void setTotalsRowCount(int count)
-
getHeaderRowCount
int getHeaderRowCount()
- Specified by:
getHeaderRowCount
in interfaceTable
- Returns:
- 0 for no header rows, 1 for table headers shown. Values > 1 might be used by Excel for pivot tables?
-
setHeaderRowCount
void setHeaderRowCount(int count)
-
setName
void setName(String name)
-
getDisplayName
String getDisplayName()
-
setDisplayName
void setDisplayName(String name)
-
getAllRegion
SheetRegion getAllRegion()
-
getDataRegion
SheetRegion getDataRegion()
-
getColumnsRegion
SheetRegion getColumnsRegion(String columnName1, String columnName2)
-
getHeadersRegion
SheetRegion getHeadersRegion()
-
getTotalsRegion
SheetRegion getTotalsRegion()
-
getThisRowRegion
SheetRegion getThisRowRegion(int rowIdx)
-
getItemRegion
SheetRegion getItemRegion(TablePtg.Item item, int rowIdx)
-
-