org.apache.poi.xssf.usermodel
Class XSSFTableStyle
java.lang.Object
org.apache.poi.xssf.usermodel.XSSFTableStyle
- All Implemented Interfaces:
- TableStyle
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 Summary |
XSSFTableStyle(int index,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxfs dxfs,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableStyle tableStyle,
IndexedColorMap colorMap)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSSFTableStyle
public XSSFTableStyle(int index,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxfs dxfs,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableStyle tableStyle,
IndexedColorMap colorMap)
- Parameters:
index
- style definition index or built-in ordinal depending on usedxfs
- tableStyle
- colorMap
- indexed color map - default or custom- See Also:
TableStyle.getIndex()
getName
public java.lang.String getName()
- Specified by:
getName
in interface TableStyle
getIndex
public int getIndex()
- Specified by:
getIndex
in interface TableStyle
isBuiltin
public boolean isBuiltin()
- Always false for these, these are user defined styles
- Specified by:
isBuiltin
in interface TableStyle
getStyle
public DifferentialStyleProvider getStyle(TableStyleType type)
- Specified by:
getStyle
in interface TableStyle