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