public class XlsSaveOptions extends SaveOptions
| Constructor and Description |
|---|
XlsSaveOptions()
Creates options for saving Excel 97-2003 xls file.
|
XlsSaveOptions(int saveFormat)
Creates options for saving Excel 97-2003 xls/xlt file.
|
| Modifier and Type | Method and Description |
|---|---|
LightCellsDataProvider |
getLightCellsDataProvider()
The data provider for saving workbook in light mode.
|
boolean |
getMatchColor()
Indicates whether matching font color because there are 56 colors in the standard color palette.
|
boolean |
getWpsCompatibility()
Indicates whether to make the xls more compatible with WPS.
|
boolean |
isTemplate()
Deprecated.
Use XlsSaveOptions(SaveFormat.Xlt) when it is template, otherwise use XlsSaveOptions().
|
void |
setLightCellsDataProvider(LightCellsDataProvider value)
The data provider for saving workbook in light mode.
|
void |
setMatchColor(boolean value)
Indicates whether matching font color because there are 56 colors in the standard color palette.
|
void |
setTemplate(boolean value)
Deprecated.
Use XlsSaveOptions(SaveFormat.Xlt) when it is template, otherwise use XlsSaveOptions().
|
void |
setWpsCompatibility(boolean value)
Indicates whether to make the xls more compatible with WPS.
|
getCachedFileFolder, getCheckExcelRestriction, getClearData, getCreateDirectory, getEncryptDocumentProperties, getMergeAreas, getRefreshChartCache, getSaveFormat, getSortExternalNames, getSortNames, getUpdateSmartArt, getValidateMergedAreas, getWarningCallback, setCachedFileFolder, setCheckExcelRestriction, setClearData, setCreateDirectory, setEncryptDocumentProperties, setMergeAreas, setRefreshChartCache, setSortExternalNames, setSortNames, setUpdateSmartArt, setValidateMergedAreas, setWarningCallbackpublic XlsSaveOptions()
public XlsSaveOptions(int saveFormat)
saveFormat - SaveFormat. The file format.
It should be SaveFormat.EXCEL_97_TO_2003 or SaveFormat.XLT,
otherwise the saved format will be set as SaveFormat.EXCEL_97_TO_2003 automatically.public LightCellsDataProvider getLightCellsDataProvider()
public void setLightCellsDataProvider(LightCellsDataProvider value)
public boolean isTemplate()
Remarks
NOTE: This member is now obsolete. Instead, please create XlsSaveOptions with corresponding save format(xlt for true and xls for false). This method will be removed 12 months later since August 2020. Aspose apologizes for any inconvenience you may have experienced.public void setTemplate(boolean value)
Remarks
NOTE: This member is now obsolete. Instead, please create XlsSaveOptions with corresponding save format(xlt for true and xls for false). This method will be removed 12 months later since August 2020. Aspose apologizes for any inconvenience you may have experienced.public boolean getMatchColor()
public void setMatchColor(boolean value)
public boolean getWpsCompatibility()
public void setWpsCompatibility(boolean value)
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.