API Reference

Class

HtmlSemanticBlock

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

One typed semantic block with optional list, table, resource, form, and rich-run data.

Inheritance

  • Object
  • HtmlSemanticBlock

Usage

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

Properties

public HtmlSemanticBlockKind Kind { get; } #

Semantic block category.

public String Text { get; } #

Normalized plain-text projection.

public Int32 Level { get; } #

Heading level or nested list depth; zero when not applicable.

public Boolean Ordered { get; } #

Whether a list is ordered.

public IReadOnlyList<HtmlSemanticRun> Runs { get; } #

Rich editable text runs.

public IReadOnlyList<HtmlSemanticBlock> Children { get; } #

Nested list items or retained child blocks.

public HtmlSemanticTable Table { get; } #

Typed table data when Kind is Table.

public HtmlSemanticResource Resource { get; } #

Typed resource when the block references an image or media object.

public IReadOnlyList<HtmlSemanticResource> InlineResources { get; } #

Resources embedded inside this block, retained independently from its text runs.

public HtmlSemanticFormControl FormControl { get; } #

Typed form state when the block represents a form control.

public HtmlComputedStyle Style { get; } #

Computed style snapshot from the shared CSS engine.

public HtmlSemanticSourceLocation SourceLocation { get; } #

Source provenance.