com.aspose.cells
Classes 
AboveAverage
AbstractCalculationEngine
AbstractCalculationMonitor
AbstractGlobalizationSettings
AbstractInterruptMonitor
AbstractTextLoadOptions
ActiveXControl
ActiveXControlBase
ArcShape
Area
AutoFilter
AutoFitterOptions
AutomaticFill
AutoNumberedBulletValue
Axis
AxisBins
BaseShapeGuide
Bevel
Border
BorderCollection
BuiltInDocumentPropertyCollection
Bullet
BulletValue
Button
CalculationCell
CalculationData
CalculationOptions
Cell
CellArea
Cells
CellsColor
CellsDataTableFactory
CellsDrawing
CellsException
CellsFactory
CellsHelper
CellWatch
CellWatchCollection
CharacterBulletValue
Chart
ChartArea
ChartCollection
ChartDataTable
ChartFrame
ChartGlobalizationSettings
ChartPoint
ChartPointCollection
ChartShape
ChartTextFrame
CheckBox
CheckBoxActiveXControl
CheckBoxCollection
CollectionBase
Color
ColorFilter
ColorHelper
ColorScale
Column
ColumnCollection
ComboBox
ComboBoxActiveXControl
CommandButtonActiveXControl
Comment
CommentCollection
CommentShape
ConditionalFormattingCollection
ConditionalFormattingIcon
ConditionalFormattingIconCollection
ConditionalFormattingResult
ConditionalFormattingValue
ConditionalFormattingValueCollection
ConnectionParameter
ConnectionParameterCollection
ContentTypeProperty
ContentTypePropertyCollection
CopyOptions
CustomDocumentPropertyCollection
CustomFilter
CustomFilterCollection
CustomGeometry
CustomImplementationFactory
CustomProperty
CustomPropertyCollection
CustomXmlPart
CustomXmlPartCollection
CustomXmlShape
DataBar
DataBarBorder
DataLabels
DataSorter
DataSorterKey
DataSorterKeyCollection
DateTime
DateTimeGroupItem
DBConnection
DefaultStyleSettings
DeleteOptions
DialogBox
DifSaveOptions
DigitalSignature
DigitalSignatureCollection
DisplayUnitLabel
DocumentProperty
DocumentPropertyCollection
DocxSaveOptions
DrawObject
DrawObjectEventHandler
DropBars
DxfCollection
DynamicFilter
Encoding
ErrorBar
ErrorCheckOption
ErrorCheckOptionCollection
ExportObjectEvent
ExportRangeToJsonOptions
ExportTableOptions
ExternalConnection
ExternalConnectionCollection
ExternalLink
ExternalLinkCollection
FileFontSource
FileFormatInfo
FileFormatUtil
Fill
FillFormat
FilterColumn
FilterColumnCollection
FindOptions
Floor
FolderFontSource
Font
FontConfigs
FontSetting
FontSettingCollection
FontSourceBase
Format3D
FormatCondition
FormatConditionCollection
FormulaParseOptions
FormulaSettings
Geometry
GlobalizationSettings
GlowEffect
GradientFill
GradientStop
GradientStopCollection
GroupBox
GroupFill
GroupShape
HeaderFooterCommand
HorizontalPageBreak
HorizontalPageBreakCollection
HtmlLoadOptions
HtmlSaveOptions
Hyperlink
HyperlinkCollection
IconFilter
IconSet
ImageActiveXControl
ImageFormat
ImageOrPrintOptions
ImageSaveOptions
ImportTableOptions
IndividualFontConfigs
InsertOptions
InterruptMonitor
JsonLayoutOptions
JsonLoadOptions
JsonSaveOptions
JsonUtility
Label
LabelActiveXControl
Legend
LegendEntry
LegendEntryCollection
License
Line
LineFormat
LineShape
ListBox
ListBoxActiveXControl
ListColumn
ListColumnCollection
ListObject
ListObjectCollection
LoadFilter
LoadOptions
MarkdownSaveOptions
Marker
MemoryFontSource
MetadataOptions
Metered
MsoFillFormat
MsoFillFormatHelper
MsoFormatPicture
MsoLineFormat
MsoLineFormatHelper
MsoTextFrame
MultipleFilterCollection
Name
NameCollection
NegativeBarFormat
NoneBulletValue
NoneFill
OdsCellField
OdsCellFieldCollection
OdsLoadOptions
OdsPageBackground
OdsSaveOptions
OleObject
OleObjectCollection
OoxmlSaveOptions
Outline
Oval
PageEndSavingArgs
PageSavingArgs
PageSetup
PageStartSavingArgs
PaginatedSaveOptions
PaneCollection
PasteOptions
PatternFill
PdfBookmarkEntry
PdfSaveOptions
PdfSecurityOptions
PicFormatOption
Picture
PictureBulletValue
PictureCollection
PivotField
PivotFieldCollection
PivotFilter
PivotFilterCollection
PivotFormatCondition
PivotFormatConditionCollection
PivotItem
PivotItemCollection
PivotOptions
PivotPageFields
PivotTable
PivotTableCollection
PlotArea
PptxSaveOptions
ProtectedRange
ProtectedRangeCollection
Protection
QueryTable
QueryTableCollection
RadioButton
RadioButtonActiveXControl
Range
RangeCollection
RectangleShape
ReferredArea
ReferredAreaCollection
ReflectionEffect
ReplaceOptions
Revision
RevisionAutoFormat
RevisionCellChange
RevisionCellComment
RevisionCellMove
RevisionCollection
RevisionCustomView
RevisionDefinedName
RevisionFormat
RevisionInsertDelete
RevisionInsertSheet
RevisionLog
RevisionLogCollection
RevisionMergeConflict
RevisionQueryTable
RevisionRenameSheet
Row
RowCollection
SaveOptions
Scenario
ScenarioCollection
ScenarioInputCell
ScenarioInputCellCollection
ScrollBar
ScrollBarActiveXControl
Series
SeriesCollection
SeriesLayoutProperties
ShadowEffect
Shape
ShapeCollection
ShapeFormat
ShapeGuide
ShapeGuideCollection
ShapePath
ShapePathCollection
ShapePathPoint
ShapePathPointCollection
ShapePropertyCollection
ShapeSegmentPath
ShapeSegmentPathCollection
ShapeTextAlignment
SheetPrintingPreview
SheetRender
SheetSet
SignatureLine
Slicer
SlicerCache
SlicerCacheItem
SlicerCacheItemCollection
SlicerCollection
SmartArtShape
SmartTag
SmartTagCollection
SmartTagOptions
SmartTagProperty
SmartTagPropertyCollection
SmartTagSetting
SolidFill
Sparkline
SparklineCollection
SparklineGroup
SparklineGroupCollection
SpinButtonActiveXControl
Spinner
SpreadsheetML2003SaveOptions
StreamProviderOptions
Style
StyleFlag
SubtotalSetting
SvgSaveOptions
SxRng
TableStyle
TableStyleCollection
TableStyleElement
TableStyleElementCollection
TableToRangeOptions
TextBox
TextBoxActiveXControl
TextBoxCollection
TextEffectFormat
TextOptions
TextParagraph
TextParagraphCollection
TextTabStop
TextTabStopCollection
TextureFill
ThemeColor
ThreadedComment
ThreadedCommentAuthor
ThreadedCommentAuthorCollection
ThreadedCommentCollection
ThreeDFormat
TickLabelItem
TickLabels
TilePicOption
Timeline
TimelineCollection
Title
ToggleButtonActiveXControl
Top10
Top10Filter
Trendline
TrendlineCollection
TxtLoadOptions
TxtSaveOptions
UnionRange
UnknownControl
Validation
ValidationCollection
VbaModule
VbaModuleCollection
VbaProject
VbaProjectReference
VbaProjectReferenceCollection
VerticalPageBreak
VerticalPageBreakCollection
VmlShapeGuide
Walls
WarningInfo
WebExtension
WebExtensionBinding
WebExtensionBindingCollection
WebExtensionCollection
WebExtensionProperty
WebExtensionPropertyCollection
WebExtensionReference
WebExtensionReferenceCollection
WebExtensionShape
WebExtensionTaskPane
WebExtensionTaskPaneCollection
WebQueryConnection
Workbook
WorkbookDesigner
WorkbookMetadata
WorkbookPrintingPreview
WorkbookRender
WorkbookSettings
Worksheet
WorksheetCollection
WriteProtection
XlsbSaveOptions
XlsSaveOptions
XmlColumnProperty
XmlDataBinding
XmlLoadOptions
XmlMap
XmlMapCollection
XmlSaveOptions
XpsSaveOptions
Interfaces 
ICellsDataTable
ICustomFunction
ICustomParser
IExportObjectListener
IFilePathProvider
IPageSavingCallback
ISmartMarkerCallBack
IStreamProvider
IWarningCallback
LightCellsDataHandler
LightCellsDataProvider
Constants 
AccessCacheOptions
ActiveXPersistenceType
AutoFillType
AutoFitMergedCellsType
AutoFitWrappedTextType
AutoShapeType
AxisType
BackgroundMode
BackgroundType
Bar3DShapeType
BevelPresetType
BevelType
BorderType
BubbleSizeRepresents
BuiltinStyleType
BulletType
CalcModeType
CalculationPrecisionStrategy
CategoryType
CellBorderType
CellValueFormatStrategy
CellValueType
ChartLineFormattingType
ChartMarkerType
ChartSplitType
ChartTextDirectionType
ChartType
CheckValueType
ColorDepth
ColorType
CommentTitleType
ConnectionDataSourceType
ConnectionParameterType
ConsolidationFunction
ControlBorderType
ControlCaptionAlignmentType
ControlListStyle
ControlMatchEntryType
ControlMousePointerType
ControlPictureAlignmentType
ControlPicturePositionType
ControlPictureSizeMode
ControlScrollBarType
ControlScrollOrientation
ControlSpecialEffectType
ControlType
CopyFormatType
CountryCode
CredentialsMethodType
CrossType
DataBarAxisPosition
DataBarBorderType
DataBarFillType
DataBarNegativeColorType
DataLabelShapeType
DataLabelsSeparatorType
DataLablesSeparatorType
DateTimeGroupingType
DefaultEditLanguage
DirectoryType
DisplayDrawingObjects
DisplayUnitType
DrawObjectEnum
DropButtonStyle
DynamicFilterType
EmfRenderSetting
EncryptionType
ErrorBarDisplayType
ErrorBarType
ErrorCheckType
ExceptionType
ExternalLinkType
FileFormatType
FillPattern
FillPictureType
FillType
FilterOperatorType
FilterType
FontSchemeType
FontSourceType
FontUnderlineType
FormatConditionType
FormatConditionValueType
FormatSetType
FormattingType
GradientColorType
GradientDirectionType
GradientFillType
GradientPresetType
GradientStyleType
GridlineType
HeaderFooterCommandType
HtmlCrossType
HtmlExportDataOptions
HtmlFormatHandlingType
HtmlHiddenColDisplayType
HtmlHiddenRowDisplayType
HtmlLinkTargetType
IconSetType
ImageType
InputMethodEditorMode
LabelPositionType
LegendPositionType
LightRigDirectionType
LightRigType
LineCapType
LineJoinType
LineSpaceSizeType
LineType
LoadDataFilterOptions
LoadFormat
LookAtType
LookInType
MapChartLabelLayout
MapChartProjectionType
MapChartRegionType
MemorySetting
MetadataType
MirrorType
MsoArrowheadLength
MsoArrowheadStyle
MsoArrowheadWidth
MsoDrawingType
MsoLineDashStyle
MsoLineStyle
MsoPresetTextEffect
MsoPresetTextEffectShape
NameScopeType
NumberCategoryType
OdsCellFieldType
OdsGeneratorType
OdsPageBackgroundGraphicPositionType
OdsPageBackgroundGraphicType
OdsPageBackgroundType
OLEDBCommandType
OoxmlCompliance
OoxmlCompressionType
OperatorType
PageLayoutAlignmentType
PageOrientationType
PaneStateType
PaperSizeType
ParameterType
PasteOperationType
PasteType
PdfCompliance
PdfCompressionCore
PdfCustomPropertiesExport
PdfFontEncoding
PdfOptimizationType
PivotConditionFormatRuleType
PivotConditionFormatScopeType
PivotFieldDataDisplayFormat
PivotFieldSubtotalType
PivotFieldType
PivotFilterType
PivotGroupByType
PivotItemPosition
PivotMissingItemLimitType
PivotTableAutoFormatType
PivotTableStyleType
PlacementType
PlotDataByType
PlotEmptyCellsType
PresetCameraType
PresetMaterialType
PresetShadowType
PresetWordArtStyle
PrintCommentsType
PrintErrorsType
PrintingPageType
PrintOrderType
PrintSizeType
PropertyType
ProtectionType
QuartileCalculationType
ReConnectionMethodType
RectangleAlignmentType
ReflectionEffectType
RenameStrategy
ResourceLoadingType
RevisionActionType
RevisionType
SaveFormat
SelectionType
ShapeAnchorType
ShapeLockType
ShapePathType
SheetType
ShiftType
ShowDropButtonType
SlicerCacheCrossFilterType
SlicerCacheItemSortType
SlicerStyleType
SmartTagShowType
SortOnType
SortOrder
SparklineAxisMinMaxType
SparklinePresetStyleType
SparklineType
SqlDataType
StyleModifyFlag
TableDataSourceType
TableStyleElementType
TableStyleType
TargetModeType
TextAlignmentType
TextAutonumberScheme
TextCapsType
TextCrossType
TextDirectionType
TextFontAlignType
TextNodeType
TextOrientationType
TextOverflowType
TextStrikeType
TextTabAlignmentType
TextureType
TextVerticalType
ThemeColorType
TickLabelPositionType
TickMarkType
TiffCompression
TimePeriodType
TimeUnit
TotalsCalculation
TrendlineType
TxtLoadStyleStrategy
TxtValueQuoteType
UpdateLinksType
ValidationAlertType
ValidationType
VbaModuleType
VbaProjectReferenceType
ViewType
VisibilityType
WarningType
WebExtensionStoreType
WeightType
XAdESType

