# OdpTableCell

An XML-backed presentation table cell.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdpTable.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpTable.cs#L141)

**Modifiers**

sealed

An XML-backed presentation table cell.

## Inheritance

- object
- OdpTableCell

## Usage

Explore 3 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 3

- Method [OdpTable.Cell](/api/open-document/officeimo-opendocument-odptable/#method-cell-int32-int32)
- Method [OdpTable.Merge](/api/open-document/officeimo-opendocument-odptable/#method-merge-int32-int32-int32-int32)
- Property [OdpTableRow.Cells](/api/open-document/officeimo-opendocument-odptablerow/#property-cells)

Filter members 

Show inherited

## Methods

`public OdpParagraph AddParagraph(string? text = null)` [#](#method-addparagraph-string)

[OdpTable.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpTable.cs#L141)

Adds a paragraph to the cell.

Parameters

**text string? = null optional**

Returns

`OdpParagraph`

## 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 IsCovered { get; }` [#](#property-iscovered)

[OdpTable.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpTable.cs#L111)

True when covered by a merged cell.

`public int RowSpan { get; }` [#](#property-rowspan)

[OdpTable.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpTable.cs#L113)

Number of rows spanned by a merged-cell anchor.

`public int ColumnSpan { get; }` [#](#property-columnspan)

[OdpTable.cs:115](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpTable.cs#L115)

Number of columns spanned by a merged-cell anchor.

`public IReadOnlyList<OdpParagraph> Paragraphs { get; }` [#](#property-paragraphs)

[OdpTable.cs:119](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpTable.cs#L119)

Paragraphs directly stored in this cell.

`public string Text { get; set; }` [#](#property-text)

[OdpTable.cs:131](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpTable.cs#L131)

Decoded cell text.

<!-- PowerForge markdown artifact sha256:45CE3C3D4471560945D6299FD72CC3959014D5C02AF8DF0742C03E2B4F796A5A -->
