public class OoxmlSaveOptions extends SaveOptions
| Constructor and Description |
|---|
OoxmlSaveOptions()
Creates the options for saving office open xml file.
|
OoxmlSaveOptions(int saveFormat)
Creates the options for saving office open xml file.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAsFlatOpc()
Indicates whether saving as a flat opc file which can be generated by Open XML SDK.
|
int |
getCompressionType()
Gets the compression type for ooxml file.
|
boolean |
getEmbedOoxmlAsOleObject()
Indicates whether embedding Ooxml files of OleObject as ole object.
|
boolean |
getEnableZip64()
Always use ZIP64 extensions when writing zip archives, even when unnecessary.
|
boolean |
getExportCellName()
Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file.
|
LightCellsDataProvider |
getLightCellsDataProvider()
The data provider for saving workbook in light mode.
|
boolean |
getUpdateZoom()
Indicates whether update scaling factor before saving the file
if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled.
|
boolean |
getWpsCompatibility()
Indicates whether to make the xls more compatible with WPS.
|
void |
setAsFlatOpc(boolean value)
Indicates whether saving as a flat opc file which can be generated by Open XML SDK.
|
void |
setCompressionType(int value)
Sets the compression type for ooxml file.
|
void |
setEmbedOoxmlAsOleObject(boolean value)
Indicates whether embedding Ooxml files of OleObject as ole object.
|
void |
setEnableZip64(boolean value)
Always use ZIP64 extensions when writing zip archives, even when unnecessary.
|
void |
setExportCellName(boolean value)
Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file.
|
void |
setLightCellsDataProvider(LightCellsDataProvider value)
The data provider for saving workbook in light mode.
|
void |
setUpdateZoom(boolean value)
Indicates whether update scaling factor before saving the file
if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled.
|
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 OoxmlSaveOptions()
public OoxmlSaveOptions(int saveFormat)
saveFormat - SaveFormat. The file format.
It should be one of following types: SaveFormat.XLSX, SaveFormat.XLTX,
SaveFormat.XLAM, SaveFormat.XLSM or SaveFormat.XLTM,
otherwise the saved format will be set as SaveFormat.XLSX automatically.public boolean getAsFlatOpc()
public void setAsFlatOpc(boolean value)
public boolean getExportCellName()
public void setExportCellName(boolean value)
public LightCellsDataProvider getLightCellsDataProvider()
public void setLightCellsDataProvider(LightCellsDataProvider value)
public boolean getUpdateZoom()
Remarks
The default value is false for performance.public void setUpdateZoom(boolean value)
Remarks
The default value is false for performance.public boolean getEnableZip64()
public void setEnableZip64(boolean value)
public boolean getEmbedOoxmlAsOleObject()
Remarks
Only for OleObject.public void setEmbedOoxmlAsOleObject(boolean value)
Remarks
Only for OleObject.public int getCompressionType()
See OoxmlCompressionType.
Remarks
The default value is OoxmlCompressionType.Level2.public void setCompressionType(int value)
See OoxmlCompressionType.
Remarks
The default value is OoxmlCompressionType.Level2.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.