com.aspose.cells
Class HtmlSaveOptions

java.lang.Object
  extended by SaveOptions
      extended by com.aspose.cells.HtmlSaveOptions

public class HtmlSaveOptions 
extends SaveOptions

Represents the options for saving html file.


Constructor Summary
HtmlSaveOptions()
           Creates options for saving html file.
HtmlSaveOptions(int format)
           Creates options for saving htm file.
 
Property Getters/Setters Summary
booleangetAddTooltipText()
voidsetAddTooltipText(boolean)
           Indicates whether adding tooltip text when the data can't be fully displayed. The default value is false.
java.lang.StringgetAttachedFilesDirectory()
voidsetAttachedFilesDirectory(java.lang.String)
           The directory that the attached files will be saved to. Only for saving to html stream.
java.lang.StringgetAttachedFilesUrlPrefix()
voidsetAttachedFilesUrlPrefix(java.lang.String)
           Specify the Url prefix of attached files such as image in the html file. Only for saving to html stream.
java.lang.StringgetCachedFileFolder()→ inherited from SaveOptions
voidsetCachedFileFolder(java.lang.String)
           The cached file folder is used to store some large data.
java.lang.StringgetCellCssPrefix()
voidsetCellCssPrefix(java.lang.String)
           Gets and sets the prefix of the css name,the default value is "".
