public class GridHtmlSaveOptions extends GridSaveOptions
| Constructor and Description |
|---|
GridHtmlSaveOptions()
Creates options for saving html file.
|
GridHtmlSaveOptions(int format)
Creates options for saving htm file.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttachedFilesDirectory()
The directory that the attached files will be saved to.
|
java.lang.String |
getAttachedFilesUrlPrefix()
Specify the Url prefix of attached files such as image in the html file.
|
java.lang.String |
getDefaultFontName()
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.
|
Encoding |
getEncoding()
If not set,use Encoding.UTF8 as default enconding type.
|
boolean |
getExportActiveWorksheetOnly()
Indicates if exporting the whole workbook to html file.
|
GridCellArea |
getExportArea()
Gets the exporting CellArea of current active Worksheet.
|
boolean |
getExportGridLines()
Indicating whether exporting the gridlines.The default value is false.
|
boolean |
getExportHeadings()
Indicates whether exporting headings when saving file to html.The default value is false.
|
boolean |
getExportHiddenWorksheet()
Indicating if exporting the hidden worksheet content.The default value is true.
|
boolean |
getExportImagesAsBase64()
Specifies whether images are saved in Base64 format to HTML, MHTML or EPUB.
|
boolean |
getExportPrintAreaOnly()
Indicates if only exporting the print area to html file.
|
boolean |
getExportSingleTab()
Indicates whether exporting the single tab when the file only has one worksheet.
|
java.lang.String |
getPageTitle()
The title of the html page.
|
boolean |
getParseHtmlTagInCell()
Parse html tag in cell,like ,as cell value,or as html tag,default is true
|
boolean |
getPresentationPreference()
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 |
isExportComments()
Indicates if exporting comments when saving file to html, the default value is false.
|
boolean |
isFullPathLink()
Indicating whether using full path link in sheet00x.htm,filelist.xml and tabstrip.htm.
|
void |
setAttachedFilesDirectory(java.lang.String value)
The directory that the attached files will be saved to.
|
void |
setAttachedFilesUrlPrefix(java.lang.String value)
Specify the Url prefix of attached files such as image in the html file.
|
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.
|
void |
setEncoding(Encoding value)
If not set,use Encoding.UTF8 as default enconding type.
|
void |
setExportActiveWorksheetOnly(boolean value)
Indicates if exporting the whole workbook to html file.
|
void |
setExportArea(GridCellArea value)
Sets the exporting CellArea of current active Worksheet.
|
void |
setExportComments(boolean value)
Indicates if exporting comments when saving file to html, the default value is false.
|
void |
setExportGridLines(boolean value)
Indicating whether exporting the gridlines.The default value is false.
|
void |
setExportHeadings(boolean value)
Indicates whether exporting headings when saving file to html.The default value is false.
|
void |
setExportHiddenWorksheet(boolean value)
Indicating if exporting the hidden worksheet content.The default value is true.
|
void |
setExportImagesAsBase64(boolean value)
Specifies whether images are saved in Base64 format to HTML, MHTML or EPUB.
|
void |
setExportPrintAreaOnly(boolean value)
Indicates if only exporting the print area to html file.
|
void |
setExportSingleTab(boolean value)
Indicates whether exporting the single tab when the file only has one worksheet.
|
void |
setFullPathLink(boolean value)
Indicating whether using full path link in sheet00x.htm,filelist.xml and tabstrip.htm.
|
void |
setPageTitle(java.lang.String value)
The title of the html page.
|
void |
setParseHtmlTagInCell(boolean value)
Parse html tag in cell,like ,as cell value,or as html tag,default is true
|
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.
|
getCachedFileFolder, getClearData, getCreateDirectory, getMergeAreas, getRefreshChartCache, getSaveFormat, getSortNames, getValidateMergedAreas, setCachedFileFolder, setClearData, setCreateDirectory, setMergeAreas, setRefreshChartCache, setSortNames, setValidateMergedAreaspublic GridHtmlSaveOptions()
public GridHtmlSaveOptions(int format)
format - GridSaveFormat. The saving file format.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 getExportSingleTab()
public void setExportSingleTab(boolean value)
public boolean getExportImagesAsBase64()
Remarks
When this property is set to true image data is exported directly on the img elements and separate files are not created.public void setExportImagesAsBase64(boolean value)
Remarks
When this property is set to true image data is exported directly on the img elements and separate files are not created.public boolean getExportActiveWorksheetOnly()
public void setExportActiveWorksheetOnly(boolean value)
public boolean getExportPrintAreaOnly()
public void setExportPrintAreaOnly(boolean value)
public GridCellArea getExportArea()
public void setExportArea(GridCellArea value)
public boolean getParseHtmlTagInCell()
public void setParseHtmlTagInCell(boolean value)
public Encoding getEncoding()
public void setEncoding(Encoding value)
public boolean getExportHiddenWorksheet()
public void setExportHiddenWorksheet(boolean value)
public boolean getPresentationPreference()
public void setPresentationPreference(boolean value)
public boolean isFullPathLink()
public void setFullPathLink(boolean value)
public boolean getExportHeadings()
public void setExportHeadings(boolean value)
public boolean getExportGridLines()
public void setExportGridLines(boolean value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.