Aspose::Cells::OoxmlSaveOptions class
Contents
[
Hide
]OoxmlSaveOptions class
Represents the options of saving office open xml file.
class OoxmlSaveOptions : public Aspose::Cells::SaveOptions
Methods
Method | Description |
---|---|
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. |
GetCompressionType() | Gets and sets the compression type for ooxml file. |
GetCreateDirectory() | If true and the directory does not exist, the directory will be automatically created before saving the file. |
GetEmbedOoxmlAsOleObject() | Indicates whether embedding Ooxml files of OleObject as ole object. |
GetEnableZip64() | Always use ZIP64 extensions when writing zip archives, even when unnecessary. |
GetEncryptDocumentProperties() | Indicates whether encrypt document properties when saving as .xls file. The default value is true. |
GetExportCellName() | Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file. If the output file may be accessed by SQL Server DTS, this value must be true. Setting the value to false will highly increase the performance and reduce the file size when creating large file. Default value is true. |
GetLightCellsDataProvider() | The data provider for saving workbook in light mode. |
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. |
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. |
GetUpdateZoom() | Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled. |
GetValidateMergedAreas() | Indicates whether validate merged cells before saving the file. |
GetWarningCallback() | Gets or sets warning callback. |
IsNull() const | Checks whether the implementation object is nullptr. |
OoxmlSaveOptions() | Creates the options for saving office open xml file. |
explicit OoxmlSaveOptions(SaveFormat saveFormat) | Creates the options for saving office open xml file. |
OoxmlSaveOptions(OoxmlSaveOptions_Impl* impl) | Constructs from an implementation object. |
OoxmlSaveOptions(const OoxmlSaveOptions& src) | Copy constructor. |
OoxmlSaveOptions(const SaveOptions& src) | Constructs from a parent object. |
explicit operator bool() const | operator bool() |
operator=(const OoxmlSaveOptions& 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. |
SetCompressionType(OoxmlCompressionType value) | Gets and sets the compression type for ooxml file. |
SetCreateDirectory(bool value) | If true and the directory does not exist, the directory will be automatically created before saving the file. |
SetEmbedOoxmlAsOleObject(bool value) | Indicates whether embedding Ooxml files of OleObject as ole object. |
SetEnableZip64(bool value) | Always use ZIP64 extensions when writing zip archives, even when unnecessary. |
SetEncryptDocumentProperties(bool value) | Indicates whether encrypt document properties when saving as .xls file. The default value is true. |
SetExportCellName(bool value) | Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file. If the output file may be accessed by SQL Server DTS, this value must be true. Setting the value to false will highly increase the performance and reduce the file size when creating large file. Default value is true. |
SetLightCellsDataProvider(LightCellsDataProvider* value) | The data provider for saving workbook in light mode. |
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. |
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. |
SetUpdateZoom(bool value) | Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled. |
SetValidateMergedAreas(bool value) | Indicates whether validate merged cells before saving the file. |
SetWarningCallback(IWarningCallback* value) | Gets or sets warning callback. |
~OoxmlSaveOptions() | Destructor. |
~SaveOptions() | Destructor. |
Fields
Field | Description |
---|---|
_impl | The implementation object. |
See Also
- Class SaveOptions
- Namespace Aspose::Cells
- Library Aspose.Cells for C++