booleangetClearData()→ inherited from SaveOptions
voidsetClearData(boolean)
           Make the workbook empty after saving the file.
booleangetCreateDirectory()→ inherited from SaveOptions
voidsetCreateDirectory(boolean)
           If true and the directory does not exist, the directory will be automatically created before saving the file.
java.lang.StringgetDefaultFontName()
voidsetDefaultFontName(java.lang.String)
           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()
voidsetDisableDownlevelRevealedComments(boolean)
           Indicates if disable Downlevel-revealed conditional comments when exporting file to html, the default value is false.
com.aspose.cells.EncodinggetEncoding()
voidsetEncoding(com.aspose.cells.Encoding)
           If not set,use Encoding.UTF8 as default enconding type.
booleangetExcludeUnusedStyles()
voidsetExcludeUnusedStyles(boolean)
           Indicating whether excludes unused styles. For the generated html files, excluding unused styles can make the file size smaller without affecting the visual effects. So the default value of this property is true. If user needs to keep all styles in the workbook for the generated html(such as the scenario that user needs to restore the workbook from the generated html later), please set this property as false.
booleangetExportActiveWorksheetOnly()
voidsetExportActiveWorksheetOnly(boolean)
           Indicates if exporting the whole workbook to html file.
CellAreagetExportArea()
voidsetExportArea(CellArea)
           Gets or Sets the exporting CellArea of current active Worksheet. If you set this attribute, the print area of current active Worksheet will be omitted. Only the specified area will be exported when saving the file to html.
