AsciiDocReferenceCatalog
OfficeIMO.AsciiDoc
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
- maximumNestingDepth int = 64
- cancellationToken System.Threading.CancellationToken = default
Returns
AsciiDocReferenceCatalogpublic 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
Returns
string?public string? GetFootnoteLabel(AsciiDocFootnoteInline footnote) #Finds the stable catalog label for a source footnote or returns null.
Parameters
- footnote OfficeIMO.AsciiDoc.AsciiDocFootnoteInline
Returns
string?Inherited Methods
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.