XlsxWorkbookStylesXml

XlsxWorkbookStylesXml

Overview

XlsxWorkbookStylesXml là một lớp trong Aspose.Cells FOSS cho C++.

Cung cấp phương pháp đọc/tự viết XML cho phần phong cách sổ làm việc.

Khóa học này cung cấp 14 phương pháp để làm việc với các đối tượng XlsxWorkbookStylesXml trong các chương trình C++. Các phương pháp có sẵn bao gồm: BuildBorderElements, BuildCellFormatElements, BuildDifferentialFormatElements, BuildFillElements, BuildFontElements, BuildStylesheetDocument, ParseHorizontalAlignment, ParseOptionalBoolAttribute, ParseVerticalAlignment, ReadBordersValues, ReadDifferentialStyleValues, ReadFillValues,Và 2 phương pháp bổ sung. Tất cả các thành viên công cộng đều có thể truy cập vào bất kỳ ứng dụng C++ nào sau khi cài đặt Aspose.Cells FOSS cho gói C ++.

Methods

SignatureDescription
XlsxWorkbookStylesXml()Hãy gọi XlsxWorkbookStylesXml trên trường hợp này XlsxWorkbookStylesXml.
BuildStylesheetDocument(fonts: std::vector<Core::FontValue>, fills: std::vector<FillValue>, borders: std::vector<Core::BordersValue>, normalCellFormat: CellFormatValue, cellFormats: std::vector<CellFormatValue>, customNumberFormats: std::vector<std::pair<int, std::string>>, differentialFormats: std::vector<Core::StyleValue>)XmlDocumentXây dựng tài liệu bảng tính XML từ các bộ sưu tập phong cách cụ thể.
ReadFontValues(root: XmlElement)std::vector<Core::FontValue>Đọc các giá trị chữ từ yếu tố gốc bảng phong cách.
ReadFillValues(root: XmlElement)std::vector<FillValue>Đọc đầy các giá trị từ yếu tố gốc của bảng phong cách.
ReadBordersValues(root: XmlElement)std::vector<Core::BordersValue>Đọc các giá trị biên giới từ yếu tố gốc bảng phong cách.
ReadDifferentialStyleValues(root: XmlElement)std::vector<Core::StyleValue>Đọc giá trị phong cách khác nhau từ yếu tố gốc bảng kiểu.
BuildFontElements(fonts: std::vector<Core::FontValue>)std::vector<XmlElement>Xây dựng các yếu tố XML cho giá trị phông cụ thể.
BuildFillElements(fills: std::vector<FillValue>)std::vector<XmlElement>Xây dựng các yếu tố XML cho giá trị đầy đủ nhất định.
BuildBorderElements(borders: std::vector<Core::BordersValue>)std::vector<XmlElement>Xây dựng các yếu tố XML cho giá trị biên giới nhất định.
BuildCellFormatElements(cellFormats: std::vector<CellFormatValue>)std::vector<XmlElement>Xây dựng các yếu tố XML cho giá trị định dạng ô cụ thể.
BuildDifferentialFormatElements(differentialFormats: std::vector<Core::StyleValue>)std::vector<XmlElement>Xây dựng các yếu tố XML cho giá trị định dạng phân biệt.
ParseHorizontalAlignment(value: std::string_view)Core::HorizontalAlignmentTùy chọn một dòng tên phù hợp ngang với giá trị enum tương ứng.
ParseVerticalAlignment(value: std::string_view)Core::VerticalAlignmentTích hợp một dòng tên phù hợp chiều hướng với giá trị enum tương ứng.
ParseOptionalBoolAttribute(attribute: XmlAttribute)std::optional<bool>Parse một thuộc tính boolean tùy chọn. Returns nullopt nếu thuộc về là zero.

See Also

 Tiếng Việt