# IWorkTable

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

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[IWorkTable.cs:250](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L250)

**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.

### Returned or exposed by 6

- Property [IWorkKeynoteDrawable.Table](/api/iwork/officeimo-iwork-iworkkeynotedrawable/#property-table)
- Property [IWorkKeynoteSlide.Tables](/api/iwork/officeimo-iwork-iworkkeynoteslide/#property-tables)
- Property [IWorkNumbersDrawable.Table](/api/iwork/officeimo-iwork-iworknumbersdrawable/#property-table)
- Property [IWorkNumbersSheet.Tables](/api/iwork/officeimo-iwork-iworknumberssheet/#property-tables)
- Property [IWorkPagesDrawable.Table](/api/iwork/officeimo-iwork-iworkpagesdrawable/#property-table)
- Property [IWorkPagesProjection.Tables](/api/iwork/officeimo-iwork-iworkpagesprojection/#property-tables)

Filter members 

Show inherited

## Methods

`public OfficeBorderBox GetBorders(int row, int column)` [#](#method-getborders-int32-int32)

[IWorkTable.cs:250](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L250)

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)` [#](#method-getcell-int32-int32)

[IWorkTable.cs:343](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L343)

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**

Returns

`IWorkTableCell?`

`public double? GetColumnWidth(int column)` [#](#method-getcolumnwidth-int32)

[IWorkTable.cs:328](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L328)

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)` [#](#method-getfill-int32-int32)

[IWorkTable.cs:261](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L261)

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**

Returns

`IWorkCellFill?`

`public IWorkCellPadding? GetPadding(int row, int column)` [#](#method-getpadding-int32-int32)

[IWorkTable.CellLayout.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.CellLayout.cs#L16)

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

Parameters

**row int required**

**column int required**

Returns

`IWorkCellPadding?`

`public IWorkParagraphStyle? GetParagraphStyle(int row, int column)` [#](#method-getparagraphstyle-int32-int32)

[IWorkTable.cs:280](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L280)

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

Parameters

**row int required**

**column int required**

Returns

`IWorkParagraphStyle?`

`public double? GetRowHeight(int row)` [#](#method-getrowheight-int32)

[IWorkTable.cs:322](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L322)

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)` [#](#method-getverticalalignment-int32-int32)

[IWorkTable.CellLayout.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.CellLayout.cs#L24)

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

Parameters

**row int required**

**column int required**

Returns

`IWorkCellVerticalAlignment?`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public bool HasBorderDeclarations { get; }` [#](#property-hasborderdeclarations)

[IWorkTable.cs:244](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L244)

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

`public IWorkTableFillStyles FillStyles { get; }` [#](#property-fillstyles)

[IWorkTable.cs:256](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L256)

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

`public IWorkTableTextStyles TextStyles { get; }` [#](#property-textstyles)

[IWorkTable.cs:274](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L274)

Gets the qualified table-region paragraph defaults.

`public string Name { get; }` [#](#property-name)

[IWorkTable.cs:291](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L291)

Gets the source table name.

`public IWorkObjectIdentity? SourceIdentity { get; }` [#](#property-sourceidentity)

[IWorkTable.cs:293](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L293)

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

`public int RowCount { get; }` [#](#property-rowcount)

[IWorkTable.cs:296](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L296)

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

`public int ColumnCount { get; }` [#](#property-columncount)

[IWorkTable.cs:298](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L298)

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

`public int HeaderRowCount { get; }` [#](#property-headerrowcount)

[IWorkTable.cs:300](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L300)

Gets the declared leading header-row count.

`public int HeaderColumnCount { get; }` [#](#property-headercolumncount)

[IWorkTable.cs:302](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L302)

Gets the declared leading header-column count.

`public int FooterRowCount { get; }` [#](#property-footerrowcount)

[IWorkTable.cs:304](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L304)

Gets the declared trailing footer-row count.

`public double? DefaultRowHeight { get; }` [#](#property-defaultrowheight)

[IWorkTable.cs:306](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L306)

Gets the default row height in source points.

`public bool? AutoResizeRows { get; }` [#](#property-autoresizerows)

[IWorkTable.cs:308](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L308)

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

`public double? DefaultColumnWidth { get; }` [#](#property-defaultcolumnwidth)

[IWorkTable.cs:310](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L310)

Gets the default column width in source points.

`public IReadOnlyDictionary<int, double> RowHeights { get; }` [#](#property-rowheights)

[IWorkTable.cs:312](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L312)

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; }` [#](#property-columnwidths)

[IWorkTable.cs:314](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L314)

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; }` [#](#property-hiddenrows)

[IWorkTable.cs:316](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L316)

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

`public IReadOnlyList<int> HiddenColumns { get; }` [#](#property-hiddencolumns)

[IWorkTable.cs:318](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L318)

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

`public IReadOnlyList<IWorkTableMergeRange> MergedRanges { get; }` [#](#property-mergedranges)

[IWorkTable.cs:333](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L333)

Gets merged ranges in source order.

`public IWorkGeometry? Geometry { get; }` [#](#property-geometry)

[IWorkTable.cs:335](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L335)

Gets the table drawable geometry when present.

`public string? AccessibilityDescription { get; }` [#](#property-accessibilitydescription)

[IWorkTable.cs:337](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L337)

Gets the source table accessibility description.

`public IReadOnlyList<IWorkTableCell> Cells { get; }` [#](#property-cells)

[IWorkTable.cs:339](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkTable.cs#L339)

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

<!-- PowerForge markdown artifact sha256:28AD495A90A49175B4B8EA76404AD60D3DCF9ADBD58428C5CC3BD86BC92928B5 -->
