API Reference

Class

LegacyXlsCell

Namespace OfficeIMO.Excel.LegacyXls.Model
Assembly OfficeIMO.Excel
Modifiers sealed

Represents a parsed legacy XLS cell using one-based row and column indexes.

Inheritance

  • Object
  • LegacyXlsCell

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public LegacyXlsCell(Int32 row, Int32 column, LegacyXlsCellValueKind kind, Object value, UInt16 styleIndex, Boolean isFormula = false, String formulaText = null, IReadOnlyList<LegacyXlsTextFormattingRun> textFormattingRuns = null) #

Creates a parsed legacy XLS cell.

Parameters

row System.Int32 requiredposition: 0
One-based row index.
column System.Int32 requiredposition: 1
One-based column index.
kind OfficeIMO.Excel.LegacyXls.Model.LegacyXlsCellValueKind requiredposition: 2
Cell value kind.
value System.Object requiredposition: 3
Parsed cell value.
styleIndex System.UInt16 requiredposition: 4
Legacy XF style index.
isFormula System.Boolean = false optionalposition: 5
Whether the cell was parsed from a formula record.
formulaText System.String = null optionalposition: 6
Decoded formula text, when token decoding was supported.
textFormattingRuns System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.LegacyXls.Model.LegacyXlsTextFormattingRun} = null optionalposition: 7
Rich-text formatting runs for text cells.

Properties

public Int32 Row { get; } #

Gets the one-based row index.

public Int32 Column { get; } #

Gets the one-based column index.

public LegacyXlsCellValueKind Kind { get; } #

Gets the value kind.

public Object Value { get; } #

Gets the parsed value.

public UInt16 StyleIndex { get; } #

Gets the legacy XF style index associated with the cell.

public Boolean IsFormula { get; } #

Gets whether this cell came from a BIFF formula record and contains its cached result.

public String FormulaText { get; } #

Gets decoded formula text when the BIFF token stream was supported.

public IReadOnlyList<LegacyXlsTextFormattingRun> TextFormattingRuns { get; } #

Gets rich-text formatting runs for text cells.