Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

IWorkTable

OfficeIMO.IWork

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

A sparse table shared by Pages, Numbers, and Keynote projections.

Inheritance

  • object
  • IWorkTable

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.

Methods

public OfficeBorderBox GetBorders(int row, int column) #

Gets effective borders in points at a one-based cell without materializing an empty grid. Zero-width sides explicitly clear borders. Null sides are absent or unsupported, with source diagnostics distinguishing rejected declarations. Native sparse edits resolve both neighboring cells to the same physical edge using their edit order.

Parameters

row int required
column int required

Returns

OfficeBorderBox
public IWorkTableCell? GetCell(int row, int column) #

Returns a materialized cell at a one-based position, or null when no value, diagnostic, or supported cell formatting is retained.

Parameters

row int required
column int required
public double? GetColumnWidth(int column) #

Gets the explicit width or default width of a one-based column, when known.

Parameters

column int required

Returns

double?
public IWorkCellFill? GetFill(int row, int column) #

Gets the effective supported fill at a one-based position. Selected fills, including explicit no-fill, override region defaults. Unresolved selected fills suppress defaults. Header and footer rows precede header columns. Banding applies only to body cells.

Parameters

row int required
column int required
public IWorkCellPadding? GetPadding(int row, int column) #

Gets supported effective padding at a one-based position, including unstored empty cells.

Parameters

row int required
column int required
public IWorkParagraphStyle? GetParagraphStyle(int row, int column) #

Gets the effective supported paragraph style for a one-based cell, including unstored empty cells.

Parameters

row int required
column int required
public double? GetRowHeight(int row) #

Gets the explicit height or default height of a one-based row, when known.

Parameters

row int required

Returns

double?
public IWorkCellVerticalAlignment? GetVerticalAlignment(int row, int column) #

Gets supported effective top, middle or bottom alignment at a one-based position, including unstored empty cells.

Parameters

row int required
column int required

Properties

public bool HasBorderDeclarations { get; } #

Gets whether native table defaults or selected edges declare border formatting, including invisible or unresolved borders.

public IWorkTableFillStyles FillStyles { get; } #

Gets supported table-region and alternating body-row fill defaults without materializing empty source cells.

public IWorkTableTextStyles TextStyles { get; } #

Gets the qualified table-region paragraph defaults.

public string Name { get; } #

Gets the source table name.

public IWorkObjectIdentity? SourceIdentity { get; } #

Gets the native table-info identity, excluding auxiliary model and tile records.

public int RowCount { get; } #

Gets the declared row count without allocating an equivalent dense grid.

public int ColumnCount { get; } #

Gets the declared column count without allocating an equivalent dense grid.

public int HeaderRowCount { get; } #

Gets the declared leading header-row count.

public int HeaderColumnCount { get; } #

Gets the declared leading header-column count.

public int FooterRowCount { get; } #

Gets the declared trailing footer-row count.

public double? DefaultRowHeight { get; } #

Gets the default row height in source points.

public bool? AutoResizeRows { get; } #

Gets whether native table rows grow to fit content. Null means the setting is absent or unresolved.

public double? DefaultColumnWidth { get; } #

Gets the default column width in source points.

public IReadOnlyDictionary<int, double> RowHeights { get; } #

Gets explicit row heights in points, keyed by one-based row position. Zero-size native entries use the default and are omitted.

public IReadOnlyDictionary<int, double> ColumnWidths { get; } #

Gets explicit column widths in points, keyed by one-based column position. Zero-size native entries use the default and are omitted.

public IReadOnlyList<int> HiddenRows { get; } #

Gets qualified base user-hidden rows as sorted one-based positions. Other visibility states remain in source diagnostics.

public IReadOnlyList<int> HiddenColumns { get; } #

Gets qualified base user-hidden columns as sorted one-based positions. Other visibility states remain in source diagnostics.

public IReadOnlyList<IWorkTableMergeRange> MergedRanges { get; } #

Gets merged ranges in source order.

public IWorkGeometry? Geometry { get; } #

Gets the table drawable geometry when present.

public string? AccessibilityDescription { get; } #

Gets the source table accessibility description.

public IReadOnlyList<IWorkTableCell> Cells { get; } #

Gets materialized value, diagnostic, or explicitly styled empty cells.