Package org.apache.poi.xssf.usermodel
Class XSSFTableStyle
java.lang.Object
org.apache.poi.xssf.usermodel.XSSFTableStyle
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionXSSFTableStyle(int index, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxfs dxfs, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableStyle tableStyle, IndexedColorMap colorMap) -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()getName()getStyle(TableStyleType type) booleanAlways false for these, these are user defined styles
-
Constructor Details
-
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 usecolorMap- indexed color map - default or custom- See Also:
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceTableStyle
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceTableStyle
-
isBuiltin
public boolean isBuiltin()Always false for these, these are user defined styles- Specified by:
isBuiltinin interfaceTableStyle
-
getStyle
- Specified by:
getStylein interfaceTableStyle
-