# OfficeDocumentModelNode

Source-neutral recursive document structure used by hierarchical text formats.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeDocumentModelNode.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModelNode.cs#L9)

**Modifiers**

sealed

Source-neutral recursive document structure used by hierarchical text formats. Format-specific syntax and lossless extension data remain owned by the native format package.

## Inheritance

- object
- OfficeDocumentModelNode

## 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 [OfficeDocumentModel.Structure](/api/core/officeimo-officedocumentmodel/#property-structure)
- Property [OfficeDocumentModelNode.Children](/api/core/officeimo-officedocumentmodelnode/#property-children)

Filter members 

Show inherited

## Constructors

`public OfficeDocumentModelNode()` [#](#constructor-ctor)

[OfficeDocumentModelNode.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModelNode.cs#L9)

## 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 string Id { get; set; }` [#](#property-id)

[OfficeDocumentModelNode.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModelNode.cs#L9)

Stable node identifier when one is available.

`public string Kind { get; set; }` [#](#property-kind)

[OfficeDocumentModelNode.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModelNode.cs#L12)

Producer-normalized node kind, such as outline, section, paragraph, list, or table.

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

[OfficeDocumentModelNode.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModelNode.cs#L15)

Primary plain-text value.

`public int? Level { get; set; }` [#](#property-level)

[OfficeDocumentModelNode.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModelNode.cs#L18)

Optional nesting or heading level.

`public IReadOnlyDictionary<string, string> Attributes { get; set; }` [#](#property-attributes)

[OfficeDocumentModelNode.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModelNode.cs#L21)

Portable semantic attributes, using expanded names when a source attribute is namespaced.

`public IReadOnlyList<OfficeDocumentModelNode> Children { get; set; }` [#](#property-children)

[OfficeDocumentModelNode.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModelNode.cs#L25)

Child nodes in source order.

`public OfficeDocumentModelLocation Location { get; set; }` [#](#property-location)

[OfficeDocumentModelNode.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeDocumentModelNode.cs#L28)

Source location.

<!-- PowerForge markdown artifact sha256:8A908ABBFC44735FFCC2628D0C659D5B40EA0066555B6DD502371530A56F8EE5 -->
