Aspose::Cells::OdsSaveOptions class

OdsSaveOptions class

Represents the options of saving ods file.

class OdsSaveOptions : public Aspose::Cells::SaveOptions

Methods

MethodDescription
GetCachedFileFolder()The cached file folder is used to store some large data.
GetCheckExcelRestriction()Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, it will be truncated.
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.
GetEncryptDocumentProperties()Indicates whether encrypt document properties when saving as .xls file. The default value is true.
GetGeneratorType()Gets and sets the generator of the ods file.
GetIgnorePivotTables()Indicates whether saving pivot tables.
GetMergeAreas()Indicates whether merge the areas of conditional formatting and validation before saving the file.
GetOdfStrictVersion()Gets and sets the ODF version.
GetRefreshChartCache()Indicates whether refreshing chart cache data.
GetSaveFormat()Gets the save file format.
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.
IsNull() constChecks whether the implementation object is nullptr.
IsStrictSchema11()(Deprecated) Indicates whether the ods file should be saved as ODF format version 1.1. Default is false.
OdsSaveOptions()Creates the options of saving ods file.
explicit OdsSaveOptions(SaveFormat saveFormat)Creates the options of saving ods file.
OdsSaveOptions(OdsSaveOptions_Impl* impl)Constructs from an implementation object.
OdsSaveOptions(const OdsSaveOptions& src)Copy constructor.
OdsSaveOptions(const SaveOptions& src)Constructs from a parent object.
explicit operator bool() constoperator bool()
operator=(const OdsSaveOptions& 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.
SetCheckExcelRestriction(bool value)Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, it will be truncated.
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.
SetEncryptDocumentProperties(bool value)Indicates whether encrypt document properties when saving as .xls file. The default value is true.
SetGeneratorType(OdsGeneratorType value)Gets and sets the generator of the ods file.
SetIgnorePivotTables(bool value)Indicates whether saving pivot tables.
SetIsStrictSchema11(bool value)(Deprecated) Indicates whether the ods file should be saved as ODF format version 1.1. Default is false.
SetMergeAreas(bool value)Indicates whether merge the areas of conditional formatting and validation before saving the file.
SetOdfStrictVersion(OpenDocumentFormatVersionType value)Gets and sets the ODF version.
SetRefreshChartCache(bool value)Indicates whether refreshing chart cache data.
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.
~OdsSaveOptions()Destructor.
~SaveOptions()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also