public class XSSFTableStyle extends java.lang.Object implements TableStyle
TableStyle implementation for styles defined in the OOXML styles.xml.
Also used for built-in styles via dummy XML generated from presetTableStyles.xml.| Constructor and Description |
|---|
XSSFTableStyle(int index,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxfs dxfs,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableStyle tableStyle,
IndexedColorMap colorMap) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
java.lang.String |
getName() |
DifferentialStyleProvider |
getStyle(TableStyleType type) |
boolean |
isBuiltin()
Always false for these, these are user defined styles
|
public XSSFTableStyle(int index,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxfs dxfs,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableStyle tableStyle,
IndexedColorMap colorMap)
index - style definition index or built-in ordinal depending on usedxfs - tableStyle - colorMap - indexed color map - default or customTableStyle.getIndex()public java.lang.String getName()
getName in interface TableStylepublic int getIndex()
getIndex in interface TableStylepublic boolean isBuiltin()
isBuiltin in interface TableStylepublic DifferentialStyleProvider getStyle(TableStyleType type)
getStyle in interface TableStyle