All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.PdfSaveOptions.html Maven / Gradle / Ivy






PdfSaveOptions




com.aspose.cells
Class PdfSaveOptions

java.lang.Object
  extended by SaveOptions
      extended by com.aspose.cells.PdfSaveOptions

public class PdfSaveOptions 
extends SaveOptions

Represents the options for saving pdf file.


Constructor Summary
PdfSaveOptions()
           Creates the options for saving pdf file.
PdfSaveOptions(int saveFormat)
           Creates the options for saving pdf file.
 
Property Getters/Setters Summary
booleangetAllColumnsInOnePagePerSheet()
voidsetAllColumnsInOnePagePerSheet(boolean)
           If AllColumnsInOnePagePerSheet is true , all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be ignored, and the other settings of pagesetup will still take effect.
PdfBookmarkEntrygetBookmark()
voidsetBookmark(PdfBookmarkEntry)
           Gets and sets the PdfBookmarkEntry object.
java.lang.StringgetCachedFileFolder()→ inherited from SaveOptions
voidsetCachedFileFolder(java.lang.String)
           The cached file folder is used to store some large data.
booleangetCalculateFormula()
voidsetCalculateFormula(boolean)
           Indicates whether to calculate formulas before saving pdf file.
booleangetCheckFontCompatibility()
voidsetCheckFontCompatibility(boolean)
           Indicates whether to check font compatibility for every character in text.
booleangetCheckWorkbookDefaultFont()
voidsetCheckWorkbookDefaultFont(boolean)
           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 this to true to try to use workbook's default font to show these characters first.
booleangetClearData()→ inherited from SaveOptions
voidsetClearData(boolean)
           Make the workbook empty after saving the file.
intgetCompliance()
voidsetCompliance(int)
           Workbook converts to pdf will according to PdfCompliance in this property. The value of the property is PdfCompliance integer constant.
booleangetCreateDirectory()→ inherited from SaveOptions
voidsetCreateDirectory(boolean)
           If true and the directory does not exist, the directory will be automatically created before saving the file.
com.aspose.cells.DateTimegetCreatedTime()
voidsetCreatedTime(com.aspose.cells.DateTime)
           Gets and sets the time of generating the pdf document.
intgetCustomPropertiesExport()
voidsetCustomPropertiesExport(int)
           Gets or sets a value determining the way CustomDocumentPropertyCollection are exported to PDF file. Default value is None. The value of the property is PdfCustomPropertiesExport integer constant.
intgetDefaultEditLanguage()
voidsetDefaultEditLanguage(int)
           Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant.
java.lang.StringgetDefaultFont()
voidsetDefaultFont(java.lang.String)
           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.
booleangetDisplayDocTitle()
voidsetDisplayDocTitle(boolean)
           Indicates whether the window's title bar should display the document title.
DrawObjectEventHandlergetDrawObjectEventHandler()
voidsetDrawObjectEventHandler(DrawObjectEventHandler)
           Implements this interface to get DrawObject and Bound when rendering.
booleangetEmbedStandardWindowsFonts()
voidsetEmbedStandardWindowsFonts(boolean)
           True to embed true type fonts. Affects only ASCII characters 32-127. Fonts for character codes greater than 127 are always embedded. Fonts are always embedded for PDF/A-1a, PDF/A-1b standard. Default is true.
intgetEmfRenderSetting()
voidsetEmfRenderSetting(int)
           Setting for rendering Emf metafile. The value of the property is EmfRenderSetting integer constant.
booleangetEnableHTTPCompression()→ inherited from SaveOptions
voidsetEnableHTTPCompression(boolean)
           Indicates if http compression is to be used in user's IIS.
booleangetExportDocumentStructure()
voidsetExportDocumentStructure(boolean)
           Indicates whether to export document structure.
intgetFontEncoding()
voidsetFontEncoding(int)
           Gets or sets embedded font encoding in pdf. The value of the property is PdfFontEncoding integer constant.
intgetGridlineType()
voidsetGridlineType(int)
           Gets or sets gridline type. The value of the property is GridlineType integer constant.
booleangetIgnoreError()
voidsetIgnoreError(boolean)
           Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc.
com.aspose.cells.ImageFormatgetImageType()
voidsetImageType(com.aspose.cells.ImageFormat)
           Represents the image type when converting the chart and shape .
