Class HtmlLoadOptions

Class HtmlLoadOptions

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Represents options when importing a html file.

public class HtmlLoadOptions : AbstractTextLoadOptions

Inheritance

objectLoadOptionsAbstractTextLoadOptionsHtmlLoadOptions

Derived

EbookLoadOptions

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

bool

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

bool

HasFormula

Indicates whether the text is formula if it starts with “=”.

public bool HasFormula { get; set; }

Property Value

bool

LoadFormulas

Indicates whether importing formulas if the original html file contains formulas

public bool LoadFormulas { get; set; }

Property Value

bool

ProgId

Gets the program id of creating the file. Only for MHT files.

public string ProgId { get; }

Property Value

string

StreamProvider

Gets or sets the StreamProviderImportHtmlFile for importing objects.

public IStreamProvider StreamProvider { get; set; }

Property Value

IStreamProvider

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

bool

TableLoadOptions

Get the HtmlTableLoadOptionCollection instance

public HtmlTableLoadOptionCollection TableLoadOptions { get; }

Property Value

HtmlTableLoadOptionCollection