java.lang.Object
SaveOptions
com.aspose.cells.OoxmlSaveOptions
public class OoxmlSaveOptions
- extends SaveOptions
Represents the options of saving office open xml file.
Constructor Summary |
OoxmlSaveOptions()
Creates the options for saving office open xml file.
|
OoxmlSaveOptions(int saveFormat)
Creates the options for saving office open xml file.
|
Property Getters/Setters Summary |
java.lang.String | getCachedFileFolder() | → inherited from SaveOptions |
void | setCachedFileFolder(java.lang.String value) | |
|
The cached file folder is used to store some large data.
|
boolean | getClearData() | → inherited from SaveOptions |
void | setClearData(boolean value) | |
|
Make the workbook empty after saving the file.
|
int | getCompliance() | → inherited from SaveOptions |
void | setCompliance(int value) | |
|
Workbook converts to pdf will according to PdfCompliance in this property.
The value of the property is PdfCompliance integer constant. |
boolean | getCreateDirectory() | → inherited from SaveOptions |
void | setCreateDirectory(boolean value) | |
|
If true and the directory does not exist, the directory will be automatically created before saving the file.
|
java.lang.String | getDefaultFont() | → inherited from SaveOptions |
void | setDefaultFont(java.lang.String value) | |
|
When characters in the Excel are unicode and not be set with correct font in cell style,
They may appear as block in pdf,image.
Set the DefaultFont such as MingLiu or MS Gothic to show these characters.
If this property is not set, Aspose.Cells will use system default font to show these unicode characters.
|
boolean | getEnableHTTPCompression() | → inherited from SaveOptions |
void | setEnableHTTPCompression(boolean value) | |
|
Indicates if http compression is to be used in user's IIS.
|
boolean | getExpCellNameToXLSX() | → inherited from SaveOptions |
void | setExpCellNameToXLSX(boolean value) | |
|
Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file.
If the output file may be accessed by SQL Server DTS, this value must be true.
Setting the value to false will highly increase the performance and reduce the file size when creating large file.
Default value is false.
|
boolean | getExportCellName() | |
void | setExportCellName(boolean value) | |
|
Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file.
If the output file may be accessed by SQL Server DTS, this value must be true.
Setting the value to false will highly increase the performance and reduce the file size when creating large file.
Default value is false.
|
LightCellsDataProvider | getLightCellsDataProvider() | |
void | setLightCellsDataProvider(LightCellsDataProvider value) | |
|
The Data provider to provide cells data for saving workbook in light mode.
|
PdfBookmarkEntry | getPdfBookmark() | → inherited from SaveOptions |
void | setPdfBookmark(PdfBookmarkEntry value) | |
|
Gets and sets the PdfBookmarkEntry object.
|
java.lang.String | getPdfExportImagesFolder() | → inherited from SaveOptions |
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.
|
boolean | getRefreshChartCache() | → inherited from SaveOptions |
void | setRefreshChartCache(boolean value) | |
|
Indicates whether refreshing chart cache data
|
int | getSaveFormat() | → inherited from SaveOptions |
|
Gets the save file format.
The value of the property is SaveFormat integer constant. |
boolean | getSortNames() | → inherited from SaveOptions |
void | setSortNames(boolean value) | |
|
Indicates whether sorting defined names before saving file.
|
boolean | getValidateMergedAreas() | → inherited from SaveOptions |
void | setValidateMergedAreas(boolean value) | |
|
Indicates whether validate merged areas before saving the file.
|
OoxmlSaveOptions
public OoxmlSaveOptions()
-
Creates the options for saving office open xml file.
OoxmlSaveOptions
public OoxmlSaveOptions(int saveFormat)
-
Creates the options for saving office open xml file.
- Parameters:
saveFormat
- A SaveFormat value. The file format.
It must be xlsx,xltx,xlsm,xltm.
Property Getters/Setters Detail |
getExportCellName/setExportCellName | |
public boolean getExportCellName() / public void setExportCellName(boolean value)
|
-
Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file.
If the output file may be accessed by SQL Server DTS, this value must be true.
Setting the value to false will highly increase the performance and reduce the file size when creating large file.
Default value is false.
-
The Data provider to provide cells data for saving workbook in light mode.
getSaveFormat | → inherited from SaveOptions |
public int getSaveFormat()
|
-
Gets the save file format.
The value of the property is SaveFormat integer constant.
getExpCellNameToXLSX/setExpCellNameToXLSX | → inherited from SaveOptions |
public boolean getExpCellNameToXLSX() / public void setExpCellNameToXLSX(boolean value)
|
-
Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file.
If the output file may be accessed by SQL Server DTS, this value must be true.
Setting the value to false will highly increase the performance and reduce the file size when creating large file.
Default value is false.
NOTE: This member is now obsolete. Instead,
please use OoxmlSaveOptions.ExportCellName property.
This property will be removed 12 months later since July 2010.
Aspose apologizes for any inconvenience you may have experienced.
getClearData/setClearData | → inherited from SaveOptions |
public boolean getClearData() / 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.
getValidateMergedAreas/setValidateMergedAreas | → inherited from SaveOptions |
public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value)
|
-
Indicates whether validate merged areas 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.
getSortNames/setSortNames | → inherited from SaveOptions |
public boolean getSortNames() / public void setSortNames(boolean value)
|
-
Indicates whether sorting defined names before saving file.
getRefreshChartCache/setRefreshChartCache | → inherited from SaveOptions |
public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value)
|
-
Indicates whether refreshing chart cache data
getDefaultFont/setDefaultFont | → inherited from SaveOptions |
public java.lang.String getDefaultFont() / public void setDefaultFont(java.lang.String value)
|
-
When characters in the Excel are unicode and not be set with correct font in cell style,
They may appear as block in pdf,image.
Set the DefaultFont such as MingLiu or MS Gothic to show these characters.
If this property is not set, Aspose.Cells will use system default font to show these unicode characters.
NOTE: This member is now obsolete. Instead,
please use PdfSaveOptions.DefaultFont property.
This property will be removed 12 months later since July 2010.
Aspose apologizes for any inconvenience you may have experienced.
getCompliance/setCompliance | → inherited from SaveOptions |
public int getCompliance() / public void setCompliance(int value)
|
-
Workbook converts to pdf will according to PdfCompliance in this property.
The value of the property is PdfCompliance integer constant.NOTE: This member is now obsolete. Instead,
please use PdfSaveOptions.Compliance property.
This property will be removed 12 months later since July 2010.
Aspose apologizes for any inconvenience you may have experienced.
-
Gets and sets the PdfBookmarkEntry object.
NOTE: This member is now obsolete. Instead,
please use PdfSaveOptions.Bookmark property.
This property will be removed 12 months later since July 2010.
Aspose apologizes for any inconvenience you may have experienced.
getPdfExportImagesFolder/setPdfExportImagesFolder | → inherited from SaveOptions |
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 | → inherited from SaveOptions |
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.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.