public class OdsSaveOptions extends SaveOptions
| Constructor and Description |
|---|
OdsSaveOptions()
Creates the options of saving ods file.
|
OdsSaveOptions(int saveFormat)
Creates the options of saving ods file.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getGeneratorType()
Gets the generator of the ods file.
|
boolean |
getIgnorePivotTables()
Indicates whether saving pivot tables.
|
int |
getOdfStrictVersion()
Gets the ODF version.
|
boolean |
isStrictSchema11()
Deprecated.
Use OdsSaveOptions.OdfStrictVersion property instead.
|
void |
setGeneratorType(int value)
Sets the generator of the ods file.
|
void |
setIgnorePivotTables(boolean value)
Indicates whether saving pivot tables.
|
void |
setOdfStrictVersion(int value)
Sets the ODF version.
|
void |
setStrictSchema11(boolean value)
Deprecated.
Use OdsSaveOptions.OdfStrictVersion property instead.
|
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 OdsSaveOptions()
public OdsSaveOptions(int saveFormat)
saveFormat - SaveFormat. The file format.
It should be SaveFormat.ODS, SaveFormat.OTS,
SaveFormat.FODS or SaveFormat.SXC,
otherwise the saved format will be set as SaveFormat.ODS automatically.public int getGeneratorType()
See OdsGeneratorType.
public void setGeneratorType(int value)
See OdsGeneratorType.
public boolean isStrictSchema11()
Remarks
NOTE: This member is now obsolete. Instead, please use OdsSaveOptions.OdfStrictVersion property. This method will be removed 12 months later since February 2024. Aspose apologizes for any inconvenience you may have experienced.public void setStrictSchema11(boolean value)
Remarks
NOTE: This member is now obsolete. Instead, please use OdsSaveOptions.OdfStrictVersion property. This method will be removed 12 months later since February 2024. Aspose apologizes for any inconvenience you may have experienced.public int getOdfStrictVersion()
public void setOdfStrictVersion(int value)
public boolean getIgnorePivotTables()
Remarks
The pivot table feature of OpenOffice has fewer settings compared to Excel, so their results of pivot table have many differences. Sometimes it's better to ingore these pivot tables when saving .ods file.public void setIgnorePivotTables(boolean value)
Remarks
The pivot table feature of OpenOffice has fewer settings compared to Excel, so their results of pivot table have many differences. Sometimes it's better to ingore these pivot tables when saving .ods 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.