booleanisFontSubstitutionCharGranularity()
voidsetFontSubstitutionCharGranularity(boolean)
           Indicates whether to only substitute the font of character when the cell font is not compatibility for it.
booleangetMergeAreas()→ inherited from SaveOptions
voidsetMergeAreas(boolean)
           Indicates whether merge the areas of conditional formatting and validation before saving the file.
booleangetOnePagePerSheet()
voidsetOnePagePerSheet(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.
intgetOptimizationType()
voidsetOptimizationType(int)
           Gets and sets pdf optimization type. The value of the property is PdfOptimizationType integer constant.
booleangetOutputBlankPageWhenNothingToPrint()
voidsetOutputBlankPageWhenNothingToPrint(boolean)
           Indicates whether to output a blank page when there is nothing to print.
intgetPageCount()
voidsetPageCount(int)
           Gets or sets the number of pages to save.
intgetPageIndex()
voidsetPageIndex(int)
           Gets or sets the 0-based index of the first page to save.
IPageSavingCallbackgetPageSavingCallback()
voidsetPageSavingCallback(IPageSavingCallback)
           Control/Indicate progress of page saving process.
intgetPdfCompression()
voidsetPdfCompression(int)
           Indicate the compression algorithm The value of the property is PdfCompressionCore integer constant.
java.lang.StringgetPdfExportImagesFolder()→ inherited from SaveOptions
voidsetPdfExportImagesFolder(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.
intgetPrintingPageType()
voidsetPrintingPageType(int)
           Indicates which pages will not be printed. The value of the property is PrintingPageType integer constant.
java.lang.StringgetProducer()
voidsetProducer(java.lang.String)
           Gets and sets producer of generated pdf document.
booleangetRefreshChartCache()→ inherited from SaveOptions
voidsetRefreshChartCache(boolean)
           Indicates whether refreshing chart cache data
intgetSaveFormat()→ inherited from SaveOptions
           Gets the save file format. The value of the property is SaveFormat integer constant.
PdfSecurityOptionsgetSecurityOptions()
voidsetSecurityOptions(PdfSecurityOptions)
           Set this options, when security is need in xls2pdf result.
booleangetSortExternalNames()→ inherited from SaveOptions
voidsetSortExternalNames(boolean)
           Indicates whether sorting external defined names before saving file.
booleangetSortNames()→ inherited from SaveOptions
voidsetSortNames(boolean)
           Indicates whether sorting defined names before saving file.
intgetTextCrossType()
voidsetTextCrossType(int)
           Gets or sets displaying text type when the text width is larger than cell width. The value of the property is TextCrossType integer constant.
booleangetUpdateSmartArt()→ inherited from SaveOptions
voidsetUpdateSmartArt(boolean)
           Indicates whether updating smart art setting. The default value is false.
booleangetValidateMergedAreas()→ inherited from SaveOptions
voidsetValidateMergedAreas(boolean)
           Indicates whether validate merged cells before saving the file.
IWarningCallbackgetWarningCallback()→ inherited from SaveOptions
voidsetWarningCallback(IWarningCallback)
           Gets or sets warning callback.
 
Method Summary
voidsetImageResample(int desiredPPI, int jpegQuality)
           Sets desired PPI(pixels per inch) of resample images and jpeg quality All images will be converted to JPEG with the specified quality setting, and images that are greater than the specified PPI (pixels per inch) will be resampled.
 

Constructor Detail

PdfSaveOptions

public PdfSaveOptions()
Creates the options for saving pdf file.

PdfSaveOptions

public PdfSaveOptions(int saveFormat)
Creates the options for saving pdf file. NOTE: This constructor is now obsolete. Instead, please use PdfSaveOptions() constructor. This property will be removed 12 months later since January 2021. Aspose apologizes for any inconvenience you may have experienced.
Parameters:
saveFormat - A SaveFormat value. The save format.It must be pdf.

Property Getters/Setters Detail

getPrintingPageType/setPrintingPageType

public int getPrintingPageType() / public void setPrintingPageType(int value)
Indicates which pages will not be printed. The value of the property is PrintingPageType integer constant. If content in the sheet is sparse, there will be some pages are totally blank in the output pdf file. If you don't want these blank pages, you can use this option to omit them.

setPrintingPageType

public void setPrintingPageType(int value)
Indicates which pages will not be printed. The value of the property is PrintingPageType integer constant. If content in the sheet is sparse, there will be some pages are totally blank in the output pdf file. If you don't want these blank pages, you can use this option to omit them.

getEmbedStandardWindowsFonts/setEmbedStandardWindowsFonts

public boolean getEmbedStandardWindowsFonts() / public void setEmbedStandardWindowsFonts(boolean value)
True to embed true type fonts. Affects only ASCII characters 32-127. Fonts for character codes greater than 127 are always embedded. Fonts are always embedded for PDF/A-1a, PDF/A-1b standard. Default is true.

setEmbedStandardWindowsFonts

public void setEmbedStandardWindowsFonts(boolean value)
True to embed true type fonts. Affects only ASCII characters 32-127. Fonts for character codes greater than 127 are always embedded. Fonts are always embedded for PDF/A-1a, PDF/A-1b standard. Default is true.

getBookmark/setBookmark

public PdfBookmarkEntry getBookmark() / public void setBookmark(PdfBookmarkEntry value)
Gets and sets the PdfBookmarkEntry object.

setBookmark

public void setBookmark(PdfBookmarkEntry value)
Gets and sets the PdfBookmarkEntry object.

getCompliance/setCompliance

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.

setCompliance

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.

getDefaultFont/setDefaultFont

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.

setDefaultFont

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.

getCheckWorkbookDefaultFont/setCheckWorkbookDefaultFont

public boolean getCheckWorkbookDefaultFont() / public void setCheckWorkbookDefaultFont(boolean 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 this to true to try to use workbook's default font to show these characters first. Default is true.

setCheckWorkbookDefaultFont

public void setCheckWorkbookDefaultFont(boolean 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 this to true to try to use workbook's default font to show these characters first. Default is true.

getSecurityOptions/setSecurityOptions

public PdfSecurityOptions getSecurityOptions() / public void setSecurityOptions(PdfSecurityOptions value)
Set this options, when security is need in xls2pdf result.

setSecurityOptions

public void setSecurityOptions(PdfSecurityOptions value)
Set this options, when security is need in xls2pdf result.

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.

setOnePagePerSheet

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.

getAllColumnsInOnePagePerSheet/setAllColumnsInOnePagePerSheet

public boolean getAllColumnsInOnePagePerSheet() / public void setAllColumnsInOnePagePerSheet(boolean value)
If AllColumnsInOnePagePerSheet is true , all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be ignored, and the other settings of pagesetup will still take effect.

setAllColumnsInOnePagePerSheet

public void setAllColumnsInOnePagePerSheet(boolean value)
If AllColumnsInOnePagePerSheet is true , all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be ignored, and the other settings of pagesetup will still take effect.

getImageType/setImageType

public com.aspose.cells.ImageFormat getImageType() / public void setImageType(com.aspose.cells.ImageFormat value)
Represents the image type when converting the chart and shape .

setImageType

public void setImageType(com.aspose.cells.ImageFormat value)
Represents the image type when converting the chart and shape .

getCalculateFormula/setCalculateFormula

public boolean getCalculateFormula() / public void setCalculateFormula(boolean value)
Indicates whether to calculate formulas before saving pdf file. The default value is false.

setCalculateFormula

public void setCalculateFormula(boolean value)
Indicates whether to calculate formulas before saving pdf file. The default value is false.

getPdfCompression/setPdfCompression

public int getPdfCompression() / public void setPdfCompression(int value)
Indicate the compression algorithm The value of the property is PdfCompressionCore integer constant.

setPdfCompression

public void setPdfCompression(int value)
Indicate the compression algorithm The value of the property is PdfCompressionCore integer constant.

getCheckFontCompatibility/setCheckFontCompatibility

public boolean getCheckFontCompatibility() / public void setCheckFontCompatibility(boolean value)
Indicates whether to check font compatibility for every character in text. The default value is true. Disable this property may give better performance. But when the default or specified font of text/character cannot be used to render it, unreadable characters(such as block) maybe occur in the generated pdf. For such situation user should keep this property as true so that alternative font can be searched and used to render the text instead;

setCheckFontCompatibility

public void setCheckFontCompatibility(boolean value)
Indicates whether to check font compatibility for every character in text. The default value is true. Disable this property may give better performance. But when the default or specified font of text/character cannot be used to render it, unreadable characters(such as block) maybe occur in the generated pdf. For such situation user should keep this property as true so that alternative font can be searched and used to render the text instead;

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.

setPageIndex

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..

setPageCount

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..

getCreatedTime/setCreatedTime

public com.aspose.cells.DateTime getCreatedTime() / public void setCreatedTime(com.aspose.cells.DateTime value)
Gets and sets the time of generating the pdf document. if it is not be set, it will be the time of generating the pdf.

setCreatedTime

public void setCreatedTime(com.aspose.cells.DateTime value)
Gets and sets the time of generating the pdf document. if it is not be set, it will be the time of generating the pdf.

getProducer/setProducer

public java.lang.String getProducer() / public void setProducer(java.lang.String value)
Gets and sets producer of generated pdf document. If the value is null, or a valid LICENSE is not set, string Aspose.Cells vVERSION will be used.

setProducer

public void setProducer(java.lang.String value)
Gets and sets producer of generated pdf document. If the value is null, or a valid LICENSE is not set, string Aspose.Cells vVERSION will be used.

getOptimizationType/setOptimizationType

public int getOptimizationType() / public void setOptimizationType(int value)
Gets and sets pdf optimization type. The value of the property is PdfOptimizationType integer constant. Default value is PdfOptimizationType.STANDARD

setOptimizationType

public void setOptimizationType(int value)
Gets and sets pdf optimization type. The value of the property is PdfOptimizationType integer constant. Default value is PdfOptimizationType.STANDARD

isFontSubstitutionCharGranularity/setFontSubstitutionCharGranularity

public boolean isFontSubstitutionCharGranularity() / public void setFontSubstitutionCharGranularity(boolean value)
Indicates whether to only substitute the font of character when the cell font is not compatibility for it. Default is false. We will try default font of Workbook and PdfSaveOption/system for cell font first.

setFontSubstitutionCharGranularity

public void setFontSubstitutionCharGranularity(boolean value)
Indicates whether to only substitute the font of character when the cell font is not compatibility for it. Default is false. We will try default font of Workbook and PdfSaveOption/system for cell font first.

getGridlineType/setGridlineType

public int getGridlineType() / public void setGridlineType(int value)
Gets or sets gridline type. The value of the property is GridlineType integer constant. Default is Dotted type.

setGridlineType

public void setGridlineType(int value)
Gets or sets gridline type. The value of the property is GridlineType integer constant. Default is Dotted type.

getTextCrossType/setTextCrossType

public int getTextCrossType() / public void setTextCrossType(int value)
Gets or sets displaying text type when the text width is larger than cell width. The value of the property is TextCrossType integer constant.

setTextCrossType

public void setTextCrossType(int value)
Gets or sets displaying text type when the text width is larger than cell width. The value of the property is TextCrossType integer constant.

getIgnoreError/setIgnoreError

public boolean getIgnoreError() / public void setIgnoreError(boolean value)
Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc.

setIgnoreError

public void setIgnoreError(boolean value)
Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc.

getOutputBlankPageWhenNothingToPrint/setOutputBlankPageWhenNothingToPrint

public boolean getOutputBlankPageWhenNothingToPrint() / public void setOutputBlankPageWhenNothingToPrint(boolean value)
Indicates whether to output a blank page when there is nothing to print. Default is true.

setOutputBlankPageWhenNothingToPrint

public void setOutputBlankPageWhenNothingToPrint(boolean value)
Indicates whether to output a blank page when there is nothing to print. Default is true.

getDrawObjectEventHandler/setDrawObjectEventHandler

public DrawObjectEventHandler getDrawObjectEventHandler() / public void setDrawObjectEventHandler(DrawObjectEventHandler value)
Implements this interface to get DrawObject and Bound when rendering.

setDrawObjectEventHandler

public void setDrawObjectEventHandler(DrawObjectEventHandler value)
Implements this interface to get DrawObject and Bound when rendering.

getCustomPropertiesExport/setCustomPropertiesExport

public int getCustomPropertiesExport() / public void setCustomPropertiesExport(int value)
Gets or sets a value determining the way CustomDocumentPropertyCollection are exported to PDF file. Default value is None. The value of the property is PdfCustomPropertiesExport integer constant.

setCustomPropertiesExport

public void setCustomPropertiesExport(int value)
Gets or sets a value determining the way CustomDocumentPropertyCollection are exported to PDF file. Default value is None. The value of the property is PdfCustomPropertiesExport integer constant.

getExportDocumentStructure/setExportDocumentStructure

public boolean getExportDocumentStructure() / public void setExportDocumentStructure(boolean value)
Indicates whether to export document structure.

setExportDocumentStructure

public void setExportDocumentStructure(boolean value)
Indicates whether to export document structure.

getPageSavingCallback/setPageSavingCallback

public IPageSavingCallback getPageSavingCallback() / public void setPageSavingCallback(IPageSavingCallback value)
Control/Indicate progress of page saving process.

setPageSavingCallback

public void setPageSavingCallback(IPageSavingCallback value)
Control/Indicate progress of page saving process.

getEmfRenderSetting/setEmfRenderSetting

public int getEmfRenderSetting() / public void setEmfRenderSetting(int value)
Setting for rendering Emf metafile. The value of the property is EmfRenderSetting integer constant. EMF metafiles identified as "EMF+ Dual" can contain both EMF+ records and EMF records. Either type of record can be used to render the image, only EMF+ records, or only EMF records. When #Error Cref: !:EmfRenderSetting.EmfPlusPrefer is set, then EMF+ records will be parsed while rendering to pdf, otherwise only EMF records will be parsed. Default value is #Error Cref: !:EmfRenderSetting.EmfOnly.

setEmfRenderSetting

public void setEmfRenderSetting(int value)
Setting for rendering Emf metafile. The value of the property is EmfRenderSetting integer constant. EMF metafiles identified as "EMF+ Dual" can contain both EMF+ records and EMF records. Either type of record can be used to render the image, only EMF+ records, or only EMF records. When #Error Cref: !:EmfRenderSetting.EmfPlusPrefer is set, then EMF+ records will be parsed while rendering to pdf, otherwise only EMF records will be parsed. Default value is #Error Cref: !:EmfRenderSetting.EmfOnly.

getDisplayDocTitle/setDisplayDocTitle

public boolean getDisplayDocTitle() / public void setDisplayDocTitle(boolean value)
Indicates whether the window's title bar should display the document title. If false, the title bar should instead display the name of the PDF file. Default value is false.

setDisplayDocTitle

public void setDisplayDocTitle(boolean value)
Indicates whether the window's title bar should display the document title. If false, the title bar should instead display the name of the PDF file. Default value is false.

getDefaultEditLanguage/setDefaultEditLanguage

public int getDefaultEditLanguage() / public void setDefaultEditLanguage(int value)
Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant. It may display/render different layouts for text paragraph when different edit languages is set. Default is #Error Cref: !:DefaultEditLanguage.Auto.

setDefaultEditLanguage

public void setDefaultEditLanguage(int value)
Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant. It may display/render different layouts for text paragraph when different edit languages is set. Default is #Error Cref: !:DefaultEditLanguage.Auto.

getFontEncoding/setFontEncoding

public int getFontEncoding() / public void setFontEncoding(int value)
Gets or sets embedded font encoding in pdf. The value of the property is PdfFontEncoding integer constant. Default value is PdfFontEncoding.IDENTITY

setFontEncoding

public void setFontEncoding(int value)
Gets or sets embedded font encoding in pdf. The value of the property is PdfFontEncoding integer constant. Default value is PdfFontEncoding.IDENTITY

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.

setClearData

→ inherited from SaveOptions
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.

setCachedFileFolder

→ inherited from SaveOptions
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.

setValidateMergedAreas

→ inherited from SaveOptions
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.

setMergeAreas

→ inherited from SaveOptions
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.

setCreateDirectory

→ inherited from SaveOptions
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.

setSortNames

→ inherited from SaveOptions
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.

setSortExternalNames

→ inherited from SaveOptions
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

setRefreshChartCache

→ inherited from SaveOptions
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.

setPdfExportImagesFolder

→ inherited from SaveOptions
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.

setEnableHTTPCompression

→ inherited from SaveOptions
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.

setWarningCallback

→ inherited from SaveOptions
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.

setUpdateSmartArt

→ inherited from SaveOptions
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.

Method Detail

setImageResample

public void setImageResample(int desiredPPI, int jpegQuality)
Sets desired PPI(pixels per inch) of resample images and jpeg quality All images will be converted to JPEG with the specified quality setting, and images that are greater than the specified PPI (pixels per inch) will be resampled.
Parameters:
desiredPPI - Desired pixels per inch. 220 high quality. 150 screen quality. 96 email quality.
jpegQuality - 0 - 100% JPEG quality.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy