Table of Contents

Class TextNfo

Namespace
SearchAThing.DocX
Assembly
netcore-docx.dll

helper class to map run offsets

public class TextNfo
Inheritance
TextNfo
Inherited Members

Constructors

TextNfo(WordprocessingDocument)

public TextNfo(WordprocessingDocument doc)

Parameters

doc WordprocessingDocument

Properties

Runs

public IReadOnlyList<Run> Runs { get; }

Property Value

IReadOnlyList<Run>

RunsBeginOffset

public IReadOnlyList<int> RunsBeginOffset { get; }

Property Value

IReadOnlyList<int>

RunsTextLen

public IReadOnlyList<int> RunsTextLen { get; }

Property Value

IReadOnlyList<int>

Text

public string Text { get; }

Property Value

string

Methods

GetRunIdxBeginningAtOffset(int)

public int? GetRunIdxBeginningAtOffset(int offset)

Parameters

offset int

Returns

int?