public class SheetImpl extends Object implements Sheet, Serializable
Constructor and Description |
---|
SheetImpl(ModelRef<SBook> book,
ModelRef<SSheet> sheet) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Book |
getBook() |
List<Chart> |
getCharts() |
int |
getColumnFreeze()
Get number of column freeze of this sheet, 0 means no column freeze
|
int |
getColumnWidth(int column)
get column width in pixel
|
int |
getFirstColumn(int row)
Get the first column of row which contains data
|
int |
getFirstRow()
get the first row which contains data of this sheet
|
SSheet |
getInternalSheet()
get the internal model object to do advanced operation
Note : operate on internal object will not automatically update Spreadsheet |
int |
getLastColumn(int row)
Get the last column of row which contains data
|
int |
getLastRow()
get the last row which contains data of this sheet
|
SSheet |
getNative() |
List<Picture> |
getPictures() |
ModelRef<SSheet> |
getRef() |
int |
getRowFreeze()
Get number of row freeze of this sheet, 0 means no row freeze
|
int |
getRowHeight(int row)
get row height in pixel
|
String |
getSheetName() |
Object |
getSync()
Deprecated.
|
int |
hashCode() |
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 |
isVeryHidden()
Returns whether this sheet is very hidden.
|
static SheetAnchor |
toSheetAnchor(SSheet sheet,
ViewAnchor anchor)
Utility method, internal use only
|
static ViewAnchor |
toViewAnchor(SSheet sheet,
SheetAnchor anchor)
Utility method, internal use only
|
public SSheet getNative()
public SSheet getInternalSheet()
Sheet
getInternalSheet
in interface Sheet
public boolean isProtected()
isProtected
in interface Sheet
public boolean isAutoFilterEnabled()
isAutoFilterEnabled
in interface Sheet
public boolean isDisplayGridlines()
isDisplayGridlines
in interface Sheet
public String getSheetName()
getSheetName
in interface Sheet
public boolean isRowHidden(int row)
isRowHidden
in interface Sheet
public boolean isColumnHidden(int column)
isColumnHidden
in interface Sheet
public List<Picture> getPictures()
getPictures
in interface Sheet
public int getRowFreeze()
Sheet
getRowFreeze
in interface Sheet
public int getColumnFreeze()
Sheet
getColumnFreeze
in interface Sheet
public boolean isPrintGridlines()
isPrintGridlines
in interface Sheet
public int getRowHeight(int row)
Sheet
getRowHeight
in interface Sheet
public int getColumnWidth(int column)
Sheet
getColumnWidth
in interface Sheet
@Deprecated public Object getSync()
Sheet
public static ViewAnchor toViewAnchor(SSheet sheet, SheetAnchor anchor)
public static SheetAnchor toSheetAnchor(SSheet sheet, ViewAnchor anchor)
public int getFirstRow()
Sheet
getFirstRow
in interface Sheet
public int getLastRow()
Sheet
getLastRow
in interface Sheet
public int getFirstColumn(int row)
Sheet
getFirstColumn
in interface Sheet
public int getLastColumn(int row)
Sheet
getLastColumn
in interface Sheet
public boolean isHidden()
Sheet
public boolean isVeryHidden()
Sheet
isVeryHidden
in interface Sheet
Copyright © 2020. All rights reserved.