| Package | Description |
|---|---|
| org.zkoss.zss.model |
ZK Spreadsheet Internal Book Model classes.
|
| org.zkoss.zss.model.impl |
ZK Spreadsheet Internal Book Model Implementation classes.
|
| org.zkoss.zss.model.util |
ZK Spreadsheet Internal Book Model Utilities classes.
|
| org.zkoss.zss.range |
ZK Spreadsheet Internal Range API classes.
|
| org.zkoss.zss.range.impl |
ZK Spreadsheet Internal Range API Implementation classes.
|
| org.zkoss.zss.range.impl.imexp |
ZK Spreadsheet Internal Range API Implementation classes.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SConditionalStyle
Extra embedded style for SConditonalFormatting.
|
interface |
SExtraStyle
Extra embedded style for STable and SConditonalFormatting.
|
interface |
SNamedStyle
Cell Style referred via a name.
|
interface |
STableStyleElem
Table style element.
|
| Modifier and Type | Method and Description |
|---|---|
SCellStyle |
SBook.createCellStyle(boolean inStyleTable)
Create a cell style
|
SCellStyle |
SBook.createCellStyle(SCellStyle src,
boolean inStyleTable)
Create a cell style and copy the style from the src style.
|
SCellStyle |
CellStyleHolder.getCellStyle()
Get the style, if it doesn't has local style, it will possible look up it's parent's style
|
SCellStyle |
CellStyleHolder.getCellStyle(boolean local)
Get the cell style locally or look up from the parent
|
SCellStyle |
SBook.getDefaultCellStyle()
Get the default style of this book
|
SCellStyle |
SBook.getDefaultCellStyle(int index)
Get the nth default style of this book
|
SCellStyle |
SBook.getOrCreateDefaultHyperlinkStyle()
Deprecated.
|
SCellStyle |
SBook.getOrCreateDefaultHyperlinkStyle(SCell cell)
Returns existing or create SCellStyle for hyperlink on the specified cell
|
SCellStyle |
SBook.searchCellStyle(CellStyleMatcher matcher)
Search the style table and return the first matched style.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<SCellStyle> |
SBook.getDefaultCellStyles()
Get all default cell styles.
|
| Modifier and Type | Method and Description |
|---|---|
int |
SBook.addDefaultCellStyle(SCellStyle cellStyle)
Add one more default cell style and return its index.
|
void |
SCellStyle.copyFrom(SCellStyle src) |
SCellStyle |
SBook.createCellStyle(SCellStyle src,
boolean inStyleTable)
Create a cell style and copy the style from the src style.
|
void |
CellStyleHolder.setCellStyle(SCellStyle cellStyle)
Set the local style
|
void |
SBook.setDefaultCellStyle(SCellStyle cellStyle)
Set the default style of this book
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCellStyleAdv |
class |
CellStyleImpl |
class |
ConditionalStyleImpl
Used to pass style and format for SConditionalFormattingRule.
|
class |
ExtraStyleImpl |
class |
NamedStyleImpl |
class |
TableStyleElemImpl |
| Modifier and Type | Field and Description |
|---|---|
static SCellStyle |
CellStyleImpl.BLANK_STYLE |
| Modifier and Type | Method and Description |
|---|---|
SCellStyle |
BookImpl.createCellStyle(boolean inStyleTable) |
SCellStyle |
BookImpl.createCellStyle(SCellStyle src,
boolean inStyleTable) |
SCellStyle |
ColumnArrayImpl.getCellStyle() |
SCellStyle |
RowImpl.getCellStyle() |
SCellStyle |
CellImpl.getCellStyle() |
SCellStyle |
ColumnArrayImpl.getCellStyle(boolean local) |
SCellStyle |
RowImpl.getCellStyle(boolean local) |
SCellStyle |
CellImpl.getCellStyle(boolean local) |
abstract SCellStyle |
AbstractTableAdv.getCellStyle(int row,
int col) |
SCellStyle |
TableImpl.getCellStyle(int row,
int col) |
SCellStyle |
BookImpl.getDefaultCellStyle() |
SCellStyle |
BookImpl.getDefaultCellStyle(int index) |
SCellStyle |
BookImpl.getOrCreateDefaultHyperlinkStyle() |
SCellStyle |
BookImpl.getOrCreateDefaultHyperlinkStyle(SCell cell) |
SCellStyle |
CellBuffer.getStyle() |
SCellStyle |
BookImpl.searchCellStyle(CellStyleMatcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
List<SCellStyle> |
BookImpl.getCellStyleTable() |
Collection<SCellStyle> |
BookImpl.getDefaultCellStyles() |
| Modifier and Type | Method and Description |
|---|---|
int |
BookImpl.addDefaultCellStyle(SCellStyle cellStyle) |
void |
NamedStyleImpl.copyFrom(SCellStyle src) |
void |
CellStyleImpl.copyFrom(SCellStyle src) |
SCellStyle |
BookImpl.createCellStyle(SCellStyle src,
boolean inStyleTable) |
void |
ColumnArrayImpl.setCellStyle(SCellStyle cellStyle) |
void |
RowImpl.setCellStyle(SCellStyle cellStyle) |
void |
CellImpl.setCellStyle(SCellStyle cellStyle) |
void |
BookImpl.setDefaultCellStyle(SCellStyle cellStyle) |
void |
CellBuffer.setStyle(SCellStyle style) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CellStyleMatcher.match(SCellStyle style) |
| Constructor and Description |
|---|
CellStyleMatcher(SCellStyle criteria)
Create a style matcher with an existing cell style as the criteria
|
| Modifier and Type | Method and Description |
|---|---|
SCellStyle |
SRange.getCellStyle()
Gets the first(top-left) cell's style
|
| Modifier and Type | Method and Description |
|---|---|
void |
SRange.setCellStyle(SCellStyle style)
Sets a Style object to this Range.
|
| Modifier and Type | Method and Description |
|---|---|
static SCellStyle |
StyleUtil.cloneCellStyle(SBook book,
SCellStyle style) |
static SCellStyle |
StyleUtil.cloneCellStyle(SCell cell) |
static SCellStyle |
StyleUtil.getBottomStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getBottomStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
SCellStyle |
RangeImpl.getCellStyle() |
static SCellStyle |
StyleUtil.getFillStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getFillStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
static SCellStyle |
StyleUtil.getLeftStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getLeftStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
static SCellStyle |
StyleUtil.getRightStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getRightStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
static SCellStyle |
StyleUtil.getTopStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getTopStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
static SCellStyle |
StyleUtil.prepareStyle(SCell srcCell) |
| Modifier and Type | Method and Description |
|---|---|
static SCellStyle |
StyleUtil.cloneCellStyle(SBook book,
SCellStyle style) |
static SCellStyle |
StyleUtil.getBottomStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getBottomStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
static SCellStyle |
StyleUtil.getFillStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getFillStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
static SFont |
StyleUtil.getFontStyle(SBook book,
SCellStyle cellStyle,
SCellStyle tbCellStyle)
Deprecated.
|
static SFont |
StyleUtil.getFontStyle(SBook book,
SCellStyle cellStyle,
SCellStyle tbCellStyle,
SConditionalStyle cdStyle) |
static SCellStyle |
StyleUtil.getLeftStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getLeftStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
static SCellStyle |
StyleUtil.getRightStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getRightStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
static SCellStyle |
StyleUtil.getTopStyle(SCellStyle cellStyle,
SCellStyle tbStyle)
Deprecated.
|
static SCellStyle |
StyleUtil.getTopStyle(SCellStyle cellStyle,
SCellStyle tbStyle,
SConditionalStyle cdStyle) |
void |
SetCellStyleHelper.setCellStyle(SCellStyle style) |
void |
RangeImpl.setCellStyle(SCellStyle style) |
static void |
StyleUtil.setNewCellStyle(CellStyleHolder holder,
SCellStyle cellStyle) |
void |
SetCellStyleHelper.setWholeColumnCellStyle(SCellStyle style) |
void |
SetCellStyleHelper.setWholeRowCellStyle(SCellStyle style) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.zkoss.poi.ss.usermodel.CellStyle,SCellStyle> |
AbstractExcelImporter.importedStyle
SCellStyle object> Keep track of imported
style during importing to avoid creating duplicated style objects. |
protected Map<SCellStyle,org.zkoss.poi.ss.usermodel.CellStyle> |
AbstractExcelExporter.styleTable
The map stores the exported
CellStyle during exporting, so that
we can reuse them for exporting other cells. |
| Modifier and Type | Method and Description |
|---|---|
protected SCellStyle |
AbstractExcelImporter.importCellStyle(org.zkoss.poi.ss.usermodel.CellStyle poiCellStyle)
Convert CellStyle into NCellStyle
|
protected SCellStyle |
AbstractExcelImporter.importCellStyle(org.zkoss.poi.ss.usermodel.CellStyle poiCellStyle,
boolean inStyleTable) |
| Modifier and Type | Method and Description |
|---|---|
protected org.zkoss.poi.ss.usermodel.CellStyle |
AbstractExcelExporter.toPOICellStyle(SCellStyle cellStyle) |
protected org.zkoss.poi.ss.usermodel.CellStyle |
AbstractExcelExporter.toPOIDefaultCellStyle(SCellStyle cellStyle) |
protected org.zkoss.poi.ss.usermodel.CellStyle |
ExcelXlsxExporter.toPOIDefaultCellStyle(SCellStyle cellStyle) |
Copyright © 2019. All rights reserved.