booleangetExportBogusRowData()
voidsetExportBogusRowData(boolean)
           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.
booleangetExportCellCoordinate()
voidsetExportCellCoordinate(boolean)
           Indicates whether exporting excel coordinate of nonblank cells when saving file to html. The default value is false. If you want to import the output html to excel, please keep the default value.
intgetExportCommentsType()
voidsetExportCommentsType(int)
           Represents type of exporting comments to html files. The value of the property is PrintCommentsType integer constant.
intgetExportDataOptions()
voidsetExportDataOptions(int)
           Indicating the rule of exporting html file data.The default value is All. The value of the property is HtmlExportDataOptions integer constant.
booleangetExportDocumentProperties()
voidsetExportDocumentProperties(boolean)
           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.
booleangetExportExtraHeadings()
voidsetExportExtraHeadings(boolean)
           Indicates whether exporting extra headings when the length of text is longer than max display column. The default value is false. If you want to import the html file to excel, please keep the default value.
booleangetExportFormula()
voidsetExportFormula(boolean)
           Indicates whether exporting formula when saving file to html. The default value is true. If you want to import the output html to excel, please keep the default value.
booleangetExportFrameScriptsAndProperties()
voidsetExportFrameScriptsAndProperties(boolean)
           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()
voidsetExportGridLines(boolean)
           Indicating whether exporting the gridlines.The default value is false.
