> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reducto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Types: OfficeJS: Editor

## `LayoutHost`

Answers "the laid pages of this session, as of now"; see WordDocument.from.

Import from `@reductoai/docx/node`, `@reductoai/docx/officejs`.

```ts theme={null}
type LayoutHost = SessionLayoutHost<DocxSession>
```

## `SelectionPosition`

A caret in the session's address space; the editor's `Position` has this shape.

Import from `@reductoai/docx/officejs`.

| Name | Type | Description |
| - | - | - |
| `offset` | `number` | |
| `target` | `EditTarget` | |

## `SelectionSpan`

The user's selection as the editor holds it; anchor and focus equal means a caret.

Import from `@reductoai/docx/officejs`.

| Name | Type | Description |
| - | - | - |
| `anchor` | `SelectionPosition` | |
| `focus` | `SelectionPosition` | |
