Class StyleSheet
java.lang.Object
com.independentsoft.office.spreadsheet.styles.StyleSheet
The Class StyleSheet.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new style sheet.StyleSheet(byte[] buffer)Instantiates a new style sheet. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the cell borders.Gets the cell formats.Gets the cell styles.Gets the colors.Gets the stylesheet's future-feature extension list (extLst element).getFills()Gets the fills.getFonts()Gets the fonts.Gets the formats.Gets the master cell formats.Gets the number formats.Gets the table styles.voidSets the colors.voidsetExtensionList(ExtensionList extensionList)Sets the stylesheet's future-feature extension list (extLst element).voidsetTableStyles(TableStyles tableStyles)Sets the table styles.toString()
-
Constructor Details
-
StyleSheet
public StyleSheet()Instantiates a new style sheet. -
StyleSheet
Instantiates a new style sheet.- Parameters:
buffer- the buffer- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getCellBorders
Gets the cell borders.- Returns:
- the cell borders
-
getCellStyles
Gets the cell styles.- Returns:
- the cell styles
-
getMasterCellFormats
Gets the master cell formats.- Returns:
- the master cell formats
-
getCellFormats
Gets the cell formats.- Returns:
- the cell formats
-
getFonts
Gets the fonts.- Returns:
- the fonts
-
getFills
Gets the fills.- Returns:
- the fills
-
getNumberFormats
Gets the number formats.- Returns:
- the number formats
-
getFormats
Gets the formats.- Returns:
- the formats
-
getColors
Gets the colors.- Returns:
- the colors
-
setColors
Sets the colors.- Parameters:
colors- the new colors
-
getTableStyles
Gets the table styles.- Returns:
- the table styles
-
setTableStyles
Sets the table styles.- Parameters:
tableStyles- the new table styles
-
getExtensionList
Gets the stylesheet's future-feature extension list (extLst element).- Returns:
- the extension list
-
setExtensionList
Sets the stylesheet's future-feature extension list (extLst element).- Parameters:
extensionList- the new extension list
-