com.aspose.cells

Class HtmlSaveOptions

  • java.lang.Object
public class HtmlSaveOptions 
extends SaveOptions

Represents the options for saving html file.

Constructor Summary
HtmlSaveOptions()
Creates options for saving html file.
HtmlSaveOptions(intformat)
Creates options for saving htm file.
 
Property Getters/Setters Summary
booleangetAddTooltipText()
void
setAddTooltipText(booleanvalue)
           Indicates whether adding tooltip text when the data can't be fully displayed. The default value is false.
java.lang.StringgetAttachedFilesDirectory()
void
setAttachedFilesDirectory(java.lang.Stringvalue)
           The directory that the attached files will be saved to. Only for saving to html stream.
java.lang.StringgetAttachedFilesUrlPrefix()
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.StringgetCachedFileFolder()
void
setCachedFileFolder(java.lang.Stringvalue)
           The cached file folder is used to store some large data.
java.lang.StringgetCellCssPrefix()
void
setCellCssPrefix(java.lang.Stringvalue)
           Gets and sets the prefix of the css name,the default value is "".
booleangetClearData()
void
setClearData(booleanvalue)
           Make the workbook empty after saving the file.
booleangetCreateDirectory()
void
setCreateDirectory(booleanvalue)
           If true and the directory does not exist, the directory will be automatically created before saving the file.
java.lang.StringgetDefaultFontName()
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.
booleangetDisableDownlevelRevealedComments()
void
           Indicates if disable Downlevel-revealed conditional comments when exporting file to html, the default value is false.
booleangetEnableHTTPCompression()
void
           Indicates if http compression is to be used in user's IIS.
com.aspose.cells.EncodinggetEncoding()
void
setEncoding(com.aspose.cells.Encodingvalue)
           If not set,use Encoding.UTF8 as default enconding type.
booleangetExcludeUnusedStyles()
void
           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.
booleangetExportActiveWorksheetOnly()
void
           Indicates if exporting the whole workbook to html file.
CellAreagetExportArea()
void
           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.
booleangetExportBogusRowData()
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.
intgetExportDataOptions()
void
           Indicating the rule of exporting html file data.The default value is All. The value of the property is HtmlExportDataOptions integer constant.
booleangetExportDocumentProperties()
void
           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.
booleangetExportFrameScriptsAndProperties()
void
           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.
booleangetExportGridLines()
void
setExportGridLines(booleanvalue)
           Indicating whether exporting the gridlines.The default value is false.
booleangetExportHeadings()
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.
booleangetExportHiddenWorksheet()
void
           Indicating if exporting the hidden worksheet content.The default value is true.
booleangetExportImagesAsBase64()
void
           Specifies whether images are saved in Base64 format to HTML, MHTML or EPUB.
IExportObjectListenergetExportObjectListener()
void
           Gets or sets the ExportObjectListener for exporting objects.
booleangetExportPrintAreaOnly()
void
           Indicates if only exporting the print area to html file. The default value is false.
booleangetExportSimilarBorderStyle()
void
           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.
booleangetExportSingleTab()
void
setExportSingleTab(booleanvalue)
           Indicates whether exporting the single tab when the file only has one worksheet. The default value is false.
booleangetExportWorkbookProperties()
void
           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.
booleangetExportWorksheetCSSSeparately()
void
           Indicating whether export the worksheet css separately.The default value is false.
booleangetExportWorksheetProperties()
void
           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.
IFilePathProvidergetFilePathProvider()
void
           Gets or sets the IFilePathProvider for exporting Worksheet to html separately.
intgetHiddenColDisplayType()
void
           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.
intgetHiddenRowDisplayType()
void
           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.
intgetHtmlCrossStringType()
void
           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.
ImageOrPrintOptionsgetImageOptions()
Get the ImageOrPrintOptions object before exporting
booleanisExpImageToTempDir()
void
setExpImageToTempDir(booleanvalue)
           Indicates whether exporting image files to temp directory. Only for saving to html stream.
booleanisExportComments()
void
setExportComments(booleanvalue)
           Indicates if exporting comments when saving file to html, the default value is false.
booleanisFullPathLink()
void
setFullPathLink(booleanvalue)
           Indicating whether using full path link in sheet00x.htm,filelist.xml and tabstrip.htm. The default value is false.
intgetLinkTargetType()
void
           Indicating the type of target attribute in <a> link,The default value is HtmlLinkTargetType.Parent. The value of the property is HtmlLinkTargetType integer constant.
