OoxmlSaveOptions class

OoxmlSaveOptions class

Represents the options of saving office open xml file.

Inheritance: OoxmlSaveOptionsSaveOptions

The OoxmlSaveOptions type exposes the following members:

Constructors

ConstructorDescription
initCreates the options for saving office open xml file.
initCreates the options for saving office open xml file.

Properties

PropertyDescription
save_formatGets the save file format.
clear_dataMake the workbook empty after saving the file.
cached_file_folderThe cached file folder is used to store some large data.
validate_merged_areasIndicates whether validate merged cells before saving the file.
merge_areasIndicates whether merge the areas of conditional formatting and validation before saving the file.
create_directoryIf true and the directory does not exist, the directory will be automatically created before saving the file.
sort_namesIndicates whether sorting defined names before saving file.
sort_external_namesIndicates whether sorting external defined names before saving file.
refresh_chart_cacheIndicates whether refreshing chart cache data
warning_callbackGets or sets warning callback.
update_smart_artIndicates whether updating smart art setting.
The default value is false.
export_cell_nameIndicates 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.
light_cells_data_providerThe data provider for saving workbook in light mode.
update_zoomIndicates whether update scaling factor before saving the file
if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled.
enable_zip64Always use ZIP64 extensions when writing zip archives, even when unnecessary.
embed_ooxml_as_ole_objectIndicates whether embedding Ooxml files of OleObject as ole object.
compression_typeGets and sets the compression type for ooxml file.

See Also