Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

AsciiDocReferenceCatalog

OfficeIMO.AsciiDoc

Namespace
OfficeIMO.AsciiDoc
Assembly
OfficeIMO.AsciiDoc
Source revision
5e5a2dda74b3 with working tree changes
Modifiers
sealed

A source-ordered snapshot of explicit anchors, generated section IDs, and footnotes, including compound blocks.

Inheritance

  • object
  • AsciiDocReferenceCatalog

Usage

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

Returned or exposed by 1

Methods

public static AsciiDocReferenceCatalog Create(AsciiDocDocument document, int maximumNestingDepth = 64, CancellationToken cancellationToken = default) #

Builds a bounded snapshot without preprocessing includes or fetching resources.

Parameters

document OfficeIMO.AsciiDoc.AsciiDocDocument required
maximumNestingDepth int = 64 optional
cancellationToken System.Threading.CancellationToken = default optional
public string? GetBlockId(AsciiDocBlock block) #

Gets the catalog's explicit or generated ID for a block, or null when it has none.

Parameters

block OfficeIMO.AsciiDoc.AsciiDocBlock required

Returns

string?
public string? GetFootnoteLabel(AsciiDocFootnoteInline footnote) #

Finds the stable catalog label for a source footnote or returns null.

Parameters

footnote OfficeIMO.AsciiDoc.AsciiDocFootnoteInline required

Returns

string?

Properties

public IReadOnlyDictionary<string, AsciiDocReferenceTarget> Targets { get; } #

Explicit and generated anchor targets, keyed with ordinal comparison.

public IReadOnlyDictionary<string, AsciiDocFootnoteInline> Footnotes { get; } #

Footnote definitions in source order. Repeated references share one definition.

public IReadOnlyList<AsciiDocReferenceDiagnostic> Diagnostics { get; } #

Duplicate targets, conflicting definitions, and dangling references.