booleangetExportHeadings()
voidsetExportHeadings(boolean)
           Indicates whether exports sheet's row and column headings when saving to HTML files.
booleangetExportHiddenWorksheet()
voidsetExportHiddenWorksheet(boolean)
           Indicating if exporting the hidden worksheet content.The default value is true.
booleangetExportImagesAsBase64()
voidsetExportImagesAsBase64(boolean)
           Specifies whether images are saved in Base64 format to HTML, MHTML or EPUB.
IExportObjectListenergetExportObjectListener()
voidsetExportObjectListener(IExportObjectListener)
           Gets or sets the ExportObjectListener for exporting objects.
booleangetExportPageFooters()
voidsetExportPageFooters(boolean)
           Indicates whether exporting page headers.
booleangetExportPageHeaders()
voidsetExportPageHeaders(boolean)
           Indicates whether exporting page headers.
booleangetExportPrintAreaOnly()
voidsetExportPrintAreaOnly(boolean)
           Indicates if only exporting the print area to html file. The default value is false.
booleangetExportRowColumnHeadings()
voidsetExportRowColumnHeadings(boolean)
           Indicates whether exports sheet's row and column headings when saving to HTML files.
booleangetExportSimilarBorderStyle()
voidsetExportSimilarBorderStyle(boolean)
           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()
voidsetExportSingleTab(boolean)
           Indicates whether exporting the single tab when the file only has one worksheet. The default value is false.
booleangetExportWorkbookProperties()
voidsetExportWorkbookProperties(boolean)
           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()
voidsetExportWorksheetCSSSeparately(boolean)
           Indicating whether export the worksheet css separately.The default value is false.
booleangetExportWorksheetProperties()
voidsetExportWorksheetProperties(boolean)
           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()
voidsetFilePathProvider(IFilePathProvider)
           Gets or sets the IFilePathProvider for exporting Worksheet to html separately.
intgetHiddenColDisplayType()
voidsetHiddenColDisplayType(int)
           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 not 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()
voidsetHiddenRowDisplayType(int)
           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 not 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()
voidsetHtmlCrossStringType(int)
           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.
booleangetIgnoreInvisibleShapes()
voidsetIgnoreInvisibleShapes(boolean)
           Indicate whether exporting those not visible shapes
ImageOrPrintOptionsgetImageOptions()
           Get the ImageOrPrintOptions object before exporting
booleangetImageScalable()
voidsetImageScalable(boolean)
           Indicates whether using scalable unit to describe the image width when using scalable unit to describe the column width. The default value is true.
booleanisExpImageToTempDir()
voidsetExpImageToTempDir(boolean)
           Indicates whether exporting image files to temp directory. Only for saving to html stream.
