public class XSSFTableStyle extends 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,
CTDxfs dxfs,
CTTableStyle tableStyle,
IndexedColorMap colorMap) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Some clients may care where in the table style list this definition came from, so we'll track it.
|
String |
getName() |
DifferentialStyleProvider |
getStyle(TableStyleType type) |
boolean |
isBuiltin()
Always false for these, these are user defined styles
|
public XSSFTableStyle(int index,
CTDxfs dxfs,
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 String getName()
getName in interface TableStylepublic int getIndex()
TableStylegetIndex in interface TableStylepublic boolean isBuiltin()
isBuiltin in interface TableStylepublic DifferentialStyleProvider getStyle(TableStyleType type)
getStyle in interface TableStyleCopyright © 2010 - 2020 Adobe. All Rights Reserved