XlsxWorkbookStylesXml

XlsxWorkbookStylesXml

Overview

XlsxWorkbookStylesXml 是一个类在Java的FOSS中.

提供阅读和写入XLSX工作簿风格 XML的方法.

这个类提供了8种方法,用于在Java程序中使用XlsxWorkbookStylesXml对象. 有的方法包括: buildStylesheetDocument, getDocumentBytes, parseHorizontalAlignment, parseVerticalAlignment, readBordersValues, readDifferentialStyleValues, readFillValues, readFontValues. 所有导出成员都可访问任何Java应用程序,在安装了Aspose.Cells FOSS for Java包后.

Description

XlsxWorkbookStylesXml 是Java的Aspose.Cells FOSS库中的一个类,它显示了8个方法和0个属性用于编程.

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>)Document从提供的风格值创建一个样式表文档.
readFontValues(root: Element)List<FontValue>从样式表XML中读取字体值.
readFillValues(root: Element)List<FillValue>读取样式表XML中的填写值.
readBordersValues(root: Element)List<BordersValue>从样式表XML中读取边界值.
readDifferentialStyleValues(root: Element)List<StyleValue>从XML样式表中读取差异风格值.
parseHorizontalAlignment(value: String)HorizontalAlignment从字符串值分析水平对齐.
parseVerticalAlignment(value: String)VerticalAlignment从字符串值分析垂直对齐.
getDocumentBytes(doc: Document)byte[]将文档串行为字节数组.

See Also

 中文