# AsciiDocProcessingSourceMap

Immutable origin ranges for one explicitly processed source document.

Class 

`OfficeIMO.AsciiDoc`

**Namespace**

`OfficeIMO.AsciiDoc`

**Assembly**

`OfficeIMO.AsciiDoc`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[AsciiDocProcessingSourceMap.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Source/AsciiDocProcessingSourceMap.cs#L18)

**Modifiers**

sealed

Immutable origin ranges for one explicitly processed source document.

## Inheritance

- object
- AsciiDocProcessingSourceMap

## Remarks

Offsets refer to the original [AsciiDocProcessingResult.ProcessedSource](/api/ascii-doc/officeimo-asciidoc-asciidocprocessingresult/) snapshot. Editing the returned document does not update this map.

## 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

- Property [AsciiDocProcessingResult.SourceMap](/api/ascii-doc/officeimo-asciidoc-asciidocprocessingresult/#property-sourcemap)

Filter members 

Show inherited

## Methods

`public AsciiDocSourceMapping? Find(int processedOffset)` [#](#method-find-int32)

[AsciiDocProcessingSourceMap.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Source/AsciiDocProcessingSourceMap.cs#L18)

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

Parameters

**processedOffset int required**

Returns

`AsciiDocSourceMapping?` Null for an empty processed document.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int Length { get; }` [#](#property-length)

[AsciiDocProcessingSourceMap.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Source/AsciiDocProcessingSourceMap.cs#L12)

Number of UTF-16 characters in the processed snapshot.

`public IReadOnlyList<AsciiDocSourceMapping> Entries { get; }` [#](#property-entries)

[AsciiDocProcessingSourceMap.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.AsciiDoc/Source/AsciiDocProcessingSourceMap.cs#L14)

Nonoverlapping origin ranges in processed order.

<!-- PowerForge markdown artifact sha256:112D6BC6DC1BCE64BBBECC0BEE82310D3F234566998C196BA2E8E04EBEE2F3C8 -->
