Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

AsciiDocSourceMapping

OfficeIMO.AsciiDoc

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

A processed text range and the original line or directive that produced it.

Inheritance

  • object
  • AsciiDocSourceMapping

Usage

Explore 2 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 AsciiDocSourcePosition GetSourcePosition(int processedOffset) #

Maps an offset to an exact original position, or the producing range's start for transformed text.

Parameters

processedOffset int required

Properties

public int ProcessedStart { get; } #

Inclusive zero-based UTF-16 offset in processed source.

public int ProcessedEnd { get; } #

Exclusive zero-based UTF-16 offset in processed source.

public string? SourceName { get; } #

Origin identifier supplied by the caller or include resolver.

public AsciiDocSourceSpan OriginalSpan { get; } #

Original source range. Generated text refers to its producing directive.

public bool IsExact { get; } #

True when this range is a character-for-character slice of one original line.