Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

AsciiDocProcessingSourceMap

Namespace OfficeIMO.AsciiDoc
Assembly OfficeIMO.AsciiDoc
Modifiers sealed

Immutable origin ranges for one explicitly processed source document.

Inheritance

  • Object
  • AsciiDocProcessingSourceMap

Remarks

Offsets refer to the original ProcessedSource snapshot. Editing the returned document does not update this map.

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

Methods

public AsciiDocSourceMapping Find(Int32 processedOffset) #
Returns: AsciiDocSourceMapping

Finds the origin range at a processed offset, including the end-of-source boundary.

Parameters

processedOffset System.Int32 requiredposition: 0

Returns

Null for an empty processed document.

Properties

public Int32 Length { get; } #

Number of UTF-16 characters in the processed snapshot.

public IReadOnlyList<AsciiDocSourceMapping> Entries { get; } #

Nonoverlapping origin ranges in processed order.