booleanisExportComments()
voidsetExportComments(boolean)
           Indicates if exporting comments when saving file to html, the default value is false.
booleanisFullPathLink()
voidsetFullPathLink(boolean)
           Indicating whether using full path link in sheet00x.htm,filelist.xml and tabstrip.htm. The default value is false.
intgetLinkTargetType()
voidsetLinkTargetType(int)
           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()→ inherited from SaveOptions
voidsetMergeAreas(boolean)
           Indicates whether merge the areas of conditional formatting and validation before saving the file.
booleangetMergeEmptyTdForcely()
voidsetMergeEmptyTdForcely(boolean)
           Indicates whether merging empty TD element forcedly when exporting file to html. The size of html file will be reduced significantly after setting value to true. The default value is false. If you want to import the html file to excel or export perfect grid lines when saving file to html, please keep the default value.
java.lang.StringgetPageTitle()
voidsetPageTitle(java.lang.String)
           The title of the html page. Only for saving to html stream.
booleangetParseHtmlTagInCell()
voidsetParseHtmlTagInCell(boolean)
           Parse html tag in cell,like
,as cell value,or as html tag,default is true
booleangetPresentationPreference()
voidsetPresentationPreference(boolean)
           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()→ inherited from SaveOptions
voidsetRefreshChartCache(boolean)
           Indicates whether refreshing chart cache data
booleangetSaveAsSingleFile()
voidsetSaveAsSingleFile(boolean)
           Indicates whether save the html as single file. The default value is false.
intgetSaveFormat()→ inherited from SaveOptions
           Gets the save file format. The value of the property is SaveFormat integer constant.
booleangetShowAllSheets()
voidsetShowAllSheets(boolean)
           Indicates whether showing all sheets when saving as a single html file.
booleangetSortExternalNames()→ inherited from SaveOptions
voidsetSortExternalNames(boolean)
           Indicates whether sorting external defined names before saving file.
booleangetSortNames()→ inherited from SaveOptions
voidsetSortNames(boolean)
           Indicates whether sorting defined names before saving file.
IStreamProvidergetStreamProvider()
voidsetStreamProvider(IStreamProvider)
           Gets or sets the IStreamProvider for exporting objects.
java.lang.StringgetTableCssId()
voidsetTableCssId(java.lang.String)
           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 "".
booleangetUpdateSmartArt()→ inherited from SaveOptions
voidsetUpdateSmartArt(boolean)
           Indicates whether updating smart art setting. The default value is false.
booleangetValidateMergedAreas()→ inherited from SaveOptions
voidsetValidateMergedAreas(boolean)
           Indicates whether validate merged cells before saving the file.
IWarningCallbackgetWarningCallback()→ inherited from SaveOptions
voidsetWarningCallback(IWarningCallback)
           Gets or sets warning callback.
booleangetWidthScalable()
voidsetWidthScalable(boolean)
           Indicates whether using scalable unit to describe the column width when exporting file to html. The default value is false.
booleangetWorksheetScalable()
voidsetWorksheetScalable(boolean)
           Indicates if zooming in or out the html via worksheet zoom level when saving 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

getIgnoreInvisibleShapes/setIgnoreInvisibleShapes

public boolean getIgnoreInvisibleShapes() / public void setIgnoreInvisibleShapes(boolean value)
Indicate whether exporting those not visible shapes The default values is false.

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.

getWorksheetScalable/setWorksheetScalable

public boolean getWorksheetScalable() / public void setWorksheetScalable(boolean value)
Indicates if zooming in or out the html via worksheet zoom level when saving file to html, the default value is false.

isExportComments/setExportComments

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

getExportCommentsType/setExportCommentsType

public int getExportCommentsType() / public void setExportCommentsType(int value)
Represents type of exporting comments to html files. The value of the property is PrintCommentsType integer constant.

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.

getImageScalable/setImageScalable

public boolean getImageScalable() / public void setImageScalable(boolean value)
Indicates whether using scalable unit to describe the image width when using scalable unit to describe the column width. The default value is true.

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 omitted. 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 not 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 not 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

getSaveAsSingleFile/setSaveAsSingleFile

