public class SaveOptions
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCachedFileFolder()
The folder for temporary files that may be used as data cache.
|
boolean |
getCheckExcelRestriction()
Whether check restriction of excel file when user modify cells related objects.
|
boolean |
getClearData()
Make the workbook empty after saving the file.
|
boolean |
getCreateDirectory()
If true and the directory does not exist, the directory will be automatically created before saving the file.
|
boolean |
getEncryptDocumentProperties()
Indicates whether encrypt document properties when saving as .xls file.
|
boolean |
getMergeAreas()
Indicates whether merge the areas of conditional formatting and validation before saving the file.
|
boolean |
getRefreshChartCache()
Indicates whether refreshing chart cache data
|
int |
getSaveFormat()
Gets the save file format.
|
boolean |
getSortExternalNames()
Indicates whether sorting external defined names before saving file.
|
boolean |
getSortNames()
Indicates whether sorting defined names before saving file.
|
boolean |
getUpdateSmartArt()
Indicates whether updating smart art setting.
|
boolean |
getValidateMergedAreas()
Indicates whether validate merged cells before saving the file.
|
IWarningCallback |
getWarningCallback()
Gets warning callback.
|
void |
setCachedFileFolder(java.lang.String value)
The folder for temporary files that may be used as data cache.
|
void |
setCheckExcelRestriction(boolean value)
Whether check restriction of excel file when user modify cells related objects.
|
void |
setClearData(boolean value)
Make the workbook empty after saving the file.
|
void |
setCreateDirectory(boolean value)
If true and the directory does not exist, the directory will be automatically created before saving the file.
|
void |
setEncryptDocumentProperties(boolean value)
Indicates whether encrypt document properties when saving as .xls file.
|
void |
setMergeAreas(boolean value)
Indicates whether merge the areas of conditional formatting and validation before saving the file.
|
void |
setRefreshChartCache(boolean value)
Indicates whether refreshing chart cache data
|
void |
setSortExternalNames(boolean value)
Indicates whether sorting external defined names before saving file.
|
void |
setSortNames(boolean value)
Indicates whether sorting defined names before saving file.
|
void |
setUpdateSmartArt(boolean value)
Indicates whether updating smart art setting.
|
void |
setValidateMergedAreas(boolean value)
Indicates whether validate merged cells before saving the file.
|
void |
setWarningCallback(IWarningCallback value)
Sets warning callback.
|
public int getSaveFormat()
See SaveFormat.
public boolean getClearData()
public void setClearData(boolean value)
public java.lang.String getCachedFileFolder()
Remarks
If the folder has not been specified, the default value for it is void cREF637(){CellsHelper#getCacheFolder()}. If its default value is null or empty, or has been specified as null or empty, then no cache file will be used when saving the workbook.public void setCachedFileFolder(java.lang.String value)
Remarks
If the folder has not been specified, the default value for it is void cREF637(){CellsHelper#getCacheFolder()}. If its default value is null or empty, or has been specified as null or empty, then no cache file will be used when saving the workbook.public boolean getValidateMergedAreas()
Remarks
The default value is false.public void setValidateMergedAreas(boolean value)
Remarks
The default value is false.public boolean getMergeAreas()
Remarks
The default value is false.public void setMergeAreas(boolean value)
Remarks
The default value is false.public boolean getCreateDirectory()
Remarks
The default value is false.public void setCreateDirectory(boolean value)
Remarks
The default value is false.public boolean getSortNames()
public void setSortNames(boolean value)
public boolean getSortExternalNames()
public void setSortExternalNames(boolean value)
public boolean getRefreshChartCache()
public void setRefreshChartCache(boolean value)
public IWarningCallback getWarningCallback()
public void setWarningCallback(IWarningCallback value)
public boolean getCheckExcelRestriction()
public void setCheckExcelRestriction(boolean value)
public boolean getUpdateSmartArt()
Remarks
Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.public void setUpdateSmartArt(boolean value)
Remarks
Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.public boolean getEncryptDocumentProperties()
Remarks
Only for .xls,xlsx,xlsb and xlsm file.public void setEncryptDocumentProperties(boolean value)
Remarks
Only for .xls,xlsx,xlsb and xlsm file.See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.