# OdtContentBlock

A paragraph, heading, or table in ODT reading order.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdtContentBlock.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtContentBlock.cs#L26)

**Modifiers**

sealed

A paragraph, heading, or table in ODT reading order.

## Inheritance

- object
- OdtContentBlock

## Usage

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

- Property [OdtDocument.ContentBlocks](/api/open-document/officeimo-opendocument-odtdocument/#property-contentblocks)
- Property [OdtHeaderFooter.ContentBlocks](/api/open-document/officeimo-opendocument-odtheaderfooter/#property-contentblocks)

Filter members 

Show inherited

## 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 OdtContentBlockKind Kind { get; }` [#](#property-kind)

[OdtContentBlock.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtContentBlock.cs#L26)

Block kind.

`public OdtParagraph? Paragraph { get; }` [#](#property-paragraph)

[OdtContentBlock.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtContentBlock.cs#L28)

Paragraph or heading value when applicable.

`public OdtTable? Table { get; }` [#](#property-table)

[OdtContentBlock.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtContentBlock.cs#L30)

Table value when applicable.

`public bool IsListItem { get; }` [#](#property-islistitem)

[OdtContentBlock.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtContentBlock.cs#L32)

True when the paragraph is contained by an ODF list item.

`public bool? IsOrderedList { get; }` [#](#property-isorderedlist)

[OdtContentBlock.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtContentBlock.cs#L34)

Whether the containing list is ordered, or null for non-list blocks.

`public int ListLevel { get; }` [#](#property-listlevel)

[OdtContentBlock.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtContentBlock.cs#L36)

Zero-based nesting level for list paragraphs.

<!-- PowerForge markdown artifact sha256:48F2115CE680BC698075749F1286DDCB6F91A76FA9EF0F096C57F76447299610 -->
