> ## 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: Other

## `Address`

Not exported by name. You get it from the API.

```ts theme={null}
type Address = Rect & { sheet?: string }
```

## `Areas`

Not exported by name. You get it from the API.

```ts theme={null}
type Areas = RangeAreas & { isNullObject: boolean }
```

## `BasicCellValue`

An Office.js `CellValue` with the members every basic value has.

Not exported by name. You get it from the API.

```ts theme={null}
type BasicCellValue = { basicType: "Empty"; basicValue: ""; type: "Empty" } | { basicType: "String"; basicValue: string; type: "String" } | { basicType: "Double"; basicValue: number; type: "Double" } | { basicType: "Boolean"; basicValue: boolean; type: "Boolean" } | { basicType: "Error"; basicValue: string; errorType: string; type: "Error" } | LocalImageCellValue | WebImageCellValue
```

## `Cell`

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `col` | `number` | |
| `row` | `number` | |
| `ws` | `ExcelWorksheet` | |

## `CellControl`

`Excel.CellControl`; `Unknown` is a control other than a checkbox.

Import from `@reductoai/xlsx/officejs`.

| Name | Type | Description |
| - | - | - |
| `type` | `"Empty" \| "Checkbox" \| "Mixed" \| "Unknown"` | |

## `CellValueInput`

What `valuesAsJson` takes for a cell: a basic value, or a `LocalImage` with a new image or a cached one.

Not exported by name. You get it from the API.

```ts theme={null}
type CellValueInput = { basicType?: string; basicValue?: string | number | boolean; type?: string } | { altText?: string; basicType?: string; basicValue?: string; image: LocalImageCacheId | Base64EncodedImage; type: "LocalImage" }
```

## `ClientResult`

The value half of an Office.js `ClientResult`; the facade applies edits at once, so it is ready at return.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `value` | `T` | |

## `ContentType`

Import from `@reductoai/xlsx/officejs`.

```ts theme={null}
type ContentType = "Plain" | "Mention"
```

## `Ctx`

Cells of a sheet, or a cell style (`style`, as `styleXf` gives it) when set.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `rect` | `Rect` | |
| `sheet` | `ExcelWorksheet` | |
| `style?` | `number` | |

## `CustomPropertyValue`

Import from `@reductoai/xlsx/officejs`.

```ts theme={null}
type CustomPropertyValue = boolean | Date | number | string
```

## `DocumentPropertyType`

Import from `@reductoai/xlsx/officejs`.

```ts theme={null}
type DocumentPropertyType = "Number" | "Boolean" | "Date" | "String" | "Float"
```

## `GroupOption`

Import from `@reductoai/xlsx/officejs`.

```ts theme={null}
type GroupOption = "ByRows" | "ByColumns"
```

## `Kind`

Not exported by name. You get it from the API.

```ts theme={null}
type Kind = "rowBreaks" | "colBreaks"
```

## `Model`

Not exported by name. You get it from the API.

```ts theme={null}
type Model = () => DataBarModel
```

## `Nullable`

Not exported by name. You get it from the API.

```ts theme={null}
type Nullable<T> = T & { isNullObject: boolean }
```

## `Placement`

Import from `@reductoai/xlsx/officejs`.

```ts theme={null}
type Placement = "TwoCell" | "OneCell" | "Absolute"
```

## `PropertyLoadOptions`

Not exported by name. You get it from the API.

```ts theme={null}
type PropertyLoadOptions = { [key: string]: boolean | PropertyLoadOptions }
```

## `RangeCopyType`

`Excel.RangeCopyType`.

Not exported by name. You get it from the API.

```ts theme={null}
type RangeCopyType = "All" | "Formulas" | "Values" | "Formats"
```

## `RangeHyperlink`

`Excel.RangeHyperlink`.

Import from `@reductoai/xlsx/officejs`.

| Name | Type | Description |
| - | - | - |
| `address?` | `string` | |
| `documentReference?` | `string` | |
| `screenTip?` | `string` | |
| `textToDisplay?` | `string` | |

## `Rect`

A rectangle of cells, zero-based and inclusive.

Import from `@reductoai/xlsx/officejs`.

| Name | Type | Description |
| - | - | - |
| `c0` | `number` | |
| `c1` | `number` | |
| `r0` | `number` | |
| `r1` | `number` | |

## `RuleHost`

The stored formula of a custom rule (no "="), the areas it covers and how to replace it.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `areas` | `() => readonly Rect[]` | |
| `formula` | `() => string` | |
| `setFormula` | `(value: string) => void` | |

## `Scope`

The sheet index a collection is scoped to; null for the workbook.

Not exported by name. You get it from the API.

```ts theme={null}
type Scope = () => number | null
```

## `Setter`

Not exported by name. You get it from the API.

```ts theme={null}
type Setter = (fn: (m: DataBarModel) => void) => void
```

## `UpdateData`

What a handle's set() takes: any of its non-method members, a navigation member as a nested
batch. Read-only scalars are allowed by type; they throw at run time unless throwOnReadOnly is false.

Not exported by name. You get it from the API.

```ts theme={null}
type UpdateData<T> = { [K in keyof T as T[K] extends (args: never[]) => unknown ? never : K]?: T[K] extends readonly unknown[] | null | string | number | boolean ? T[K] : UpdateData<T[K]> }
```

## `UpdateOptions`

OfficeExtension.UpdateOptions: read-only keys throw unless throwOnReadOnly is false.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `throwOnReadOnly?` | `boolean` | |

## `Value`

Not exported by name. You get it from the API.

```ts theme={null}
type Value = string | number | boolean
```

## `WorkbookLinksRefreshMode`

Import from `@reductoai/xlsx/officejs`.

```ts theme={null}
type WorkbookLinksRefreshMode = "Manual" | "Automatic"
```
