Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlSemanticBlock

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Source revision 804a7612eee4 with working tree changes
Modifiers sealed

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

Inheritance

  • Object
  • HtmlSemanticBlock

Usage

Explore 4 API references to this type

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 this block is an ordered list.

public IReadOnlyList<HtmlSemanticRun> Runs { get; } #

Rich editable text runs.

public IReadOnlyList<HtmlSemanticBlock> Children { get; } #

Nested list items or retained child blocks.

public HtmlSemanticList? List { get; } #

Typed list state when HtmlSemanticBlock.Kind is HtmlSemanticBlockKind.List.

public HtmlSemanticListItem? ListItem { get; } #

Typed list-item state when HtmlSemanticBlock.Kind is HtmlSemanticBlockKind.ListItem.

public HtmlSemanticTable? Table { get; } #

Typed table data when HtmlSemanticBlock.Kind is HtmlSemanticBlockKind.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 HtmlSemanticForm? Form { get; } #

Typed form-container state when this block represents a form element.

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.