Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlToExcelOptions

Namespace OfficeIMO.Excel.Html
Assembly OfficeIMO.Excel.Html
Modifiers sealed

Options for importing semantic OfficeIMO Excel HTML into a workbook.

Inheritance

  • Object
  • HtmlToExcelOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Properties

public HtmlImportLimits Limits { get; set; } #

Shared native-artifact limits for this import operation.

public Int32 MaxTableCells { get; set; } #

Maximum number of HTML table grid slots imported across each worksheet table, including merged spans.

public HtmlImportMode Mode { get; set; } #

Controls semantic restoration versus ordinary HTML table import.

public Boolean ImportTypedCellValues { get; set; } #

Imports explicitly annotated text, number, Boolean, and date/time values from ordinary HTML table cells. Applies to generic imports, including the generic path selected by Auto. Unannotated cells remain text and generic formula metadata is never executed. Date/time metadata must contain a complete ISO calendar date, optionally followed by a time with minutes, seconds, and up to seven fractional second digits. Explicit Z or +/-HH:mm zones normalize to UTC; unzoned values retain their wall-clock time. Invalid metadata falls back to visible text with a diagnostic.

public Boolean ImportImages { get; set; } #

Imports embedded data URI images from the semantic image inventory.

public Boolean ImportChartInventory { get; set; } #

Imports chart inventory items as native charts when the worksheet table contains enough data.

public Boolean ImportComments { get; set; } #

Imports comment inventory items as native cell comments.

public Boolean ImportFormulas { get; set; } #

Imports formula inventory items as native cell formulas.

public Boolean AllowUntrustedFormulas { get; set; } #

Allows formula restoration from caller-untrusted semantic HTML when ImportFormulas is enabled. Keep disabled unless the caller has independently validated the formula source.

public Boolean ImportEditableLayoutRegions { get; set; } #

Maps bounded positioned, floating, flex, and grid regions to editable cells and drawing anchors.