XlsxWorkbookStylesXml

XlsxWorkbookStylesXml

Vue de l’ensemble

‘XlsxWorkbookStylesXml’ est une classe dans Aspose.Cells FOSS pour C++.

Il fournit des méthodes de lecture/écriture XML pour la partie styles du livre de travail.

Cette classe fournit 14 méthodes pour travailler avec des objets XlsxWorkbookStylesXml dans les programmes C++. Les méthodologies disponibles comprennent: BuildBorderElements, BuildCellFormatElement',buildDifferentialFormateElments, buildFillEliments ', 'BuiltFontElEMENT' , ' BuiltStilesheetDocument,, ‘ParseHorizontalAlignment., 'ParseOptionalBoolAttribute; ’ ParseVerticalAlynament ; 'ReadBordersValues et 2 méthode supplémentaires. Tous les membres sont accessibles à l’application après avoir installé le package Aspose COSS++ .

méthodes

SignatureDescription
XlsxWorkbookStylesXml()Calls XlsxWorkbookStylesXml on this XlsxWorkbookStylesXml instance.
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>)XmlDocumentBuilds the stylesheet XML document from the given style collections.
ReadFontValues(root: XmlElement)std::vector<Core::FontValue>Reads font values from the stylesheet root element.
ReadFillValues(root: XmlElement)std::vector<FillValue>Reads fill values from the stylesheet root element.
ReadBordersValues(root: XmlElement)std::vector<Core::BordersValue>Reads borders values from the stylesheet root element.
ReadDifferentialStyleValues(root: XmlElement)std::vector<Core::StyleValue>Reads differential style values from the stylesheet root element.
BuildFontElements(fonts: std::vector<Core::FontValue>)std::vector<XmlElement>Builds XML elements for the given font values.
BuildFillElements(fills: std::vector<FillValue>)std::vector<XmlElement>Builds XML elements for the given fill values.
BuildBorderElements(borders: std::vector<Core::BordersValue>)std::vector<XmlElement>Builds XML elements for the given border values.
BuildCellFormatElements(cellFormats: std::vector<CellFormatValue>)std::vector<XmlElement>Builds XML elements for the given cell format values.
BuildDifferentialFormatElements(differentialFormats: std::vector<Core::StyleValue>)std::vector<XmlElement>Builds XML elements for the given differential format values.
ParseHorizontalAlignment(value: std::string_view)Core::HorizontalAlignmentParses a horizontal alignment name string to the corresponding enum value.
ParseVerticalAlignment(value: std::string_view)Core::VerticalAlignmentParses a vertical alignment name string to the corresponding enum value.
ParseOptionalBoolAttribute(attribute: XmlAttribute)std::optional<bool>Parses an optional boolean attribute. Returns nullopt if the attribute is null.

Voir aussi

  • Aspose.Cells — référence API d’entreprise
 Français