PptxSaveOptions
Source: aspose.
Represents the pptx save options.
Methods
- constructor_overload$1(saveAsImage)
- getAdjustFontSizeForRowType()
- getAllColumnsInOnePagePerSheet()
- getCachedFileFolder()
- getCheckFontCompatibility()
- getCheckWorkbookDefaultFont()
- getClearData()
- getCreateDirectory()
- getDefaultEditLanguage()
- getDefaultFont()
- getDrawObjectEventHandler()
- getEmfRenderSetting()
- getExportViewType()
- getGridlineType()
- getIgnoreError()
- getIgnoreHiddenRows()
- getMergeAreas()
- getOnePagePerSheet()
- getOutputBlankPageWhenNothingToPrint()
- getPageCount()
- getPageIndex()
- getPageSavingCallback()
- getPrintingPageType()
- getRefreshChartCache()
- getSaveFormat()
- getSheetSet()
- getSortExternalNames()
- getSortNames()
- getTextCrossType()
- getUpdateSmartArt()
- getValidateMergedAreas()
- getWarningCallback()
- isFontSubstitutionCharGranularity()
- setAdjustFontSizeForRowType()
- setAllColumnsInOnePagePerSheet()
- setCachedFileFolder()
- setCheckFontCompatibility()
- setCheckWorkbookDefaultFont()
- setClearData()
- setCreateDirectory()
- setDefaultEditLanguage()
- setDefaultFont()
- setDrawObjectEventHandler()
- setEmfRenderSetting()
- setExportViewType()
- setFontSubstitutionCharGranularity()
- setGridlineType()
- setIgnoreError()
- setIgnoreHiddenRows()
- setMergeAreas()
- setOnePagePerSheet()
- setOutputBlankPageWhenNothingToPrint()
- setPageCount()
- setPageIndex()
- setPageSavingCallback()
- setPrintingPageType()
- setRefreshChartCache()
- setSheetSet()
- setSortExternalNames()
- setSortNames()
- setTextCrossType()
- setUpdateSmartArt()
- setValidateMergedAreas()
- setWarningCallback()
new PptxSaveOptions()
Represents the pptx save options.
Methods
constructor_overload$1(saveAsImage)
Represents options of saving .pptx file.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
saveAsImage |
boolean |
|
If True, the workbook will be converted into some pictures of .pptx file. If False, the workbook will be converted into some tables of .pptx file. |
getAdjustFontSizeForRowType()
Represents what type of line needs to be adjusted size of font if height of row is small. The value of the property is AdjustFontSizeForRowType integer constant.
getAllColumnsInOnePagePerSheet()
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.
getCachedFileFolder()
The cached file folder is used to store some large data.
getCheckFontCompatibility()
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;
getCheckWorkbookDefaultFont()
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.
getClearData()
Make the workbook empty after saving the file.
getCreateDirectory()
If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.
getDefaultEditLanguage()
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 DefaultEditLanguage.AUTO.
getDefaultFont()
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.
getDrawObjectEventHandler()
Implements this interface to get DrawObject and Bound when rendering.
getEmfRenderSetting()
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 EmfRenderSetting.EMF_PLUS_PREFER is set, then EMF+ records will be parsed while rendering to page, otherwise only EMF records will be parsed. Default value is EmfRenderSetting.EMF_ONLY.
getExportViewType()
Gets and sets the display type when exporting to PowerPoint. The default exporting type is working as printing. The value of the property is SlideViewType integer constant.
getGridlineType()
Gets or sets gridline type. The value of the property is GridlineType integer constant. Default is Dotted type.
getIgnoreError()
Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc.
getIgnoreHiddenRows()
Inidicates whether ignoring hidden rows when converting Excel to PowerPoint.
getMergeAreas()
Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.
getOnePagePerSheet()
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.
getOutputBlankPageWhenNothingToPrint()
Indicates whether to output a blank page when there is nothing to print. Default is true.
getPageCount()
Gets or sets the number of pages to save. Default is System.Int32.MaxValue which means all pages will be rendered..
getPageIndex()
Gets or sets the 0-based index of the first page to save. Default is 0.
getPageSavingCallback()
Control/Indicate progress of page saving process.
getPrintingPageType()
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.
getRefreshChartCache()
Indicates whether refreshing chart cache data
getSaveFormat()
Gets the save file format. The value of the property is SaveFormat integer constant.
getSheetSet()
Gets or sets the sheets to render. Default is all visible sheets in the workbook: SheetSet.Visible.
getSortExternalNames()
Indicates whether sorting external defined names before saving file.
getSortNames()
Indicates whether sorting defined names before saving file.
getTextCrossType()
Gets or sets displaying text type when the text width is larger than cell width. The value of the property is TextCrossType integer constant.
getUpdateSmartArt()
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.
getValidateMergedAreas()
Indicates whether validate merged cells before saving the file. The default value is false.
getWarningCallback()
Gets or sets warning callback.
isFontSubstitutionCharGranularity()
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.
setAdjustFontSizeForRowType()
Represents what type of line needs to be adjusted size of font if height of row is small. The value of the property is AdjustFontSizeForRowType integer constant.
setAllColumnsInOnePagePerSheet()
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.
setCachedFileFolder()
The cached file folder is used to store some large data.
setCheckFontCompatibility()
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;
setCheckWorkbookDefaultFont()
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.
setClearData()
Make the workbook empty after saving the file.
setCreateDirectory()
If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.
setDefaultEditLanguage()
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 DefaultEditLanguage.AUTO.
setDefaultFont()
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.
setDrawObjectEventHandler()
Implements this interface to get DrawObject and Bound when rendering.
setEmfRenderSetting()
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 EmfRenderSetting.EMF_PLUS_PREFER is set, then EMF+ records will be parsed while rendering to page, otherwise only EMF records will be parsed. Default value is EmfRenderSetting.EMF_ONLY.
setExportViewType()
Gets and sets the display type when exporting to PowerPoint. The default exporting type is working as printing. The value of the property is SlideViewType integer constant.
setFontSubstitutionCharGranularity()
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.
setGridlineType()
Gets or sets gridline type. The value of the property is GridlineType integer constant. Default is Dotted type.
setIgnoreError()
Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc.
setIgnoreHiddenRows()
Inidicates whether ignoring hidden rows when converting Excel to PowerPoint.
setMergeAreas()
Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.
setOnePagePerSheet()
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.
setOutputBlankPageWhenNothingToPrint()
Indicates whether to output a blank page when there is nothing to print. Default is true.
setPageCount()
Gets or sets the number of pages to save. Default is System.Int32.MaxValue which means all pages will be rendered..
setPageIndex()
Gets or sets the 0-based index of the first page to save. Default is 0.
setPageSavingCallback()
Control/Indicate progress of page saving process.
setPrintingPageType()
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.
setRefreshChartCache()
Indicates whether refreshing chart cache data
setSheetSet()
Gets or sets the sheets to render. Default is all visible sheets in the workbook: SheetSet.Visible.
setSortExternalNames()
Indicates whether sorting external defined names before saving file.
setSortNames()
Indicates whether sorting defined names before saving file.
setTextCrossType()
Gets or sets displaying text type when the text width is larger than cell width. The value of the property is TextCrossType integer constant.
setUpdateSmartArt()
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.
setValidateMergedAreas()
Indicates whether validate merged cells before saving the file. The default value is false.
setWarningCallback()
Gets or sets warning callback.