java.lang.ObjectSaveOptions
com.aspose.cells.PdfSaveOptions
public class PdfSaveOptions
Constructor Summary |
---|
PdfSaveOptions()
Creates the options for saving pdf file. |
PdfSaveOptions(int saveFormat)
Creates the options for saving pdf file. |
Property Getters/Setters Summary | ||
---|---|---|
PdfBookmarkEntry | getBookmark() | |
void | setBookmark(PdfBookmarkEntry value) | |
Gets and sets the |
||
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 | getCalculateFormula() | |
void | setCalculateFormula(boolean value) | |
Indicates whether calculate formulas before saving pdf file. | ||
com.aspose.cells.ImageFormat | getChartImageType() | |
void | setChartImageType(com.aspose.cells.ImageFormat value) | |
Indicate the chart imagetype when converting. | ||
boolean | getCheckFontCompatibility() | |
void | setCheckFontCompatibility(boolean value) | |
Indicates whether check font compatibility for every character in text. | ||
boolean | getClearData() | → inherited from SaveOptions |
void | setClearData(boolean value) | |
Make the workbook empty after saving the file. | ||
int | getCompliance() | |
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() | |
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. | ||
com.aspose.cells.ImageFormat | getImageType() | |
void | setImageType(com.aspose.cells.ImageFormat value) | |
Represents the image type when converting the chart and shape . | ||
boolean | getOnePagePerSheet() | |
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. | ||
PdfBookmarkEntry | getPdfBookmark() | → inherited from SaveOptions |
void | setPdfBookmark(PdfBookmarkEntry value) | |
Gets and sets the |
||
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. | ||
int | getPrintingPageType() | |
void | setPrintingPageType(int value) | |
Indicates which pages will not be printed. The value of the property is PrintingPageType integer constant. | ||
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. | ||
PdfSecurityOptions | getSecurityOptions() | |
void | setSecurityOptions(PdfSecurityOptions value) | |
Set this options, when security is need in xls2pdf result. | ||
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. |
Constructor Detail |
---|
public PdfSaveOptions()
public PdfSaveOptions(int saveFormat)
saveFormat
- A Property Getters/Setters Detail |
---|
getPrintingPageType/setPrintingPageType | |
public int getPrintingPageType() / public void setPrintingPageType(int value) |
getBookmark/setBookmark | |
public PdfBookmarkEntry getBookmark() / public void setBookmark(PdfBookmarkEntry value) |
getCompliance/setCompliance | |
public int getCompliance() / public void setCompliance(int value) |
getDefaultFont/setDefaultFont | |
public java.lang.String getDefaultFont() / public void setDefaultFont(java.lang.String value) |
getSecurityOptions/setSecurityOptions | |
public PdfSecurityOptions getSecurityOptions() / public void setSecurityOptions(PdfSecurityOptions value) |
getOnePagePerSheet/setOnePagePerSheet | |
public boolean getOnePagePerSheet() / public void setOnePagePerSheet(boolean value) |
getImageType/setImageType | |
public com.aspose.cells.ImageFormat getImageType() / public void setImageType(com.aspose.cells.ImageFormat value) |
getChartImageType/setChartImageType | |
public com.aspose.cells.ImageFormat getChartImageType() / public void setChartImageType(com.aspose.cells.ImageFormat value) |
getCalculateFormula/setCalculateFormula | |
public boolean getCalculateFormula() / public void setCalculateFormula(boolean value) |
getCheckFontCompatibility/setCheckFontCompatibility | |
public boolean getCheckFontCompatibility() / public void setCheckFontCompatibility(boolean value) |
getSaveFormat | → inherited from SaveOptions |
public int getSaveFormat() |
getExpCellNameToXLSX/setExpCellNameToXLSX | → inherited from SaveOptions |
public boolean getExpCellNameToXLSX() / public void setExpCellNameToXLSX(boolean value) |
getClearData/setClearData | → inherited from SaveOptions |
public boolean getClearData() / public void setClearData(boolean value) |
getCachedFileFolder/setCachedFileFolder | → inherited from SaveOptions |
public java.lang.String getCachedFileFolder() / public void setCachedFileFolder(java.lang.String value) |
getValidateMergedAreas/setValidateMergedAreas | → inherited from SaveOptions |
public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value) |
getCreateDirectory/setCreateDirectory | → inherited from SaveOptions |
public boolean getCreateDirectory() / public void setCreateDirectory(boolean value) |
getSortNames/setSortNames | → inherited from SaveOptions |
public boolean getSortNames() / public void setSortNames(boolean value) |
getRefreshChartCache/setRefreshChartCache | → inherited from SaveOptions |
public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value) |
getPdfBookmark/setPdfBookmark | → inherited from SaveOptions |
public PdfBookmarkEntry getPdfBookmark() / public void setPdfBookmark(PdfBookmarkEntry value) |
getPdfExportImagesFolder/setPdfExportImagesFolder | → inherited from SaveOptions |
public java.lang.String getPdfExportImagesFolder() / public void setPdfExportImagesFolder(java.lang.String value) |
getEnableHTTPCompression/setEnableHTTPCompression | → inherited from SaveOptions |
public boolean getEnableHTTPCompression() / public void setEnableHTTPCompression(boolean value) |