# OdtTableCell

An XML-backed ODT table cell.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdtTable.cs:239](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L239)

**Modifiers**

sealed

An XML-backed ODT table cell.

## Inheritance

- object
- OdtTableCell

## Usage

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

- Method [OdtTable.Cell](/api/open-document/officeimo-opendocument-odttable/#method-cell-int32-int32)
- Method [OdtTable.Merge](/api/open-document/officeimo-opendocument-odttable/#method-merge-int32-int32-int32-int32)
- Method [OdtTableRow.AddCell](/api/open-document/officeimo-opendocument-odttablerow/#method-addcell-string)
- Property [OdtTableRow.Cells](/api/open-document/officeimo-opendocument-odttablerow/#property-cells)

Filter members 

Show inherited

## Methods

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

[OdtTable.cs:239](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L239)

Adds a paragraph to the cell.

Parameters

**text string? = null optional**

Returns

`OdtParagraph`

## 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)

[OdtTable.cs:179](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L179)

True when this is a covered position in a merged range.

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

[OdtTable.cs:181](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L181)

Row span on the anchor cell.

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

[OdtTable.cs:183](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L183)

Column span on the anchor cell.

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

[OdtTable.cs:189](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L189)

Paragraphs directly stored in this cell.

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

[OdtTable.cs:220](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L220)

Cell text joined across paragraphs.

<!-- PowerForge markdown artifact sha256:61E106E92BA51E1FC6CAF9E340464BB20EEA88354CDAE5C2C21902C63F163AA0 -->
