Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownNativeBlockInfo

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

UI-safe snapshot of a native block.

Inheritance

  • object
  • MarkdownNativeBlockInfo

Usage

Explore 23 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.

Methods

public IEnumerable<MarkdownNativeBlockSourceFieldInfo> EnumerateSourceFields(string name) #

Enumerates source-backed fields with the supplied field name in source order.

Parameters

name string required
public MarkdownNativeBlockSourceFieldInfo? FindSourceField(string name, int index = -1) #

Finds the first source-backed field with the supplied name, optionally constrained to a repeated-field occurrence index.

Parameters

name string required
index int = -1 optional

Properties

public string Id { get; internal set; } #

Stable block id.

public MarkdownNativeBlockKind Kind { get; internal set; } #

Native block kind.

public MarkdownNativeSourceSpanInfo? SourceSpan { get; internal set; } #

Source span snapshot when available.

public string? Text { get; internal set; } #

Common text payload when the block exposes one.

public string? Markdown { get; internal set; } #

Common markdown payload when the block exposes one.

public IReadOnlyDictionary<string, string?> Fields { get; internal set; } #

String fields for block-specific metadata.

public IReadOnlyDictionary<string, MarkdownNativeSourceSpanInfo?> FieldSourceSpans { get; internal set; } #

Source spans for block-specific metadata fields when available.

public IReadOnlyList<MarkdownNativeBlockSourceFieldInfo> SourceFields { get; internal set; } #

Source-backed token and payload fields in source order, including repeated fields.

public IReadOnlyList<MarkdownNativeSourceSpanInfo> MarkerSourceSpans { get; internal set; } #

Source spans for repeated marker tokens owned by this block, such as blockquote markers.

public IReadOnlyList<MarkdownNativeInlineInfo> Inlines { get; internal set; } #

Inline snapshots owned directly by this block.

public IReadOnlyList<MarkdownNativeBlockInfo> Children { get; internal set; } #

Nested child block snapshots.

public IReadOnlyList<MarkdownNativeListItemInfo> Items { get; internal set; } #

List item snapshots for native list blocks.

public IReadOnlyList<MarkdownNativeDefinitionListGroupInfo> DefinitionGroups { get; internal set; } #

Definition-list group snapshots for native definition list blocks.

public IReadOnlyList<MarkdownNativeTableCellInfo> HeaderCells { get; internal set; } #

MarkdownTable header cell snapshots.

public MarkdownNativeTableRowInfo? HeaderRow { get; internal set; } #

MarkdownTable header row snapshot when available.

public IReadOnlyList<IReadOnlyList<MarkdownNativeTableCellInfo>> Rows { get; internal set; } #

MarkdownTable body row snapshots.

public IReadOnlyList<MarkdownNativeTableRowInfo> BodyRows { get; internal set; } #

MarkdownTable body row object snapshots.