public class HtmlSaveOptions
Constructor Summary |
---|
HtmlSaveOptions()
Creates options for saving html file. |
HtmlSaveOptions(intformat)
Creates options for saving htm file. |
Property Getters/Setters Summary | ||
---|---|---|
boolean | getAddTooltipText() | |
void | setAddTooltipText(booleanvalue) | |
Indicates whether adding tooltip text when the data can't be fully displayed. The default value is false. | ||
java.lang.String | getAttachedFilesDirectory() | |
void | setAttachedFilesDirectory(java.lang.Stringvalue) | |
The directory that the attached files will be saved to. Only for saving to html stream. | ||
java.lang.String | getAttachedFilesUrlPrefix() | |
void | setAttachedFilesUrlPrefix(java.lang.Stringvalue) | |
Specify the Url prefix of attached files such as image in the html file. Only for saving to html stream. | ||
java.lang.String | getCachedFileFolder() | |
void | setCachedFileFolder(java.lang.Stringvalue) | |
The cached file folder is used to store some large data. | ||
java.lang.String | getCellCssPrefix() | |
void | setCellCssPrefix(java.lang.Stringvalue) | |
Gets and sets the prefix of the css name,the default value is "". | ||
boolean | getClearData() | |
void | setClearData(booleanvalue) | |
Make the workbook empty after saving the file. | ||
boolean | getCreateDirectory() | |
void | setCreateDirectory(booleanvalue) | |
If true and the directory does not exist, the directory will be automatically created before saving the file. | ||
java.lang.String | getDefaultFontName() | |
void | setDefaultFontName(java.lang.Stringvalue) | |
Specify the default font name for exporting html, the default font will be used when the font of style is not existing, If this property is null, Aspose.Cells will use universal font which have the same family with the original font, the default value is null. | ||
boolean | getDisableDownlevelRevealedComments() | |
void | setDisableDownlevelRevealedComments(booleanvalue) | |
Indicates if disable Downlevel-revealed conditional comments when exporting file to html, the default value is false. | ||
boolean | getEnableHTTPCompression() | |
void | setEnableHTTPCompression(booleanvalue) | |
Indicates if http compression is to be used in user's IIS. | ||
com.aspose.cells.Encoding | getEncoding() | |
void | setEncoding(com.aspose.cells.Encodingvalue) | |
If not set,use Encoding.UTF8 as default enconding type. | ||
boolean | getExcludeUnusedStyles() | |
void | setExcludeUnusedStyles(booleanvalue) | |
Indicating whether excluding unused styles.The default value is false.If you want to import the html or mht file to excel, please keep the default value. | ||
boolean | getExportActiveWorksheetOnly() | |
void | setExportActiveWorksheetOnly(booleanvalue) | |
Indicates if exporting the whole workbook to html file. | ||
CellArea | getExportArea() | |
void | setExportArea(CellArea value) | |
Gets or Sets the exporting CellArea of current active Worksheet. If you set this attribute, the print area of current active Worksheet will be omited. Only the specified area will be exported when saving the file to html. | ||
boolean | getExportBogusRowData() | |
void | setExportBogusRowData(booleanvalue) | |
Indicating whether exporting bogus bottom row data. The default value is true.If you want to import the html or mht file to excel, please keep the default value. | ||
int | getExportDataOptions() | |
void | setExportDataOptions(intvalue) | |
Indicating the rule of exporting html file data.The default value is All. The value of the property is HtmlExportDataOptions integer constant. | ||
boolean | getExportDocumentProperties() | |
void | setExportDocumentProperties(booleanvalue) | |
Indicating whether exporting document properties.The default value is true.If you want to import the html or mht file to excel, please keep the default value. | ||
boolean | getExportFrameScriptsAndProperties() | |
void | setExportFrameScriptsAndProperties(booleanvalue) | |
Indicating whether exporting frame scripts and document properties. The default value is true.If you want to import the html or mht file to excel, please keep the default value. | ||
boolean | getExportGridLines() | |
void | setExportGridLines(booleanvalue) | |
Indicating whether exporting the gridlines.The default value is false. | ||
boolean | getExportHeadings() | |
void | setExportHeadings(booleanvalue) | |
Indicates whether exporting headings when saving file to html.The default value is false. If you want to import the html file to excel, please keep the default value. | ||
boolean | getExportHiddenWorksheet() | |
void | setExportHiddenWorksheet(booleanvalue) | |
Indicating if exporting the hidden worksheet content.The default value is true. | ||
boolean | getExportImagesAsBase64() | |
void | setExportImagesAsBase64(booleanvalue) | |
Specifies whether images are saved in Base64 format to HTML, MHTML or EPUB. | ||
IExportObjectListener | getExportObjectListener() | |
void | ||
Gets or sets the ExportObjectListener for exporting objects. | ||
boolean | getExportPrintAreaOnly() | |
void | setExportPrintAreaOnly(booleanvalue) | |
Indicates if only exporting the print area to html file. The default value is false. | ||
boolean | getExportSimilarBorderStyle() | |
void | setExportSimilarBorderStyle(booleanvalue) | |
Indicating whether exporting the similar border style when the border style is not supported by browsers. If you want to import the html or mht file to excel, please keep the default value. The default value is false. | ||
boolean | getExportSingleTab() | |
void | setExportSingleTab(booleanvalue) | |
Indicates whether exporting the single tab when the file only has one worksheet. The default value is false. | ||
boolean | getExportWorkbookProperties() | |
void | setExportWorkbookProperties(booleanvalue) | |
Indicating whether exporting workbook properties.The default value is true.If you want to import the html or mht file to excel, please keep the default value. | ||
boolean | getExportWorksheetCSSSeparately() | |
void | setExportWorksheetCSSSeparately(booleanvalue) | |
Indicating whether export the worksheet css separately.The default value is false. | ||
boolean | getExportWorksheetProperties() | |
void | setExportWorksheetProperties(booleanvalue) | |
Indicating whether exporting worksheet properties.The default value is true.If you want to import the html or mht file to excel, please keep the default value. | ||
IFilePathProvider | getFilePathProvider() | |
void | ||
Gets or sets the IFilePathProvider for exporting Worksheet to html separately. | ||
int | getHiddenColDisplayType() | |
void | setHiddenColDisplayType(intvalue) | |
Hidden column(the width of this column is 0) in excel,before save this into html format, if HtmlHiddenColDisplayType is "Remove",the hidden column would ont been output, if the value is "Hidden", the column would been output,but was hidden,the default value is "Hidden" The value of the property is HtmlHiddenColDisplayType integer constant. | ||
int | getHiddenRowDisplayType() | |
void | setHiddenRowDisplayType(intvalue) | |
Hidden row(the height of this row is 0) in excel,before save this into html format, if HtmlHiddenRowDisplayType is "Remove",the hidden row would ont been output, if the value is "Hidden", the row would been output,but was hidden,the default value is "Hidden" The value of the property is HtmlHiddenRowDisplayType integer constant. | ||
int | getHtmlCrossStringType() | |
void | setHtmlCrossStringType(intvalue) | |
Indicates if a cross-cell string will be displayed in the same way as MS Excel when saving an Excel file in html format. By default the value is Default, so, for cross-cell strings, there is little difference between the html files created by Aspose.Cells and MS Excel. But the performance for creating large html files,setting the value to Cross would be several times faster than setting it to Default or Fit2Cell. The value of the property is HtmlCrossType integer constant. | ||
ImageOrPrintOptions | getImageOptions() | |
Get the ImageOrPrintOptions object before exporting
|
||
boolean | isExpImageToTempDir() | |
void | setExpImageToTempDir(booleanvalue) | |
Indicates whether exporting image files to temp directory. Only for saving to html stream. | ||
boolean | isExportComments() | |
void | setExportComments(booleanvalue) | |
Indicates if exporting comments when saving file to html, the default value is false. | ||
boolean | isFullPathLink() | |
void | setFullPathLink(booleanvalue) | |
Indicating whether using full path link in sheet00x.htm,filelist.xml and tabstrip.htm. The default value is false. | ||
int | getLinkTargetType() | |
void | setLinkTargetType(intvalue) | |
Indicating the type of target attribute in <a> link,The default value is HtmlLinkTargetType.Parent. The value of the property is HtmlLinkTargetType integer constant. | ||
boolean | getMergeAreas() | |
void | setMergeAreas(booleanvalue) | |
Indicates whether merge the areas of conditional formatting and validation before saving the file. | ||
java.lang.String | getPageTitle() | |
void | setPageTitle(java.lang.Stringvalue) | |
The title of the html page. Only for saving to html stream. | ||
boolean | getParseHtmlTagInCell() | |
void | setParseHtmlTagInCell(booleanvalue) | |
Parse html tag in cell,like ,as cell value,or as html tag,default is true | ||
java.lang.String | getPdfExportImagesFolder() | |
void | setPdfExportImagesFolder(java.lang.Stringvalue) | |
The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string. | ||
boolean | getPresentationPreference() | |
void | setPresentationPreference(booleanvalue) | |
Indicating if html or mht file is presentation preference.The default value is false.if you want to get more beautiful presentation,please set the value to true. | ||
boolean | getRefreshChartCache() | |
void | setRefreshChartCache(booleanvalue) | |
Indicates whether refreshing chart cache data | ||
int | getSaveFormat() | |
Gets the save file format.
The value of the property is SaveFormat integer constant. |
||
boolean | getSortNames() | |
void | setSortNames(booleanvalue) | |
Indicates whether sorting defined names before saving file. | ||
IStreamProvider | getStreamProvider() | |
void | setStreamProvider(IStreamProvider value) | |
Gets or sets the IStreamProvider for exporting objects. | ||
java.lang.String | getTableCssId() | |
void | setTableCssId(java.lang.Stringvalue) | |
Gets and sets the prefix of the type css name such as tr,col,td and so on, they are contained in the table element which has the specific TableCssId attribute. The default value is "". | ||
boolean | getValidateMergedAreas() | |
void | setValidateMergedAreas(booleanvalue) | |
Indicates whether validate merged cells before saving the file. | ||
IWarningCallback | getWarningCallback() | |
void | ||
Gets or sets warning callback. | ||
boolean | getWidthScalable() | |
void | setWidthScalable(booleanvalue) | |
Indicates whether using scalable unit to describe the column width when exporting file to html. The default value is false. |
public HtmlSaveOptions()
public HtmlSaveOptions(int format)
format
- A public java.lang.String getPageTitle() / public void setPageTitle(java.lang.String value)
public java.lang.String getAttachedFilesDirectory() / public void setAttachedFilesDirectory(java.lang.String value)
public java.lang.String getAttachedFilesUrlPrefix() / public void setAttachedFilesUrlPrefix(java.lang.String value)
public java.lang.String getDefaultFontName() / public void setDefaultFontName(java.lang.String value)
public boolean isExportComments() / public void setExportComments(boolean value)
public boolean getDisableDownlevelRevealedComments() / public void setDisableDownlevelRevealedComments(boolean value)
public boolean isExpImageToTempDir() / public void setExpImageToTempDir(boolean value)
public boolean getWidthScalable() / public void setWidthScalable(boolean value)
public boolean getExportSingleTab() / public void setExportSingleTab(boolean value)
public boolean getExportImagesAsBase64() / public void setExportImagesAsBase64(boolean value)
public boolean getExportActiveWorksheetOnly() / public void setExportActiveWorksheetOnly(boolean value)
public boolean getExportPrintAreaOnly() / public void setExportPrintAreaOnly(boolean value)
public CellArea getExportArea() / public void setExportArea(CellArea value)
public boolean getParseHtmlTagInCell() / public void setParseHtmlTagInCell(boolean value)
public int getHtmlCrossStringType() / public void setHtmlCrossStringType(int value)
public int getHiddenColDisplayType() / public void setHiddenColDisplayType(int value)
public int getHiddenRowDisplayType() / public void setHiddenRowDisplayType(int value)
public com.aspose.cells.Encoding getEncoding() / public void setEncoding(com.aspose.cells.Encoding value)
public IExportObjectListener getExportObjectListener() / public void setExportObjectListener(IExportObjectListener value)
public IFilePathProvider getFilePathProvider() / public void setFilePathProvider(IFilePathProvider value)
public IStreamProvider getStreamProvider() / public void setStreamProvider(IStreamProvider value)
public ImageOrPrintOptions getImageOptions()
public boolean getExportHiddenWorksheet() / public void setExportHiddenWorksheet(boolean value)
public boolean getPresentationPreference() / public void setPresentationPreference(boolean value)
public java.lang.String getCellCssPrefix() / public void setCellCssPrefix(java.lang.String value)
public java.lang.String getTableCssId() / public void setTableCssId(java.lang.String value)
public boolean isFullPathLink() / public void setFullPathLink(boolean value)
public boolean getExportWorksheetCSSSeparately() / public void setExportWorksheetCSSSeparately(boolean value)
public boolean getExportSimilarBorderStyle() / public void setExportSimilarBorderStyle(boolean value)
public boolean getExportHeadings() / public void setExportHeadings(boolean value)
public boolean getAddTooltipText() / public void setAddTooltipText(boolean value)
public boolean getExportGridLines() / public void setExportGridLines(boolean value)
public boolean getExportBogusRowData() / public void setExportBogusRowData(boolean value)
public boolean getExcludeUnusedStyles() / public void setExcludeUnusedStyles(boolean value)
public boolean getExportDocumentProperties() / public void setExportDocumentProperties(boolean value)
public boolean getExportWorksheetProperties() / public void setExportWorksheetProperties(boolean value)
public boolean getExportWorkbookProperties() / public void setExportWorkbookProperties(boolean value)
public boolean getExportFrameScriptsAndProperties() / public void setExportFrameScriptsAndProperties(boolean value)
public int getExportDataOptions() / public void setExportDataOptions(int value)
public int getLinkTargetType() / public void setLinkTargetType(int value)
public int getSaveFormat()
public boolean getClearData() / public void setClearData(boolean value)
public java.lang.String getCachedFileFolder() / public void setCachedFileFolder(java.lang.String value)
public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value)
public boolean getMergeAreas() / public void setMergeAreas(boolean value)
public boolean getCreateDirectory() / public void setCreateDirectory(boolean value)
public boolean getSortNames() / public void setSortNames(boolean value)
public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value)
public java.lang.String getPdfExportImagesFolder() / public void setPdfExportImagesFolder(java.lang.String value)
public boolean getEnableHTTPCompression() / public void setEnableHTTPCompression(boolean value)
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)