# ReaderHeadingPath

Builds and parses escaped Reader heading paths.

Class 

`OfficeIMO.Reader`

**Namespace**

`OfficeIMO.Reader`

**Assembly**

`OfficeIMO.Reader.Core`

**Source revision**

`51cd59ece1fa` with working tree changes

**Source**

[ReaderHeadingPath.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Reader.Core/ReaderHeadingPath.cs#L11)

**Modifiers**

static

Builds and parses escaped Reader heading paths.

## Inheritance

- object
- ReaderHeadingPath

Filter members 

Show inherited

## Methods

`public static string? Combine(IEnumerable<string?> headings)` [#](#method-combine-collections-generic-ienumerable-system-string)

[ReaderHeadingPath.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Reader.Core/ReaderHeadingPath.cs#L11)

Combines heading titles while escaping literal backslashes and greater-than signs.

Parameters

**headings System.Collections.Generic.IEnumerable<string?> required**

Returns

`string?`

`public static void SetHierarchyPath(ReaderLocation location, string? hierarchyPath)` [#](#method-sethierarchypath-officeimo-reader-readerlocation-string)

[ReaderHeadingPath.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Reader.Core/ReaderHeadingPath.cs#L56)

Associates an escaped hierarchy-only path with the current public display path. Reader adapters use this to preserve literal heading delimiters without changing normal output.

Parameters

**location OfficeIMO.Reader.ReaderLocation required**

**hierarchyPath string? required**

`public static IReadOnlyList<string> Split(string? path)` [#](#method-split-string)

[ReaderHeadingPath.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Reader.Core/ReaderHeadingPath.cs#L21)

Parses an escaped path. Legacy unescaped separators continue to represent nesting.

Parameters

**path string? required**

Returns

`IReadOnlyList<string>`

`public static string? ToDisplayString(string? path)` [#](#method-todisplaystring-string)

[ReaderHeadingPath.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/OfficeIMO.Reader.Core/ReaderHeadingPath.cs#L47)

Returns the unescaped display form of a heading path.

Parameters

**path string? required**

Returns

`string?`

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

<!-- PowerForge markdown artifact sha256:FFBC989895F81667D8705660CFFCFB1730F59D6DC96FD8663775E275BED258AD -->
