Table of Contents

BiffRStringRecord Struct

Definition

Namespace
Bodu.IO.Biff
Assembly
Bodu.IO.Biff.dll
Package
Bodu.IO.Biff 1.0.0
Source
BiffRStringRecord.cs

Represents a decoded RSTRING record: a BIFF5 rich-text label cell - a 16-bit-length code-page byte string followed by a run table of two-byte entries (character index, font index).

public readonly ref struct BiffRStringRecord
Inherited Members

Remarks

BIFF8 superseded the record with rich runs inside the shared string table; a BIFF8 stream may still carry it for compatibility, in which case the text is still a byte string in the stream's code page.

Properties

Column

Gets the zero-based column index.

public int Column { get; }

Property Value

int

The column index.

Row

Gets the zero-based row index.

public int Row { get; }

Property Value

int

The row index.

RunCount

Gets the number of formatting runs.

public int RunCount { get; }

Property Value

int

The run count.

Runs

Gets the formatting runs as raw bytes: two bytes per run, the first character index of the run followed by its font index.

public ReadOnlySpan<byte> Runs { get; }

Property Value

ReadOnlySpan<byte>

The run bytes.

Text

Gets the cell text.

public BiffString Text { get; }

Property Value

BiffString

The text as a span-backed byte-string view.

XfIndex

Gets the extended-format index of the cell.

public ushort XfIndex { get; }

Property Value

ushort

The XF index.

Applies to

ProductVersions
.NET8, 10

See Also