Table of Contents

Class ReportDocument

Namespace
TdbIO
Assembly
TdbIO.dll

A finished report (.xsr): plain text in pages. The columns are not parsed.

public sealed class ReportDocument : TdbDocument

Inheritance

Inherited Members

Properties

EncodingName

The encoding used to read the bytes: ascii, utf-8, cp1251, cp1252, or the System.Text.Encoding.WebName of TdbIO.TdbReadOptions.TextEncoding when it was set. One encoding is used for the whole file; bytes that do not fit it are not changed.

public string EncodingName { get; }

Property Value

string

EndsWithLineBreak

True when the text ends with CR LF.

public bool EndsWithLineBreak { get; }

Property Value

bool

Lines

The lines split on CR LF, without the form feed that starts a page. A lone CR or LF stays in the line.

public IReadOnlyList<string> Lines { get; }

Property Value

IReadOnlyList<string>

PageStarts

The indexes in TdbIO.ReportDocument.Lines of the lines that began with a form feed (U+000C), that is, the first lines of every page after the first.

public IReadOnlyList<int> PageStarts { get; }

Property Value

IReadOnlyList<int>