Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

AsciiDocSourceMapping

Namespace OfficeIMO.AsciiDoc
Assembly OfficeIMO.AsciiDoc
Modifiers sealed

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

Inheritance

  • Object
  • AsciiDocSourceMapping

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public AsciiDocSourcePosition GetSourcePosition(Int32 processedOffset) #
Returns: AsciiDocSourcePosition

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

Parameters

processedOffset System.Int32 requiredposition: 0

Properties

public Int32 ProcessedStart { get; } #

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

public Int32 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 Boolean IsExact { get; } #

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