com.aspose.cells
Class XlsSaveOptions

java.lang.Object
  extended by SaveOptions
      extended by com.aspose.cells.XlsSaveOptions

public class XlsSaveOptions 
extends SaveOptions

Represents the save options for the Excel 97-2003 file format: xls and xlt.


Constructor Summary
XlsSaveOptions()
           Creates options for saving Excel 97-2003 xls/xlt file.
XlsSaveOptions(int format)
           Creates options for saving Excel 97-2003 xls/xlt file.
 
Property Getters/Setters Summary
java.lang.StringgetCachedFileFolder()→ inherited from SaveOptions
voidsetCachedFileFolder(java.lang.String)
           The cached file folder is used to store some large data.
booleangetClearData()→ inherited from SaveOptions
voidsetClearData(boolean)
           Make the workbook empty after saving the file.
booleangetCreateDirectory()→ inherited from SaveOptions
voidsetCreateDirectory(boolean)
           If true and the directory does not exist, the directory will be automatically created before saving the file.
booleanisTemplate()
voidsetTemplate(boolean)
           Indicates whether saving a template file.
LightCellsDataProvidergetLightCellsDataProvider()
voidsetLightCellsDataProvider(LightCellsDataProvider)
           The Data provider to provide cells data for saving workbook in light mode.
booleangetMatchColor()
voidsetMatchColor(boolean)
           Indicates whether matching font color because there are 56 colors in the standard color palette.
booleangetMergeAreas()→ inherited from SaveOptions
voidsetMergeAreas(boolean)
           Indicates whether merge the areas of conditional formatting and validation before saving the file.
booleangetRefreshChartCache()→ inherited from SaveOptions
voidsetRefreshChartCache(boolean)
           Indicates whether refreshing chart cache data
intgetSaveFormat()→ inherited from SaveOptions
           Gets the save file format. The value of the property is SaveFormat integer constant.
booleangetSortExternalNames()→ inherited from SaveOptions
voidsetSortExternalNames(boolean)
           Indicates whether sorting external defined names before saving file.
booleangetSortNames()→ inherited from SaveOptions
voidsetSortNames(boolean)
           Indicates whether sorting defined names before saving file.
booleangetUpdateSmartArt()→ inherited from SaveOptions
voidsetUpdateSmartArt(boolean)
           Indicates whether updating smart art setting. The default value is false.
booleangetValidateMergedAreas()→ inherited from SaveOptions
voidsetValidateMergedAreas(boolean)
           Indicates whether validate merged cells before saving the file.
IWarningCallbackgetWarningCallback()→ inherited from SaveOptions
voidsetWarningCallback(IWarningCallback)
           Gets or sets warning callback.
 

Constructor Detail

XlsSaveOptions

public XlsSaveOptions()
Creates options for saving Excel 97-2003 xls/xlt file.

XlsSaveOptions

public XlsSaveOptions(int format)
Creates options for saving Excel 97-2003 xls/xlt file.
Parameters:
format - A SaveFormat value. The file format. It must be xls/xlt.

Property Getters/Setters Detail

getLightCellsDataProvider/setLightCellsDataProvider

public LightCellsDataProvider getLightCellsDataProvider() / public void setLightCellsDataProvider(LightCellsDataProvider value)
The Data provider to provide cells data for saving workbook in light mode.

setLightCellsDataProvider

public void setLightCellsDataProvider(LightCellsDataProvider value)
The Data provider to provide cells data for saving workbook in light mode.

isTemplate/setTemplate

public boolean isTemplate() / public void setTemplate(boolean value)
Indicates whether saving a template file.

setTemplate

public void setTemplate(boolean value)
Indicates whether saving a template file.

getMatchColor/setMatchColor

public boolean getMatchColor() / public void setMatchColor(boolean value)
Indicates whether matching font color because there are 56 colors in the standard color palette.

setMatchColor

public void setMatchColor(boolean value)
Indicates whether matching font color because there are 56 colors in the standard color palette.

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.

setClearData

→ inherited from SaveOptions
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.

setCachedFileFolder

→ inherited from SaveOptions
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.

setValidateMergedAreas

→ inherited from SaveOptions
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.

setMergeAreas

→ inherited from SaveOptions
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.

setCreateDirectory

→ inherited from SaveOptions
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.

setSortNames

→ inherited from SaveOptions
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.

setSortExternalNames

→ inherited from SaveOptions
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

setRefreshChartCache

→ inherited from SaveOptions
public void setRefreshChartCache(boolean value)
Indicates whether refreshing chart cache data

getWarningCallback/setWarningCallback

→ inherited from SaveOptions
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)
Gets or sets warning callback.

setWarningCallback

→ inherited from SaveOptions
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.

setUpdateSmartArt

→ inherited from SaveOptions
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.