HtmlLoadOptions Class
Represents options when importing a html file.
Inheritance Hierarchy
SystemObject
  Aspose.CellsLoadOptions
    Aspose.CellsAbstractTextLoadOptions
      Aspose.CellsHtmlLoadOptions

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.11.0.0 (19.11)
Syntax
public class HtmlLoadOptions : AbstractTextLoadOptions

The HtmlLoadOptions type exposes the following members.

Constructors
  NameDescription
Public methodHtmlLoadOptions
Creates an options of loading the file.
Public methodHtmlLoadOptions(LoadFormat)
Creates an options of loading the file.
Properties
  NameDescription
Public propertyAttachedFilesDirectory Obsolete.
The directory that the attached files will be saved to.
Public propertyAutoFitColsAndRows
Indicates whether auto-fit columns and rows.The default value is false.
Public propertyAutoFitterOptions
Gets and sets the auto fitter options
(Inherited from LoadOptions.)
Public propertyCheckExcelRestriction
Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.
(Inherited from LoadOptions.)
Public propertyConvertDateTimeData
Gets or sets a value that indicates whether the string in text file is converted to date data.
(Inherited from AbstractTextLoadOptions.)
Public propertyConvertFormulasData
if true, convert string to formula when string value starts with character '=',the default value is false.
Public propertyConvertNumericData
Gets or sets a value that indicates whether the string in text file is converted to numeric data.
(Inherited from AbstractTextLoadOptions.)
Public propertyCultureInfo
Gets or sets the system culture info at the time the file was loaded.
(Inherited from LoadOptions.)
Public propertyDeleteRedundantSpaces
Indicates whether delete redundant spaces when the text wraps lines using <br>tag.The default value is false.
Public propertyEncoding
Gets and sets the default encoding.Only applies for csv file.
(Inherited from AbstractTextLoadOptions.)
Public propertyFontConfigs
Gets and sets individual font configs. Only works for the Workbook which uses this LoadOptions to load.>
(Inherited from LoadOptions.)
Public propertyIgnoreNotPrinted
Ignore the data which are not printed if directly printing the file
(Inherited from LoadOptions.)
Public propertyInterruptMonitor
Gets and sets the interrupt monitor.
(Inherited from LoadOptions.)
Public propertyKeepPrecision
Indicates whether not parsing a string value if the length is 15.
(Inherited from AbstractTextLoadOptions.)
Public propertyLanguageCode
Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file.
(Inherited from LoadOptions.)
Public propertyLightCellsDataHandler
The data handler for processing cells data when reading template file.
(Inherited from LoadOptions.)
Public propertyLoadFilter
The filter to denote how to load data.
(Inherited from LoadOptions.)
Public propertyLoadFormat
Gets the load format.
(Inherited from LoadOptions.)
Public propertyLoadFormulas
Indicates whether importing formulas if the orignal html file contains falmulas
Public propertyLoadStyleStrategy
Indicates the strategy to apply style for parsed values when converting string value to number or datetime.
(Inherited from AbstractTextLoadOptions.)
Public propertyMemorySetting
Gets or sets the memory usage options.
(Inherited from LoadOptions.)
Public propertyParsingFormulaOnOpen
Indicates whether parsing the formula when reading the file.
(Inherited from LoadOptions.)
Public propertyParsingPivotCachedRecords
Inidicates whether parsing pivot cached records when loadiing the file. The default value is false.
(Inherited from LoadOptions.)
Public propertyPassword
Gets and set the password of the workbook.
(Inherited from LoadOptions.)
Public propertyProgId
Gets the program id of creating the file. Only for MHT files.
Public propertyRegion
Gets or sets the system regional settings based on CountryCode at the time the file was loaded.
(Inherited from LoadOptions.)
Public propertyStandardFont
Sets the default standard font name
(Inherited from LoadOptions.)
Public propertyStandardFontSize
Sets the default standard font size.
(Inherited from LoadOptions.)
Public propertyStreamProvider
Gets or sets the StreamProviderImportHtmlFile for importing objects.
Public propertySupportDivTag
Indicates whether support the layout of <div> tag when the html file contains <div> tags.The default value is false.
Public propertyWarningCallback
Gets or sets warning callback.
(Inherited from LoadOptions.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetPaperSize
Sets the default print paper size from default printer's setting.
(Inherited from LoadOptions.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Fields
  NameDescription
Protected fieldm_LoadFormat (Inherited from LoadOptions.)
See Also