booleangetMergeAreas()
void
setMergeAreas(booleanvalue)
           Indicates whether merge the areas of conditional formatting and validation before saving the file.
java.lang.StringgetPageTitle()
void
setPageTitle(java.lang.Stringvalue)
           The title of the html page. Only for saving to html stream.
booleangetParseHtmlTagInCell()
void
setParseHtmlTagInCell(booleanvalue)
           Parse html tag in cell,like
,as cell value,or as html tag,default is true
java.lang.StringgetPdfExportImagesFolder()
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.
booleangetPresentationPreference()
void
           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.
booleangetRefreshChartCache()
void
setRefreshChartCache(booleanvalue)
           Indicates whether refreshing chart cache data
intgetSaveFormat()
Gets the save file format. The value of the property is SaveFormat integer constant.
booleangetSortNames()
void
setSortNames(booleanvalue)
           Indicates whether sorting defined names before saving file.
IStreamProvidergetStreamProvider()
void
           Gets or sets the IStreamProvider for exporting objects.
java.lang.StringgetTableCssId()
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 "".
booleangetValidateMergedAreas()
void
           Indicates whether validate merged cells before saving the file.
IWarningCallbackgetWarningCallback()
void
           Gets or sets warning callback.
booleangetWidthScalable()
void
setWidthScalable(booleanvalue)
           Indicates whether using scalable unit to describe the column width when exporting file to html. The default value is false.
 

    • Constructor Detail

      • HtmlSaveOptions

        public HtmlSaveOptions()
        Creates options for saving html file.
      • HtmlSaveOptions

        public HtmlSaveOptions(int format)
        Creates options for saving htm file.
        Parameters:
        format - A SaveFormat value. The saving file format.
    • Property Getters/Setters Detail

      • getPageTitle/setPageTitle

        public java.lang.String getPageTitle() / public void setPageTitle(java.lang.String value)
        
        The title of the html page. Only for saving to html stream.
      • getAttachedFilesDirectory/setAttachedFilesDirectory

        public java.lang.String getAttachedFilesDirectory() / public void setAttachedFilesDirectory(java.lang.String value)
        
        The directory that the attached files will be saved to. Only for saving to html stream.
      • getAttachedFilesUrlPrefix/setAttachedFilesUrlPrefix

        public java.lang.String getAttachedFilesUrlPrefix() / public 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.
      • getDefaultFontName/setDefaultFontName

        public java.lang.String getDefaultFontName() / public 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.
      • isExportComments/setExportComments

        public boolean isExportComments() / public void setExportComments(boolean value)
        
        Indicates if exporting comments when saving file to html, the default value is false.
      • getDisableDownlevelRevealedComments/setDisableDownlevelRevealedComments

        public boolean getDisableDownlevelRevealedComments() / public void setDisableDownlevelRevealedComments(boolean value)
        
        Indicates if disable Downlevel-revealed conditional comments when exporting file to html, the default value is false.
      • isExpImageToTempDir/setExpImageToTempDir

        public boolean isExpImageToTempDir() / public void setExpImageToTempDir(boolean value)
        
        Indicates whether exporting image files to temp directory. Only for saving to html stream.
      • getWidthScalable/setWidthScalable

        public boolean getWidthScalable() / public void setWidthScalable(boolean value)
        
        Indicates whether using scalable unit to describe the column width when exporting file to html. The default value is false.
      • getExportSingleTab/setExportSingleTab

        public boolean getExportSingleTab() / public void setExportSingleTab(boolean value)
        
        Indicates whether exporting the single tab when the file only has one worksheet. The default value is false.
      • getExportImagesAsBase64/setExportImagesAsBase64

        public boolean getExportImagesAsBase64() / public void setExportImagesAsBase64(boolean value)
        
        Specifies whether images are saved in Base64 format to HTML, MHTML or EPUB. When this property is set to true image data is exported directly on the img elements and separate files are not created.
      • getExportActiveWorksheetOnly/setExportActiveWorksheetOnly

        public boolean getExportActiveWorksheetOnly() / public void setExportActiveWorksheetOnly(boolean value)
        
        Indicates if exporting the whole workbook to html file.
      • getExportPrintAreaOnly/setExportPrintAreaOnly

        public boolean getExportPrintAreaOnly() / public void setExportPrintAreaOnly(boolean value)
        
        Indicates if only exporting the print area to html file. The default value is false.
      • getExportArea/setExportArea

        public CellArea getExportArea() / public 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.
      • getParseHtmlTagInCell/setParseHtmlTagInCell

        public boolean getParseHtmlTagInCell() / public void setParseHtmlTagInCell(boolean value)
        
        Parse html tag in cell,like
        ,as cell value,or as html tag,default is true
      • getHtmlCrossStringType/setHtmlCrossStringType

        public int getHtmlCrossStringType() / public 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.
      • getHiddenColDisplayType/setHiddenColDisplayType

        public int getHiddenColDisplayType() / public 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.
      • getHiddenRowDisplayType/setHiddenRowDisplayType

        public int getHiddenRowDisplayType() / public 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.
      • getEncoding/setEncoding

        public com.aspose.cells.Encoding getEncoding() / public void setEncoding(com.aspose.cells.Encoding value)
        
        If not set,use Encoding.UTF8 as default enconding type.
      • getExportObjectListener/setExportObjectListener

        public IExportObjectListener getExportObjectListener() / public void setExportObjectListener(IExportObjectListener value)
        
        Gets or sets the ExportObjectListener for exporting objects. NOTE: This property is now obsolete. Instead, please use HtmlSaveOptions.IStreamProvider property. This property will be removed 12 months later since August 2015. Aspose apologizes for any inconvenience you may have experienced.
      • getFilePathProvider/setFilePathProvider

        public IFilePathProvider getFilePathProvider() / public void setFilePathProvider(IFilePathProvider value)
        
        Gets or sets the IFilePathProvider for exporting Worksheet to html separately.
      • getStreamProvider/setStreamProvider

        public IStreamProvider getStreamProvider() / public void setStreamProvider(IStreamProvider value)
        
        Gets or sets the IStreamProvider for exporting objects.
      • getImageOptions

        public ImageOrPrintOptions getImageOptions()
        
        Get the ImageOrPrintOptions object before exporting
      • getExportHiddenWorksheet/setExportHiddenWorksheet

        public boolean getExportHiddenWorksheet() / public void setExportHiddenWorksheet(boolean value)
        
        Indicating if exporting the hidden worksheet content.The default value is true.
      • getPresentationPreference/setPresentationPreference

        public boolean getPresentationPreference() / public 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.
      • getCellCssPrefix/setCellCssPrefix

        public java.lang.String getCellCssPrefix() / public void setCellCssPrefix(java.lang.String value)
        
        Gets and sets the prefix of the css name,the default value is "".
      • getTableCssId/setTableCssId

        public java.lang.String getTableCssId() / public void setTableCssId(java.lang.String value)
        
        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 "".
      • isFullPathLink/setFullPathLink

        public boolean isFullPathLink() / public void setFullPathLink(boolean value)
        
        Indicating whether using full path link in sheet00x.htm,filelist.xml and tabstrip.htm. The default value is false.
      • getExportWorksheetCSSSeparately/setExportWorksheetCSSSeparately

        public boolean getExportWorksheetCSSSeparately() / public void setExportWorksheetCSSSeparately(boolean value)
        
        Indicating whether export the worksheet css separately.The default value is false.
      • getExportSimilarBorderStyle/setExportSimilarBorderStyle

        public boolean getExportSimilarBorderStyle() / public void setExportSimilarBorderStyle(boolean value)
        
        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.
      • getExportHeadings/setExportHeadings

        public boolean getExportHeadings() / public void setExportHeadings(boolean value)
        
        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.
      • getAddTooltipText/setAddTooltipText

        public boolean getAddTooltipText() / public void setAddTooltipText(boolean value)
        
        Indicates whether adding tooltip text when the data can't be fully displayed. The default value is false.
      • getExportGridLines/setExportGridLines

        public boolean getExportGridLines() / public void setExportGridLines(boolean value)
        
        Indicating whether exporting the gridlines.The default value is false.
      • getExportBogusRowData/setExportBogusRowData

        public boolean getExportBogusRowData() / public 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.
      • getExcludeUnusedStyles/setExcludeUnusedStyles

        public boolean getExcludeUnusedStyles() / public void setExcludeUnusedStyles(boolean value)
        
        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.
      • getExportDocumentProperties/setExportDocumentProperties

        public boolean getExportDocumentProperties() / public void setExportDocumentProperties(boolean value)
        
        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.
      • getExportWorksheetProperties/setExportWorksheetProperties

        public boolean getExportWorksheetProperties() / public void setExportWorksheetProperties(boolean value)
        
        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.
      • getExportWorkbookProperties/setExportWorkbookProperties

        public boolean getExportWorkbookProperties() / public void setExportWorkbookProperties(boolean value)
        
        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.
      • getExportFrameScriptsAndProperties/setExportFrameScriptsAndProperties

        public boolean getExportFrameScriptsAndProperties() / public 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.
      • getExportDataOptions/setExportDataOptions

        public int getExportDataOptions() / public 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.
      • getLinkTargetType/setLinkTargetType

        public int getLinkTargetType() / public 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.
      • getSaveFormat

        public int getSaveFormat()
        
        Gets the save file format. The value of the property is SaveFormat integer constant.
      • getClearData/setClearData

        public boolean getClearData() / public void setClearData(boolean value)
        
        Make the workbook empty after saving the file.
      • getCachedFileFolder/setCachedFileFolder

        public java.lang.String getCachedFileFolder() / public void setCachedFileFolder(java.lang.String value)
        
        The cached file folder is used to store some large data.
      • getValidateMergedAreas/setValidateMergedAreas

        public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value)
        
        Indicates whether validate merged cells before saving the file. The default value is false.
      • getMergeAreas/setMergeAreas

        public boolean getMergeAreas() / public void setMergeAreas(boolean value)
        
        Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.
      • getCreateDirectory/setCreateDirectory

        public boolean getCreateDirectory() / public void setCreateDirectory(boolean value)
        
        If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.
      • getSortNames/setSortNames

        public boolean getSortNames() / public void setSortNames(boolean value)
        
        Indicates whether sorting defined names before saving file.
      • getRefreshChartCache/setRefreshChartCache

        public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value)
        
        Indicates whether refreshing chart cache data
      • getPdfExportImagesFolder/setPdfExportImagesFolder

        public java.lang.String getPdfExportImagesFolder() / public 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.
      • getEnableHTTPCompression/setEnableHTTPCompression

        public boolean getEnableHTTPCompression() / public void setEnableHTTPCompression(boolean value)
        
        Indicates if http compression is to be used in user's IIS. Please specify this property to true if http compression is used.
      • getWarningCallback/setWarningCallback

        public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)
        
        Gets or sets warning callback.

    setPageTitle

    public voidsetPageTitle(java.lang.Stringvalue)
    
    The title of the html page. Only for saving to html stream.

    setAttachedFilesDirectory

    public voidsetAttachedFilesDirectory(java.lang.Stringvalue)
    
    The directory that the attached files will be saved to. Only for saving to html stream.

    setAttachedFilesUrlPrefix

    public voidsetAttachedFilesUrlPrefix(java.lang.Stringvalue)
    
    Specify the Url prefix of attached files such as image in the html file. Only for saving to html stream.

    setDefaultFontName

    public voidsetDefaultFontName(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.

    setExportComments

    public voidsetExportComments(booleanvalue)
    
    Indicates if exporting comments when saving file to html, the default value is false.

    setDisableDownlevelRevealedComments

    public voidsetDisableDownlevelRevealedComments(booleanvalue)
    
    Indicates if disable Downlevel-revealed conditional comments when exporting file to html, the default value is false.

    setExpImageToTempDir

    public voidsetExpImageToTempDir(booleanvalue)
    
    Indicates whether exporting image files to temp directory. Only for saving to html stream.

    setWidthScalable

    public voidsetWidthScalable(booleanvalue)
    
    Indicates whether using scalable unit to describe the column width when exporting file to html. The default value is false.

    setExportSingleTab

    public voidsetExportSingleTab(booleanvalue)
    
    Indicates whether exporting the single tab when the file only has one worksheet. The default value is false.

    setExportImagesAsBase64

    public voidsetExportImagesAsBase64(booleanvalue)
    
    Specifies whether images are saved in Base64 format to HTML, MHTML or EPUB. When this property is set to true image data is exported directly on the img elements and separate files are not created.

    setExportActiveWorksheetOnly

    public voidsetExportActiveWorksheetOnly(booleanvalue)
    
    Indicates if exporting the whole workbook to html file.

    setExportPrintAreaOnly

    public voidsetExportPrintAreaOnly(booleanvalue)
    
    Indicates if only exporting the print area to html file. The default value is false.

    setExportArea

    public voidsetExportArea(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.

    setParseHtmlTagInCell

    public voidsetParseHtmlTagInCell(booleanvalue)
    
    Parse html tag in cell,like
    ,as cell value,or as html tag,default is true

    setHtmlCrossStringType

    public voidsetHtmlCrossStringType(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.

    setHiddenColDisplayType

    public voidsetHiddenColDisplayType(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.

    setHiddenRowDisplayType

    public voidsetHiddenRowDisplayType(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.

    setEncoding

    public voidsetEncoding(com.aspose.cells.Encodingvalue)
    
    If not set,use Encoding.UTF8 as default enconding type.

    setExportObjectListener

    public voidsetExportObjectListener(IExportObjectListener value)
    
    Gets or sets the ExportObjectListener for exporting objects. NOTE: This property is now obsolete. Instead, please use HtmlSaveOptions.IStreamProvider property. This property will be removed 12 months later since August 2015. Aspose apologizes for any inconvenience you may have experienced.

    setFilePathProvider

    public voidsetFilePathProvider(IFilePathProvider value)
    
    Gets or sets the IFilePathProvider for exporting Worksheet to html separately.

    setStreamProvider

    public voidsetStreamProvider(IStreamProvider value)
    
    Gets or sets the IStreamProvider for exporting objects.

    setExportHiddenWorksheet

    public voidsetExportHiddenWorksheet(booleanvalue)
    
    Indicating if exporting the hidden worksheet content.The default value is true.

    setPresentationPreference

    public voidsetPresentationPreference(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.

    setCellCssPrefix

    public voidsetCellCssPrefix(java.lang.Stringvalue)
    
    Gets and sets the prefix of the css name,the default value is "".

    setTableCssId

    public voidsetTableCssId(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 "".

    setFullPathLink

    public voidsetFullPathLink(booleanvalue)
    
    Indicating whether using full path link in sheet00x.htm,filelist.xml and tabstrip.htm. The default value is false.

    setExportWorksheetCSSSeparately

    public voidsetExportWorksheetCSSSeparately(booleanvalue)
    
    Indicating whether export the worksheet css separately.The default value is false.

    setExportSimilarBorderStyle

    public voidsetExportSimilarBorderStyle(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.

    setExportHeadings

    public voidsetExportHeadings(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.

    setAddTooltipText

    public voidsetAddTooltipText(booleanvalue)
    
    Indicates whether adding tooltip text when the data can't be fully displayed. The default value is false.

    setExportGridLines

    public voidsetExportGridLines(booleanvalue)
    
    Indicating whether exporting the gridlines.The default value is false.

    setExportBogusRowData

    public voidsetExportBogusRowData(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.

    setExcludeUnusedStyles

    public voidsetExcludeUnusedStyles(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.

    setExportDocumentProperties

    public voidsetExportDocumentProperties(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.

    setExportWorksheetProperties

    public voidsetExportWorksheetProperties(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.

    setExportWorkbookProperties

    public voidsetExportWorkbookProperties(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.

    setExportFrameScriptsAndProperties

    public voidsetExportFrameScriptsAndProperties(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.

    setExportDataOptions

    public voidsetExportDataOptions(intvalue)
    
    Indicating the rule of exporting html file data.The default value is All. The value of the property is HtmlExportDataOptions integer constant.

    setLinkTargetType

    public voidsetLinkTargetType(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.

    setClearData

    public voidsetClearData(booleanvalue)
    
    Make the workbook empty after saving the file.

    setCachedFileFolder

    public voidsetCachedFileFolder(java.lang.Stringvalue)
    
    The cached file folder is used to store some large data.

    setValidateMergedAreas

    public voidsetValidateMergedAreas(booleanvalue)
    
    Indicates whether validate merged cells before saving the file. The default value is false.

    setMergeAreas

    public voidsetMergeAreas(booleanvalue)
    
    Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.

    setCreateDirectory

    public voidsetCreateDirectory(booleanvalue)
    
    If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.

    setSortNames

    public voidsetSortNames(booleanvalue)
    
    Indicates whether sorting defined names before saving file.

    setRefreshChartCache

    public voidsetRefreshChartCache(booleanvalue)
    
    Indicates whether refreshing chart cache data

    setPdfExportImagesFolder

    public voidsetPdfExportImagesFolder(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.

    setEnableHTTPCompression

    public voidsetEnableHTTPCompression(booleanvalue)
    
    Indicates if http compression is to be used in user's IIS. Please specify this property to true if http compression is used.

    setWarningCallback

    public voidsetWarningCallback(IWarningCallback value)
    
    Gets or sets warning callback.