com.aspose.cells
Class SaveOptions

java.lang.Object
    extended by com.aspose.cells.SaveOptions
Direct Known Subclasses:
DifSaveOptions, HtmlSaveOptions, ImageSaveOptions, OdsSaveOptions, OoxmlSaveOptions, PdfSaveOptions, SpreadsheetML2003SaveOptions, TxtSaveOptions, XlsbSaveOptions, XlsSaveOptions, XpsSaveOptions

public class SaveOptions 
extends java.lang.Object

Represents all save options

Property Getters/Setters Summary
java.lang.StringgetCachedFileFolder()
voidsetCachedFileFolder(java.lang.String value)
           The cached file folder is used to store some large data.
booleangetClearData()
voidsetClearData(boolean value)
           Make the workbook empty after saving the file.
booleangetCreateDirectory()
voidsetCreateDirectory(boolean value)
           If true and the directory does not exist, the directory will be automatically created before saving the file.
booleangetEnableHTTPCompression()
voidsetEnableHTTPCompression(boolean value)
           Indicates if http compression is to be used in user's IIS.
booleangetMergeAreas()
voidsetMergeAreas(boolean value)
           Indicates whether merge the areas of conditional formatting and validation before saving the file.
java.lang.StringgetPdfExportImagesFolder()
voidsetPdfExportImagesFolder(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.
booleangetRefreshChartCache()
voidsetRefreshChartCache(boolean value)
           Indicates whether refreshing chart cache data
intgetSaveFormat()
           Gets the save file format. The value of the property is SaveFormat integer constant.
booleangetSortNames()
voidsetSortNames(boolean value)
           Indicates whether sorting defined names before saving file.
booleangetValidateMergedAreas()
voidsetValidateMergedAreas(boolean value)
           Indicates whether validate merged cells before saving the file.
IWarningCallbackgetWarningCallback()
voidsetWarningCallback(IWarningCallback value)
           Gets or sets warning callback.
 

Property Getters/Setters Detail

getSaveFormat

public int getSaveFormat()
Gets the save file format. The value of the property is SaveFormat integer constant.

getClearData/setClearData

public boolean getClearData() / public void setClearData(boolean value)
Make the workbook empty after saving the file.

getCachedFileFolder/setCachedFileFolder

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

public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value)
Indicates whether validate merged cells before saving the file. The default value is false.

getMergeAreas/setMergeAreas

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

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

public boolean getSortNames() / public void setSortNames(boolean value)
Indicates whether sorting defined names before saving file.

getRefreshChartCache/setRefreshChartCache

public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value)
Indicates whether refreshing chart cache data

getPdfExportImagesFolder/setPdfExportImagesFolder

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

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

public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)
Gets or sets warning callback.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.