API Reference

Class

HtmlSemanticRun

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

Editable rich-text run shared by native adapters.

Inheritance

  • Object
  • HtmlSemanticRun

Usage

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

Returned or exposed by

Properties

public String Text { get; } #

Run text.

public Boolean Bold { get; } #

Whether the run is bold.

public Boolean Italic { get; } #

Whether the run is italic.

public Boolean Underline { get; } #

Whether the run is underlined.

public OfficeTextDecorationStyle UnderlineStyle { get; } #

Resolved underline pattern for targets that expose more than a Boolean underline flag.

public Boolean Strikethrough { get; } #

Whether the run is struck through.

public OfficeTextDecorationStyle StrikethroughStyle { get; } #

Resolved strike-through pattern for targets that expose more than a Boolean strike flag.

public Boolean Superscript { get; } #

Whether the run is superscript.

public Boolean Subscript { get; } #

Whether the run is subscript.

public OfficeTextBaseline Baseline { get; } #

Resolved run baseline.

public HtmlComputedStyle Style { get; } #

Computed style snapshot.

public HtmlSemanticSourceLocation SourceLocation { get; } #

Source provenance.

public Boolean IsLineBreak { get; } #

Whether this run represents an explicit HTML line break.

public IReadOnlyDictionary<String, String> DataAttributes { get; } #

Trusted converter metadata attached to the source run, keyed by normalized data-* attribute name.

public String BackgroundColor { get; } #

Nearest effective nontransparent inline background color, suitable for native text highlighting.