Package org.apache.poi.xssf.usermodel
Class XSSFTableStyle
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.XSSFTableStyle
-
- All Implemented Interfaces:
TableStyle
public class XSSFTableStyle extends Object implements TableStyle
TableStyleimplementation for styles defined in the OOXML styles.xml. Also used for built-in styles via dummy XML generated from presetTableStyles.xml.
-
-
Constructor Summary
Constructors Constructor Description XSSFTableStyle(int index, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxfs dxfs, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTTableStyle tableStyle, IndexedColorMap colorMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()StringgetName()DifferentialStyleProvidergetStyle(TableStyleType type)booleanisBuiltin()Always false for these, these are user defined styles
-
-
-
Constructor Detail
-
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:
TableStyle.getIndex()
-
-
Method Detail
-
getName
public String 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
public DifferentialStyleProvider getStyle(TableStyleType type)
- Specified by:
getStylein interfaceTableStyle
-
-