Class HtmlLoadOptions
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Represents options when importing a html file.
public class HtmlLoadOptions : AbstractTextLoadOptions
Inheritance
object ← LoadOptions ← AbstractTextLoadOptions ← HtmlLoadOptions
Derived
Inherited Members
AbstractTextLoadOptions.Copy(AbstractTextLoadOptions), AbstractTextLoadOptions.Encoding, AbstractTextLoadOptions.LoadStyleStrategy, AbstractTextLoadOptions.ConvertNumericData, AbstractTextLoadOptions.ConvertDateTimeData, AbstractTextLoadOptions.KeepPrecision, LoadOptions.m_LoadFormat, LoadOptions.SetPaperSize(PaperSizeType), LoadOptions.LoadFormat, LoadOptions.Password, LoadOptions.ParsingFormulaOnOpen, LoadOptions.ParsingPivotCachedRecords, LoadOptions.LanguageCode, LoadOptions.Region, LoadOptions.CultureInfo, LoadOptions.DefaultStyleSettings, LoadOptions.InterruptMonitor, LoadOptions.IgnoreNotPrinted, LoadOptions.CheckDataValid, LoadOptions.CheckExcelRestriction, LoadOptions.KeepUnparsedData, LoadOptions.LoadFilter, LoadOptions.LightCellsDataHandler, LoadOptions.MemorySetting, LoadOptions.WarningCallback, LoadOptions.AutoFitterOptions, LoadOptions.AutoFilter, LoadOptions.FontConfigs, LoadOptions.IgnoreUselessShapes, LoadOptions.PreservePaddingSpacesInFormula, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
HtmlLoadOptions()
Creates an options of loading the file.
public HtmlLoadOptions()
HtmlLoadOptions(LoadFormat)
Creates an options of loading the file.
public HtmlLoadOptions(LoadFormat loadFormat)
Parameters
loadFormat
LoadFormat
The loading format.
Properties
AutoFitColsAndRows
Indicates whether auto-fit columns and rows. The default value is false.
public bool AutoFitColsAndRows { get; set; }
Property Value
DeleteRedundantSpaces
Indicates whether delete redundant spaces when the text wraps lines using <br>
tag.
The default value is false.
public bool DeleteRedundantSpaces { get; set; }
Property Value
HasFormula
Indicates whether the text is formula if it starts with “=”.
public bool HasFormula { get; set; }
Property Value
LoadFormulas
Indicates whether importing formulas if the original html file contains formulas
public bool LoadFormulas { get; set; }
Property Value
ProgId
Gets the program id of creating the file. Only for MHT files.
public string ProgId { get; }
Property Value
StreamProvider
Gets or sets the StreamProviderImportHtmlFile for importing objects.
public IStreamProvider StreamProvider { get; set; }
Property Value
SupportDivTag
Indicates whether support the layout of <div>
tag when the html file contains it.
The default value is false.
public bool SupportDivTag { get; set; }
Property Value
TableLoadOptions
Get the HtmlTableLoadOptionCollection instance
public HtmlTableLoadOptionCollection TableLoadOptions { get; }