Class
ReaderHeadingPath
OfficeIMO.Reader
Builds and parses escaped Reader heading paths.
Inheritance
- object
- ReaderHeadingPath
Methods
public static string? Combine(IEnumerable<string?> headings) #Combines heading titles while escaping literal backslashes and greater-than signs.
Parameters
- headings System.Collections.Generic.IEnumerable<string?>
Returns
string?public static void SetHierarchyPath(ReaderLocation location, string? hierarchyPath) #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
- hierarchyPath string?
public static IReadOnlyList<string> Split(string? path) #Parses an escaped path. Legacy unescaped separators continue to represent nesting.
Parameters
- path string?
Returns
IReadOnlyList<string>public static string? ToDisplayString(string? path) #Returns the unescaped display form of a heading path.
Parameters
- path string?
Returns
string?