Constructor Summary |
---|
XpsSaveOptions()
Creates options for saving xps file. |
XpsSaveOptions(saveFormat)
Creates options for saving xps file. |
Property Getters/Setters Summary | ||
---|---|---|
function | getAllColumnsInOnePagePerSheet() | |
function | ||
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. | ||
function | getCachedFileFolder() | |
function | setCachedFileFolder(value) | |
The cached file folder is used to store some large data. | ||
function | getCheckFontCompatibility() | |
function | setCheckFontCompatibility(value) | |
Indicates whether to check font compatibility for every character in text. | ||
function | getCheckWorkbookDefaultFont() | |
function | setCheckWorkbookDefaultFont(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. | ||
function | getClearData() | |
function | setClearData(value) | |
Make the workbook empty after saving the file. | ||
function | getCreateDirectory() | |
function | setCreateDirectory(value) | |
If true and the directory does not exist, the directory will be automatically created before saving the file. | ||
function | getDefaultEditLanguage() | |
function | setDefaultEditLanguage(value) | |
Gets or sets default edit language. The value of the property is DefaultEditLanguage integer constant. | ||
function | getDefaultFont() | |
function | setDefaultFont(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. | ||
function | getDrawObjectEventHandler() | |
function | setDrawObjectEventHandler(value) | |
Implements this interface to get DrawObject and Bound when rendering. | ||
function | getEmfRenderSetting() | |
function | setEmfRenderSetting(value) | |
Setting for rendering Emf metafile. The value of the property is EmfRenderSetting integer constant. | ||
function | getGridlineType() | |
function | setGridlineType(value) | |
Gets or sets gridline type. The value of the property is GridlineType integer constant. | ||
function | getIgnoreError() | |
function | setIgnoreError(value) | |
Indicates if you need to hide the error while rendering. The error can be error in shape, image, chart rendering, etc. | ||
function | isFontSubstitutionCharGranularity() | |
function | ||
Indicates whether to only substitute the font of character when the cell font is not compatibility for it. | ||
function | getMergeAreas() | |
function | setMergeAreas(value) | |
Indicates whether merge the areas of conditional formatting and validation before saving the file. | ||
function | getOnePagePerSheet() | |
function | setOnePagePerSheet(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. | ||
function | getOutputBlankPageWhenNothingToPrint() | |
function | ||
Indicates whether to output a blank page when there is nothing to print. | ||
function | getPageCount() | |
function | setPageCount(value) | |
Gets or sets the number of pages to save. | ||
function | getPageIndex() | |
function | setPageIndex(value) | |
Gets or sets the 0-based index of the first page to save. | ||
function | getPageSavingCallback() | |
function | setPageSavingCallback(value) | |
Control/Indicate progress of page saving process. | ||
function | getPrintingPageType() | |
function | setPrintingPageType(value) | |
Indicates which pages will not be printed. The value of the property is PrintingPageType integer constant. | ||
function | getRefreshChartCache() | |
function | setRefreshChartCache(value) | |
Indicates whether refreshing chart cache data | ||
function | getSaveFormat() | |
Gets the save file format.
The value of the property is SaveFormat integer constant. |
||
function | getSheetSet() | |
function | setSheetSet(value) | |
Gets or sets the sheets to render. Default is all visible sheets in the workbook: |
||
function | getSortExternalNames() | |
function | setSortExternalNames(value) | |
Indicates whether sorting external defined names before saving file. | ||
function | getSortNames() | |
function | setSortNames(value) | |
Indicates whether sorting defined names before saving file. | ||
function | getTextCrossType() | |
function | setTextCrossType(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. | ||
function | getUpdateSmartArt() | |
function | setUpdateSmartArt(value) | |
Indicates whether updating smart art setting. The default value is false. | ||
function | getValidateMergedAreas() | |
function | setValidateMergedAreas(value) | |
Indicates whether validate merged cells before saving the file. |
function XpsSaveOptions()
function XpsSaveOptions(saveFormat)
saveFormat: Number
- A function getDefaultFont() / function setDefaultFont(value)
function getCheckWorkbookDefaultFont() / function setCheckWorkbookDefaultFont(value)
function getCheckFontCompatibility() / function setCheckFontCompatibility(value)
function isFontSubstitutionCharGranularity() / function setFontSubstitutionCharGranularity(value)
function getOnePagePerSheet() / function setOnePagePerSheet(value)
function getAllColumnsInOnePagePerSheet() / function setAllColumnsInOnePagePerSheet(value)
function getIgnoreError() / function setIgnoreError(value)
function getOutputBlankPageWhenNothingToPrint() / function setOutputBlankPageWhenNothingToPrint(value)
function getPageIndex() / function setPageIndex(value)
function getPageCount() / function setPageCount(value)
function getPrintingPageType() / function setPrintingPageType(value)
function getGridlineType() / function setGridlineType(value)
function getTextCrossType() / function setTextCrossType(value)
function getDefaultEditLanguage() / function setDefaultEditLanguage(value)
function getSheetSet() / function setSheetSet(value)
function getDrawObjectEventHandler() / function setDrawObjectEventHandler(value)
function getPageSavingCallback() / function setPageSavingCallback(value)
function getEmfRenderSetting() / function setEmfRenderSetting(value)
function getSaveFormat()
function getClearData() / function setClearData(value)
function getCachedFileFolder() / function setCachedFileFolder(value)
function getValidateMergedAreas() / function setValidateMergedAreas(value)
function getMergeAreas() / function setMergeAreas(value)
function getCreateDirectory() / function setCreateDirectory(value)
function getSortNames() / function setSortNames(value)
function getSortExternalNames() / function setSortExternalNames(value)
function getRefreshChartCache() / function setRefreshChartCache(value)
function getUpdateSmartArt() / function setUpdateSmartArt(value)