com.aspose.cells.XpsSaveOptions.html Maven / Gradle / Ivy
XpsSaveOptions
com.aspose.cells
Class XpsSaveOptions
java.lang.Object
SaveOptions
com.aspose.cells.XpsSaveOptions
public class XpsSaveOptions
- extends SaveOptions
Constructor Summary |
---|
XpsSaveOptions()
Creates options for saving xps file. |
XpsSaveOptions(int saveFormat)
Creates options for saving xps file. |
Property Getters/Setters Summary | ||
---|---|---|
java.lang.String | getCachedFileFolder() | → inherited from SaveOptions
|
void | setCachedFileFolder(java.lang.String) | |
The cached file folder is used to store some large data. | ||
boolean | getClearData() | → inherited from SaveOptions
|
void | setClearData(boolean) | |
Make the workbook empty after saving the file. | ||
boolean | getCreateDirectory() | → inherited from SaveOptions
|
void | setCreateDirectory(boolean) | |
If true and the directory does not exist, the directory will be automatically created before saving the file. | ||
boolean | getEnableHTTPCompression() | → inherited from SaveOptions
|
void | setEnableHTTPCompression(boolean) | |
Indicates if http compression is to be used in user's IIS. | ||
boolean | getMergeAreas() | → inherited from SaveOptions
|
void | setMergeAreas(boolean) | |
Indicates whether merge the areas of conditional formatting and validation before saving the file. | ||
boolean | getOnePagePerSheet() | |
void | setOnePagePerSheet(boolean) | |
If OnePagePerSheet is true , all content of one sheet will output to only one page in result. The paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect. | ||
int | getPageCount() | |
void | setPageCount(int) | |
Gets or sets the number of pages to save. | ||
int | getPageIndex() | |
void | setPageIndex(int) | |
Gets or sets the 0-based index of the first page to save. | ||
java.lang.String | getPdfExportImagesFolder() | → inherited from SaveOptions
|
void | setPdfExportImagesFolder(java.lang.String) | |
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) | |
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 | getSortExternalNames() | → inherited from SaveOptions
|
void | setSortExternalNames(boolean) | |
Indicates whether sorting external defined names before saving file. | ||
boolean | getSortNames() | → inherited from SaveOptions
|
void | setSortNames(boolean) | |
Indicates whether sorting defined names before saving file. | ||
boolean | getUpdateSmartArt() | → inherited from SaveOptions
|
void | setUpdateSmartArt(boolean) | |
Indicates whether updating smart art setting. The default value is false. | ||
boolean | getValidateMergedAreas() | → inherited from SaveOptions
|
void | setValidateMergedAreas(boolean) | |
Indicates whether validate merged cells before saving the file. | ||
IWarningCallback | getWarningCallback() | → inherited from SaveOptions
|
void | setWarningCallback(IWarningCallback) | |
Gets or sets warning callback. |
Constructor Detail |
---|
XpsSaveOptions
public XpsSaveOptions()
Creates options for saving xps file.
XpsSaveOptions
public XpsSaveOptions(int saveFormat)
Creates options for saving xps file. - Parameters:
saveFormat
- ASaveFormat value. The save format, it must be xps format.
Property Getters/Setters Detail |
---|
getOnePagePerSheet/setOnePagePerSheet | |
public boolean getOnePagePerSheet() / public void setOnePagePerSheet(boolean value) |
If OnePagePerSheet is true , all content of one sheet will output to only one page in result. The paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect.
getPageIndex/setPageIndex | |
public int getPageIndex() / public void setPageIndex(int value) |
Gets or sets the 0-based index of the first page to save. Default is 0.
getPageCount/setPageCount | |
public int getPageCount() / public void setPageCount(int value) |
Gets or sets the number of pages to save. Default is System.Int32.MaxValue which means all pages will be rendered..
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.
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 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.
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.
getSortExternalNames/setSortExternalNames | → inherited from SaveOptions
|
public boolean getSortExternalNames() / 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
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.
getWarningCallback/setWarningCallback | → inherited from SaveOptions
|
public IWarningCallback getWarningCallback() / 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.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.