XlsxWorkbookStylesXml

XlsxWorkbookStylesXml

Overview

XlsxWorkbookStylesXml is a class in Aspose.Cells FOSS for Java.

Provides methods for reading and writing XLSX workbook styles XML.

Methods

SignatureDescription
buildStylesheetDocument(fonts: List<FontValue>, fills: List<FillValue>, borders: List<BordersValue>, normalCellFormat: CellFormatValue, cellFormats: List<CellFormatValue>, customNumberFormats: List<java.util.Map.Entry<Integer, String>>, differentialFormats: List<StyleValue>)DocumentBuilds a stylesheet document from the provided style values.
readFontValues(root: Element)List<FontValue>Reads font values from the stylesheet XML.
readFillValues(root: Element)List<FillValue>Reads fill values from the stylesheet XML.
readBordersValues(root: Element)List<BordersValue>Reads border values from the stylesheet XML.
readDifferentialStyleValues(root: Element)List<StyleValue>Reads differential style values from the stylesheet XML.
parseHorizontalAlignment(value: String)HorizontalAlignmentParses horizontal alignment from a string value.
parseVerticalAlignment(value: String)VerticalAlignmentParses vertical alignment from a string value.
getDocumentBytes(doc: Document)byte[]Serializes the document to a byte array.