Package io.keikai.api.model
Interface Sheet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BookgetBook()List<Chart>getCharts()intgetColumnFreeze()Get number of column freeze of this sheet, 0 means no column freezeintgetColumnWidth(int column)get column width in pixelintgetFirstColumn(int row)Get the first column of row which contains dataintgetFirstRow()get the first row which contains data of this sheetSSheetgetInternalSheet()get the internal model object to do advanced operation
Note : operate on internal object will not automatically update SpreadsheetintgetLastColumn(int row)Get the last column of row which contains dataintgetLastRow()get the last row which contains data of this sheetList<Picture>getPictures()intgetRowFreeze()Get number of row freeze of this sheet, 0 means no row freezeintgetRowHeight(int row)get row height in pixelStringgetSheetName()booleanisAutoFilterEnabled()booleanisColumnHidden(int column)booleanisDisplayGridlines()booleanisHidden()Returns whether this sheet is hidden.booleanisPrintGridlines()booleanisProtected()booleanisRowHidden(int row)booleanisSummaryBelow()Returns whether to display summary below or above for rows.booleanisSummaryRight()Returns whether to display summary right or left for columns.booleanisVeryHidden()Returns whether this sheet is very hidden.
-
-
-
Method Detail
-
getInternalSheet
SSheet getInternalSheet()
get the internal model object to do advanced operation
Note : operate on internal object will not automatically update Spreadsheet- Returns:
-
getBook
Book getBook()
-
isProtected
boolean isProtected()
-
isAutoFilterEnabled
boolean isAutoFilterEnabled()
-
isDisplayGridlines
boolean isDisplayGridlines()
-
isRowHidden
boolean isRowHidden(int row)
-
isColumnHidden
boolean isColumnHidden(int column)
-
getSheetName
String getSheetName()
-
getRowFreeze
int getRowFreeze()
Get number of row freeze of this sheet, 0 means no row freeze- Returns:
-
getColumnFreeze
int getColumnFreeze()
Get number of column freeze of this sheet, 0 means no column freeze- Returns:
-
isPrintGridlines
boolean isPrintGridlines()
-
getRowHeight
int getRowHeight(int row)
get row height in pixel- Parameters:
row-- Returns:
- row height in pixel
-
getColumnWidth
int getColumnWidth(int column)
get column width in pixel- Parameters:
column-- Returns:
- column width in pixel
-
getFirstRow
int getFirstRow()
get the first row which contains data of this sheet- Returns:
-
getLastRow
int getLastRow()
get the last row which contains data of this sheet- Returns:
-
getFirstColumn
int getFirstColumn(int row)
Get the first column of row which contains data- Parameters:
row-- Returns:
- -1 if not such column or no no such row
-
getLastColumn
int getLastColumn(int row)
Get the last column of row which contains data- Parameters:
row-- Returns:
- -1 if not such column or no no such row
-
isHidden
boolean isHidden()
Returns whether this sheet is hidden.- Since:
- 3.7.0
-
isVeryHidden
boolean isVeryHidden()
Returns whether this sheet is very hidden.- Since:
- 3.7.0
-
isSummaryBelow
boolean isSummaryBelow()
Returns whether to display summary below or above for rows.- Returns:
- true to display summary below, unless display summary above.
- Since:
- 6.0.0
-
isSummaryRight
boolean isSummaryRight()
Returns whether to display summary right or left for columns.- Returns:
- true to display summary right, unless display summary left.
- Since:
- 6.0.0
-
-