Class
AsciiDocSourceMapping
OfficeIMO.AsciiDoc
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.
Returned or exposed by 2
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
Returns
AsciiDocSourcePositionInherited Methods
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.