com.aspose.cells.OoxmlSaveOptions.html Maven / Gradle / Ivy
OoxmlSaveOptions
com.aspose.cells
Class OoxmlSaveOptions
java.lang.Object
SaveOptions
com.aspose.cells.OoxmlSaveOptions
public class OoxmlSaveOptions
- extends SaveOptions
Constructor Summary |
---|
OoxmlSaveOptions()
Creates the options for saving office open xml file. |
OoxmlSaveOptions(int saveFormat)
Creates the options for saving office open xml file. |
Property Getters/Setters Summary | ||
---|---|---|
java.lang.String | getCachedFileFolder() | → inherited from SaveOptions
|
void | setCachedFileFolder(java.lang.String) | |
The cached file folder is used to store some large data. | ||
boolean | getClearData() | → inherited from SaveOptions
|
void | setClearData(boolean) | |
Make the workbook empty after saving the file. | ||
int | getCompressionType() | |
void | setCompressionType(int) | |
Gets and sets the compression type for ooxml file. The value of the property is OoxmlCompressionType integer constant. | ||
boolean | getCreateDirectory() | → inherited from SaveOptions
|
void | setCreateDirectory(boolean) | |
If true and the directory does not exist, the directory will be automatically created before saving the file. | ||
boolean | getEmbedOoxmlAsOleObject() | |
void | setEmbedOoxmlAsOleObject(boolean) | |
Indicates whether embedding Ooxml files of OleObject as ole object. | ||
boolean | getEnableHTTPCompression() | → inherited from SaveOptions
|
void | setEnableHTTPCompression(boolean) | |
Indicates if http compression is to be used in user's IIS. | ||
boolean | getEnableZip64() | |
void | setEnableZip64(boolean) | |
Always use ZIP64 extensions when writing zip archives, even when unnecessary. | ||
boolean | getExportCellName() | |
void | setExportCellName(boolean) | |
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. | ||
LightCellsDataProvider | getLightCellsDataProvider() | |
void | setLightCellsDataProvider(LightCellsDataProvider) | |
The Data provider to provide cells data for saving workbook in light mode. | ||
boolean | getMergeAreas() | → inherited from SaveOptions
|
void | setMergeAreas(boolean) | |
Indicates whether merge the areas of conditional formatting and validation before saving the file. | ||
java.lang.String | getPdfExportImagesFolder() | → inherited from SaveOptions
|
void | setPdfExportImagesFolder(java.lang.String) | |
The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string. | ||
boolean | getRefreshChartCache() | → inherited from SaveOptions
|
void | setRefreshChartCache(boolean) | |
Indicates whether refreshing chart cache data | ||
int | getSaveFormat() | → inherited from SaveOptions
|
Gets the save file format. The value of the property is SaveFormat integer constant. | ||
boolean | getSortExternalNames() | → inherited from SaveOptions
|
void | setSortExternalNames(boolean) | |
Indicates whether sorting external defined names before saving file. | ||
boolean | getSortNames() | → inherited from SaveOptions
|
void | setSortNames(boolean) | |
Indicates whether sorting defined names before saving file. | ||
boolean | getUpdateSmartArt() | → inherited from SaveOptions
|
void | setUpdateSmartArt(boolean) | |
Indicates whether updating smart art setting. The default value is false. | ||
boolean | getUpdateZoom() | |
void | setUpdateZoom(boolean) | |
Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled. | ||
boolean | getValidateMergedAreas() | → inherited from SaveOptions
|
void | setValidateMergedAreas(boolean) | |
Indicates whether validate merged cells before saving the file. | ||
IWarningCallback | getWarningCallback() | → inherited from SaveOptions
|
void | setWarningCallback(IWarningCallback) | |
Gets or sets warning callback. |
Constructor Detail |
---|
OoxmlSaveOptions
public OoxmlSaveOptions()
Creates the options for saving office open xml file.
OoxmlSaveOptions
public OoxmlSaveOptions(int saveFormat)
Creates the options for saving office open xml file. - Parameters:
saveFormat
- ASaveFormat value. The file format. It must be xlsx,xltx,xlsm,xltm.
Property Getters/Setters Detail |
---|
getExportCellName/setExportCellName | |
public boolean getExportCellName() / public void setExportCellName(boolean 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.
getLightCellsDataProvider/setLightCellsDataProvider | |
public LightCellsDataProvider getLightCellsDataProvider() / public void setLightCellsDataProvider(LightCellsDataProvider value) |
The Data provider to provide cells data for saving workbook in light mode.
getUpdateZoom/setUpdateZoom | |
public boolean getUpdateZoom() / public void setUpdateZoom(boolean value) |
Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled. The default value is false for performance.
getEnableZip64/setEnableZip64 | |
public boolean getEnableZip64() / public void setEnableZip64(boolean value) |
Always use ZIP64 extensions when writing zip archives, even when unnecessary.
getEmbedOoxmlAsOleObject/setEmbedOoxmlAsOleObject | |
public boolean getEmbedOoxmlAsOleObject() / public void setEmbedOoxmlAsOleObject(boolean value) |
Indicates whether embedding Ooxml files of OleObject as ole object. Only for OleObject.
getCompressionType/setCompressionType | |
public int getCompressionType() / public void setCompressionType(int value) |
Gets and sets the compression type for ooxml file. The value of the property is OoxmlCompressionType integer constant. The default value is OoxmlCompressionType.Level2.
getSaveFormat | → inherited from SaveOptions
|
public int getSaveFormat() |
Gets the save file format. The value of the property is SaveFormat integer constant.
getClearData/setClearData | → inherited from SaveOptions
|
public boolean getClearData() / public void setClearData(boolean value) |
Make the workbook empty after saving the file.
getCachedFileFolder/setCachedFileFolder | → inherited from SaveOptions
|
public java.lang.String getCachedFileFolder() / public void setCachedFileFolder(java.lang.String value) |
The cached file folder is used to store some large data.
getValidateMergedAreas/setValidateMergedAreas | → inherited from SaveOptions
|
public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value) |
Indicates whether validate merged cells before saving the file. The default value is false.
getMergeAreas/setMergeAreas | → inherited from SaveOptions
|
public boolean getMergeAreas() / public void setMergeAreas(boolean value) |
Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.
getCreateDirectory/setCreateDirectory | → inherited from SaveOptions
|
public boolean getCreateDirectory() / public void setCreateDirectory(boolean value) |
If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.
getSortNames/setSortNames | → inherited from SaveOptions
|
public boolean getSortNames() / public void setSortNames(boolean value) |
Indicates whether sorting defined names before saving file.
getSortExternalNames/setSortExternalNames | → inherited from SaveOptions
|
public boolean getSortExternalNames() / public void setSortExternalNames(boolean value) |
Indicates whether sorting external defined names before saving file.
getRefreshChartCache/setRefreshChartCache | → inherited from SaveOptions
|
public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value) |
Indicates whether refreshing chart cache data
getPdfExportImagesFolder/setPdfExportImagesFolder | → inherited from SaveOptions
|
public java.lang.String getPdfExportImagesFolder() / public void setPdfExportImagesFolder(java.lang.String value) |
The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string.
getEnableHTTPCompression/setEnableHTTPCompression | → inherited from SaveOptions
|
public boolean getEnableHTTPCompression() / public void setEnableHTTPCompression(boolean value) |
Indicates if http compression is to be used in user's IIS. Please specify this property to true if http compression is used.
getWarningCallback/setWarningCallback | → inherited from SaveOptions
|
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value) |
Gets or sets warning callback.
getUpdateSmartArt/setUpdateSmartArt | → inherited from SaveOptions
|
public boolean getUpdateSmartArt() / public void setUpdateSmartArt(boolean value) |
Indicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.