Aspose::Cells::XmlSaveOptions class

XmlSaveOptions class

Represents the options of saving the workbook as an xml file.

class XmlSaveOptions : public Aspose::Cells::SaveOptions

Methods

MethodDescription
GetCachedFileFolder()The cached file folder is used to store some large data.
GetClearData()Make the workbook empty after saving the file.
GetCreateDirectory()If true and the directory does not exist, the directory will be automatically created before saving the file.
GetDataAsAttribute()Indicates whether exporting data as attributes of element.
GetExportArea()Gets or sets the exporting range.
GetHasHeaderRow()Indicates whether the range contains header row.
GetMergeAreas()Indicates whether merge the areas of conditional formatting and validation before saving the file.
GetRefreshChartCache()Indicates whether refreshing chart cache data.
GetSaveFormat()Gets the save file format.
GetSheetIndexes()Represents the indexes of exported sheets.
GetSheetNameAsElementName()Indicates whether exporting sheet’s name as the name of the element.
GetSortExternalNames()Indicates whether sorting external defined names before saving file.
GetSortNames()Indicates whether sorting defined names before saving file.
GetUpdateSmartArt()Indicates whether updating smart art setting. The default value is false.
GetValidateMergedAreas()Indicates whether validate merged cells before saving the file.
GetWarningCallback()Gets or sets warning callback.
GetXmlMapName()Indicates whether exporting xml map in the file.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const XmlSaveOptions& src)operator=
operator=(const SaveOptions& src)operator=
SaveOptions(SaveOptions_Impl* impl)Constructs from an implementation object.
SaveOptions(const SaveOptions& src)Copy constructor.
SetCachedFileFolder(const U16String& value)The cached file folder is used to store some large data.
SetCachedFileFolder(const char16_t* value)The cached file folder is used to store some large data.
SetClearData(bool value)Make the workbook empty after saving the file.
SetCreateDirectory(bool value)If true and the directory does not exist, the directory will be automatically created before saving the file.
SetDataAsAttribute(bool value)Indicates whether exporting data as attributes of element.
SetExportArea(const CellArea& value)Gets or sets the exporting range.
SetHasHeaderRow(bool value)Indicates whether the range contains header row.
SetMergeAreas(bool value)Indicates whether merge the areas of conditional formatting and validation before saving the file.
SetRefreshChartCache(bool value)Indicates whether refreshing chart cache data.
SetSheetIndexes(const Vector <int32_t>& value)Represents the indexes of exported sheets.
SetSheetNameAsElementName(bool value)Indicates whether exporting sheet’s name as the name of the element.
SetSortExternalNames(bool value)Indicates whether sorting external defined names before saving file.
SetSortNames(bool value)Indicates whether sorting defined names before saving file.
SetUpdateSmartArt(bool value)Indicates whether updating smart art setting. The default value is false.
SetValidateMergedAreas(bool value)Indicates whether validate merged cells before saving the file.
SetWarningCallback(IWarningCallback* value)Gets or sets warning callback.
SetXmlMapName(const U16String& value)Indicates whether exporting xml map in the file.
SetXmlMapName(const char16_t* value)Indicates whether exporting xml map in the file.
XmlSaveOptions()Creates options for saving xml file.
XmlSaveOptions(XmlSaveOptions_Impl* impl)Constructs from an implementation object.
XmlSaveOptions(const XmlSaveOptions& src)Copy constructor.
XmlSaveOptions(const SaveOptions& src)Constructs from a parent object.
~SaveOptions()Destructor.
~XmlSaveOptions()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also