Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

IWorkTableCell

OfficeIMO.IWork

Namespace
OfficeIMO.IWork
Assembly
OfficeIMO.IWork
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

One materialized value or empty cell with selected styles or unsupported features shared by Pages, Numbers, and Keynote table projections.

Inheritance

  • object
  • IWorkTableCell

Usage

Explore 6 API references to this type

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

Properties

public int Row { get; } #

Gets the one-based row position.

public int Column { get; } #

Gets the one-based column position.

public IWorkCellKind Kind { get; } #

Gets the recovered value kind.

public IWorkCellKind ValueKind { get; } #

Gets the type of IWorkTableCell.Value, including the cached-value type of a formula cell.

public object? Value { get; } #

Gets the typed cached value, when one was recovered.

public string? Formula { get; } #

Gets the reconstructed source formula, including its leading equals sign, or a visible marker when incomplete.

public bool FormulaIsComplete { get; } #

Gets whether IWorkTableCell.Formula is a complete reconstructed source expression.

public bool SourceFormulaIsDeclared { get; } #

Gets whether a supported source cell header declares a formula, even when its contents could not be decoded.

public bool CachedValueIsComplete { get; } #

Gets whether the recovered cached value is complete.

public string? Error { get; } #

Gets an error marker or cell-level decode failure without failing the surrounding table.

public bool HasDecodeError { get; } #

Gets whether a storage or value decoding failure replaced this cell with an error. A recovered native error marker does not set this flag; false does not establish complete field fidelity.

public IWorkTextContent? RichText { get; } #

Gets source rich text for a text or formula cell, including runs, styles, and hyperlinks when recovered.

public IWorkNumberFormat? NumberFormat { get; } #

Gets the supported source numeric or duration format. Null means absent or unresolved; source diagnostics distinguish unsupported declarations. Raw display text does not apply this format.

public string? SourceNumberText { get; } #

Gets the exact normalized source Decimal128 value in invariant coefficient/exponent notation when IWorkTableCell.NumericValueIsApproximate is true. This includes decimal formula caches.

public bool NumericValueIsApproximate { get; } #

Gets whether a source Decimal128 value exceeds the fifteen-significant-digit portable numeric contract. The recovered double remains available and conversion reports an approximation.

public IWorkCellFill? Fill { get; } #

Gets the supported selected native cell fill. Null means absent or unresolved; IWorkCellFill.IsNone distinguishes an explicit no-fill override.

public IWorkCellPadding? Padding { get; } #

Gets selected native padding in points. Null means absent or unresolved; an explicit empty message retains zero on all four sides.

public IWorkCellVerticalAlignment? VerticalAlignment { get; } #

Gets selected native vertical alignment. Null means absent or unresolved.

public OfficeBorderBox? Borders { get; } #

Gets supported selected cell-style borders in points. Null means no selected declaration; an absent side may also be unresolved. Table defaults and sparse edge edits are resolved by IWorkTable.GetBorders.

public IWorkParagraphStyle? ParagraphStyle { get; } #

Gets the supported explicitly selected paragraph style, or null when absent or unresolved. Table defaults are available through IWorkTable.GetParagraphStyle.

public IWorkCellUnsupportedFeatures UnsupportedFeatures { get; } #

Gets readable selected conditional-style, applied-rule, comment and scalar-format fields whose contents remain unassessed. None does not establish complete fidelity; undecoded cells are covered by their decode issues.

public IWorkCellComment? Comment { get; } #

Gets a qualified root cell comment. Replies and unresolved selectors remain in source diagnostics.

public string DisplayText { get; } #

Gets a culture-invariant display representation of the recovered value or formula.

public string CachedDisplayText { get; } #

Gets a culture-invariant display representation of the cached value, including for formula cells.