java.lang.ObjectSaveOptions
com.aspose.cells.HtmlSaveOptions
public class HtmlSaveOptions
Constructor Summary |
---|
HtmlSaveOptions()
Creates options for saving html file. |
HtmlSaveOptions(int format)
Creates options for saving htm file. |
Property Getters/Setters Summary | ||
---|---|---|
java.lang.String | getAttachedFilesDirectory() | |
void | setAttachedFilesDirectory(java.lang.String value) | |
The directory that the attached files will be saved to. Only for saving to html stream. | ||
java.lang.String | getAttachedFilesUrlPrefix() | |
void | setAttachedFilesUrlPrefix(java.lang.String value) | |
Specify the Url prefix of attached files such as image in the html file. Only for saving to html stream. | ||
java.lang.String | getCachedFileFolder() | → inherited from SaveOptions |
void | setCachedFileFolder(java.lang.String value) | |
The cached file folder is used to store some large data. | ||
java.lang.String | getCellCssPrefix() | |
void | setCellCssPrefix(java.lang.String value) | |
Gets and sets the prefix of the css name,the default value is "". | ||
boolean | getClearData() | → inherited from SaveOptions |
void | setClearData(boolean value) | |
Make the workbook empty after saving the file. | ||
boolean | getCreateDirectory() | → inherited from SaveOptions |
void | setCreateDirectory(boolean value) | |
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.String value) | |
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 | getEnableHTTPCompression() | → inherited from SaveOptions |
void | setEnableHTTPCompression(boolean value) | |
Indicates if http compression is to be used in user's IIS. | ||
Encoding | getEncoding() | |
void | setEncoding(Encoding value) | |
If not set,use Encoding.UTF8 as default enconding type. | ||
boolean | getExportActiveWorksheetOnly() | |
void | setExportActiveWorksheetOnly(boolean value) | |
Indicates if exporting the whole workbook to html file. | ||
boolean | getExportBogusRowData() | |
void | setExportBogusRowData(boolean value) | |
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(int value) | |
Indicating the rule of exporting html file data.The default value is All. The value of the property is HtmlExportDataOptions integer constant. | ||
boolean | getExportFrameScriptsAndProperties() | |
void | setExportFrameScriptsAndProperties(boolean value) | |
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(boolean value) | |
Indicating whether export the gridlines.The default value is false. | ||
boolean | getExportHiddenWorksheet() | |
void | setExportHiddenWorksheet(boolean value) | |
Indicating if exporting the hidden worksheet content.The default value is true. | ||
boolean | getExportImagesAsBase64() | |
void | setExportImagesAsBase64(boolean value) | |
Specifies whether images are saved in Base64 format to HTML, MHTML or EPUB. | ||
IExportObjectListener | getExportObjectListener() | |
void | setExportObjectListener(IExportObjectListener value) | |
Gets or sets the ExportObjectListener for exporting objects. | ||
IFilePathProvider | getFilePathProvider() | |
void | setFilePathProvider(IFilePathProvider value) | |
Gets or sets the IFilePathProvider for exporting Worksheet to html separately. | ||
int | getHiddenColDisplayType() | |
void | setHiddenColDisplayType(int value) | |
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(int value) | |
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(int value) | |
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(boolean value) | |
Indicates if export image files to temp directory. Only for saving to html stream. | ||
boolean | isFullPathLink() | |
void | setFullPathLink(boolean value) | |
Indicating whether using full path link in sheet00x.htm,filelist.xml and tabstrip.htm. The default value is false. | ||
int | getLinkTargetType() | |
void | setLinkTargetType(int value) | |
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() | → inherited from SaveOptions |
void | setMergeAreas(boolean value) | |
Indicates whether merge the areas of conditional formatting and validation before saving the file. | ||
java.lang.String | getPageTitle() | |
void | setPageTitle(java.lang.String value) | |
The title of the html page. Only for saving to html stream. | ||
boolean | getParseHtmlTagInCell() | |
void | setParseHtmlTagInCell(boolean value) | |
Parse html tag in cell,like ,as cell value,or as html tag,default is true | ||
java.lang.String | getPdfExportImagesFolder() | → inherited from SaveOptions |
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. | ||
boolean | getPresentationPreference() | |
void | setPresentationPreference(boolean value) | |
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() | → inherited from SaveOptions |
void | setRefreshChartCache(boolean value) | |
Indicates whether refreshing chart cache data | ||
int | getSaveFormat() | → inherited from SaveOptions |
Gets the save file format. The value of the property is SaveFormat integer constant. | ||
boolean | getSortNames() | → inherited from SaveOptions |
void | setSortNames(boolean value) | |
Indicates whether sorting defined names before saving file. | ||
IStreamProvider | getStreamProvider() | |
void | setStreamProvider(IStreamProvider value) | |
Gets or sets the IStreamProvider for exporting objects. | ||
boolean | getValidateMergedAreas() | → inherited from SaveOptions |
void | setValidateMergedAreas(boolean value) | |
Indicates whether validate merged cells before saving the file. | ||
IWarningCallback | getWarningCallback() | → inherited from SaveOptions |
void | setWarningCallback(IWarningCallback value) | |
Gets or sets warning callback. |
Constructor Detail |
---|
public HtmlSaveOptions()
public HtmlSaveOptions(int format)
format
- A Property Getters/Setters Detail |
---|
getPageTitle/setPageTitle | |
public java.lang.String getPageTitle() / public void setPageTitle(java.lang.String value) |
getAttachedFilesDirectory/setAttachedFilesDirectory | |
public java.lang.String getAttachedFilesDirectory() / public void setAttachedFilesDirectory(java.lang.String value) |
getAttachedFilesUrlPrefix/setAttachedFilesUrlPrefix | |
public java.lang.String getAttachedFilesUrlPrefix() / public void setAttachedFilesUrlPrefix(java.lang.String value) |
getDefaultFontName/setDefaultFontName | |
public java.lang.String getDefaultFontName() / public void setDefaultFontName(java.lang.String value) |
isExpImageToTempDir/setExpImageToTempDir | |
public boolean isExpImageToTempDir() / public void setExpImageToTempDir(boolean value) |
getExportImagesAsBase64/setExportImagesAsBase64 | |
public boolean getExportImagesAsBase64() / public void setExportImagesAsBase64(boolean value) |
getExportActiveWorksheetOnly/setExportActiveWorksheetOnly | |
public boolean getExportActiveWorksheetOnly() / public void setExportActiveWorksheetOnly(boolean value) |
getParseHtmlTagInCell/setParseHtmlTagInCell | |
public boolean getParseHtmlTagInCell() / public void setParseHtmlTagInCell(boolean value) |
getHtmlCrossStringType/setHtmlCrossStringType | |
public int getHtmlCrossStringType() / public void setHtmlCrossStringType(int value) |
getHiddenColDisplayType/setHiddenColDisplayType | |
public int getHiddenColDisplayType() / public void setHiddenColDisplayType(int value) |
getHiddenRowDisplayType/setHiddenRowDisplayType | |
public int getHiddenRowDisplayType() / public void setHiddenRowDisplayType(int value) |
getEncoding/setEncoding | |
public Encoding getEncoding() / public void setEncoding(Encoding value) |
getExportObjectListener/setExportObjectListener | |
public IExportObjectListener getExportObjectListener() / public void setExportObjectListener(IExportObjectListener value) |
getFilePathProvider/setFilePathProvider | |
public IFilePathProvider getFilePathProvider() / public void setFilePathProvider(IFilePathProvider value) |
getStreamProvider/setStreamProvider | |
public IStreamProvider getStreamProvider() / public void setStreamProvider(IStreamProvider value) |
getImageOptions | |
public ImageOrPrintOptions getImageOptions() |
getExportHiddenWorksheet/setExportHiddenWorksheet | |
public boolean getExportHiddenWorksheet() / public void setExportHiddenWorksheet(boolean value) |
getPresentationPreference/setPresentationPreference | |
public boolean getPresentationPreference() / public void setPresentationPreference(boolean value) |
getCellCssPrefix/setCellCssPrefix | |
public java.lang.String getCellCssPrefix() / public void setCellCssPrefix(java.lang.String value) |
isFullPathLink/setFullPathLink | |
public boolean isFullPathLink() / public void setFullPathLink(boolean value) |
getExportGridLines/setExportGridLines | |
public boolean getExportGridLines() / public void setExportGridLines(boolean value) |
getExportBogusRowData/setExportBogusRowData | |
public boolean getExportBogusRowData() / public void setExportBogusRowData(boolean value) |
getExportFrameScriptsAndProperties/setExportFrameScriptsAndProperties | |
public boolean getExportFrameScriptsAndProperties() / public void setExportFrameScriptsAndProperties(boolean value) |
getExportDataOptions/setExportDataOptions | |
public int getExportDataOptions() / public void setExportDataOptions(int value) |
getLinkTargetType/setLinkTargetType | |
public int getLinkTargetType() / public void setLinkTargetType(int value) |
getSaveFormat | → inherited from SaveOptions |
public int getSaveFormat() |
getClearData/setClearData | → inherited from SaveOptions |
public boolean getClearData() / public void setClearData(boolean value) |
getCachedFileFolder/setCachedFileFolder | → inherited from SaveOptions |
public java.lang.String getCachedFileFolder() / public void setCachedFileFolder(java.lang.String value) |
getValidateMergedAreas/setValidateMergedAreas | → inherited from SaveOptions |
public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value) |
getMergeAreas/setMergeAreas | → inherited from SaveOptions |
public boolean getMergeAreas() / public void setMergeAreas(boolean value) |
getCreateDirectory/setCreateDirectory | → inherited from SaveOptions |
public boolean getCreateDirectory() / public void setCreateDirectory(boolean value) |
getSortNames/setSortNames | → inherited from SaveOptions |
public boolean getSortNames() / public void setSortNames(boolean value) |
getRefreshChartCache/setRefreshChartCache | → inherited from SaveOptions |
public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value) |
getPdfExportImagesFolder/setPdfExportImagesFolder | → inherited from SaveOptions |
public java.lang.String getPdfExportImagesFolder() / public void setPdfExportImagesFolder(java.lang.String value) |
getEnableHTTPCompression/setEnableHTTPCompression | → inherited from SaveOptions |
public boolean getEnableHTTPCompression() / public void setEnableHTTPCompression(boolean value) |
getWarningCallback/setWarningCallback | → inherited from SaveOptions |
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value) |