public boolean getSaveAsSingleFile() / public void setSaveAsSingleFile(boolean value)
Indicates whether save the html as single file. The default value is false. If there are multiple worksheets or other required resources such as pictures in the workbook, commonly those worksheets and other resources need to be saved into separate files. For some scenarios, user maybe need to get only one resultant file such as for the convenience of transferring. If so, user may set this property as true.

getShowAllSheets/setShowAllSheets

public boolean getShowAllSheets() / public void setShowAllSheets(boolean value)
Indicates whether showing all sheets when saving as a single html file. Only works when SaveAsSingleFile is True.

getExportPageHeaders/setExportPageHeaders

public boolean getExportPageHeaders() / public void setExportPageHeaders(boolean value)
Indicates whether exporting page headers. Only works when SaveAsSingleFile is True.

getExportPageFooters/setExportPageFooters

public boolean getExportPageFooters() / public void setExportPageFooters(boolean value)
Indicates whether exporting page headers. Only works when SaveAsSingleFile is True.

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.

getMergeEmptyTdForcely/setMergeEmptyTdForcely

public boolean getMergeEmptyTdForcely() / public void setMergeEmptyTdForcely(boolean value)
Indicates whether merging empty TD element forcedly when exporting file to html. The size of html file will be reduced significantly after setting value to true. The default value is false. If you want to import the html file to excel or export perfect grid lines when saving file to html, please keep the default value.

getExportCellCoordinate/setExportCellCoordinate

public boolean getExportCellCoordinate() / public void setExportCellCoordinate(boolean value)
Indicates whether exporting excel coordinate of nonblank cells when saving file to html. The default value is false. If you want to import the output html to excel, please keep the default value.

getExportExtraHeadings/setExportExtraHeadings

public boolean getExportExtraHeadings() / public void setExportExtraHeadings(boolean value)
Indicates whether exporting extra headings when the length of text is longer than max display column. The default value is false. If you want to import the html file to excel, please keep the default value.

getExportHeadings/setExportHeadings

public boolean getExportHeadings() / public void setExportHeadings(boolean value)
Indicates whether exports sheet's row and column headings when saving to HTML files. NOTE: This member is now obsolete. Instead, please use HtmlSaveOptions.ExportRowColumnHeadings property. This property will be removed 12 months later since June 2022. Aspose apologizes for any inconvenience you may have experienced.

getExportRowColumnHeadings/setExportRowColumnHeadings

public boolean getExportRowColumnHeadings() / public void setExportRowColumnHeadings(boolean value)
Indicates whether exports sheet's row and column headings when saving to HTML files. The default value is false.

getExportFormula/setExportFormula

public boolean getExportFormula() / public void setExportFormula(boolean value)
Indicates whether exporting formula when saving file to html. The default value is true. If you want to import the output html 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 excludes unused styles. For the generated html files, excluding unused styles can make the file size smaller without affecting the visual effects. So the default value of this property is true. If user needs to keep all styles in the workbook for the generated html(such as the scenario that user needs to restore the workbook from the generated html later), please set this property as false.

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

→ inherited from SaveOptions
public int getSaveFormat()
Gets the save file format. The value of the property is SaveFormat integer constant.

getClearData/setClearData

→ inherited from SaveOptions
public boolean getClearData() / public void setClearData(boolean value)
Make the workbook empty after saving the file.

getCachedFileFolder/setCachedFileFolder

→ inherited from SaveOptions
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

→ inherited from SaveOptions
public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value)
Indicates whether validate merged cells before saving the file. The default value is false.

getMergeAreas/setMergeAreas

→ inherited from SaveOptions
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

→ inherited from SaveOptions
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

→ inherited from SaveOptions
public boolean getSortNames() / public void setSortNames(boolean value)
Indicates whether sorting defined names before saving file.

getSortExternalNames/setSortExternalNames

→ inherited from SaveOptions
public boolean getSortExternalNames() / public void setSortExternalNames(boolean value)
Indicates whether sorting external defined names before saving file.

getRefreshChartCache/setRefreshChartCache

→ inherited from SaveOptions
public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value)
Indicates whether refreshing chart cache data

getWarningCallback/setWarningCallback

→ inherited from SaveOptions
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)
Gets or sets warning callback.

getUpdateSmartArt/setUpdateSmartArt

→ inherited from SaveOptions
public boolean getUpdateSmartArt() / public void setUpdateSmartArt(boolean value)
Indicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.