Package io.keikai.api.model
Interface Sheet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Book
getBook()
List<Chart>
getCharts()
int
getColumnFreeze()
Get number of column freeze of this sheet, 0 means no column freezeint
getColumnWidth(int column)
get column width in pixelint
getFirstColumn(int row)
Get the first column of row which contains dataint
getFirstRow()
get the first row which contains data of this sheetSSheet
getInternalSheet()
get the internal model object to do advanced operation
Note : operate on internal object will not automatically update Spreadsheetint
getLastColumn(int row)
Get the last column of row which contains dataint
getLastRow()
get the last row which contains data of this sheetList<Picture>
getPictures()
int
getRowFreeze()
Get number of row freeze of this sheet, 0 means no row freezeint
getRowHeight(int row)
get row height in pixelString
getSheetName()
boolean
isAutoFilterEnabled()
boolean
isColumnHidden(int column)
boolean
isDisplayGridlines()
boolean
isHidden()
Returns whether this sheet is hidden.boolean
isPrintGridlines()
boolean
isProtected()
boolean
isRowHidden(int row)
boolean
isSummaryBelow()
Returns whether to display summary below or above for rows.boolean
isSummaryRight()
Returns whether to display summary right or left for columns.boolean
isVeryHidden()
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
-
-