StylesheetSaveContext

StylesheetSaveContext

Overview

StylesheetSaveContext is a class in Aspose.Cells FOSS for C++.

Internal context used during stylesheet saving to hold the built stylesheet document together with style index maps and format counts.

This class provides 6 methods for working with StylesheetSaveContext objects in C++ programs. Available methods include: GetDifferentialFormatCount, GetDifferentialStyleIndex, GetDocument, GetHasStyles, GetStyleIndex, XmlDocument. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package. Accessor methods: XmlDocument.

Accessor Methods

NameTypeAccessDescription
XmlDocumentXmlDocumentReadGets the xml document.

Methods

SignatureDescription
XmlDocument()XmlDocumentGets the built stylesheet XML document.
GetDocument()XmlDocumentGets the built stylesheet XML document.
GetDifferentialFormatCount()intGets the differential format count.
GetHasStyles()boolGets a value indicating whether the workbook has any non-default styles.
GetStyleIndex(record: Core::CellRecord)intGets the cell format index for the given cell record. Returns 0 if the style is not found.
GetDifferentialStyleIndex(condition: Core::FormatConditionModel)std::optional<int>Gets the differential style index for the given format condition. Returns nullopt if the style is default or not found.

See Also

 English