# Data types

> Data structures used by Facade methods, snapshots, cells, and rich text.

- Human documentation: [https://docs.univer.ai/reference/types](https://docs.univer.ai/reference/types)

- Agent Markdown: [https://docs.univer.ai/reference/types.md](https://docs.univer.ai/reference/types.md)

- Requested language: `en-US`

- Content language: `en-US`

- Documentation version: `1.0.0-rc.0`

- Source: [types/index.mdx](https://github.com/dream-num/documentation/blob/dev/content/reference/types/index.mdx)

---

Use these types to construct API arguments, interpret returned data, and save editor snapshots. Each page includes its import, definition, fields, and related types.

| Working with                    | Types                                                                                                                                                                                 |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Cell content                    | [CellValue](https://docs.univer.ai/reference/types/cell-value.md) · [ICellData](https://docs.univer.ai/reference/types/cell-data.md)                                                                                                    |
| Cell coordinates and formatting | [IRange](https://docs.univer.ai/reference/types/range.md) · [IStyleData](https://docs.univer.ai/reference/types/style-data.md)                                                                                                          |
| Spreadsheet snapshots           | [IWorkbookData](https://docs.univer.ai/reference/types/workbook-data.md) · [IWorksheetData](https://docs.univer.ai/reference/types/worksheet-data.md)                                                                                   |
| Documents and rich text         | [IDocumentData](https://docs.univer.ai/reference/types/document-data.md) · [IDocumentBody](https://docs.univer.ai/reference/types/document-body.md) · [ITextRun](https://docs.univer.ai/reference/types/text-run.md) · [ITextStyle](https://docs.univer.ai/reference/types/text-style.md) |
| Presentations                   | [ISlideData](https://docs.univer.ai/reference/types/slide-data.md) · [ISlidePage](https://docs.univer.ai/reference/types/slide-page.md)                                                                                                 |
| Whiteboards                     | [IBoardData](https://docs.univer.ai/reference/types/board-data.md)                                                                                                                                             |
| Bases                           | [IBaseSnapshot](https://docs.univer.ai/reference/types/base-snapshot.md)                                                                                                                                       |
| PDF units                       | [IPdfUnitData](https://docs.univer.ai/reference/types/pdf-unit-data.md)                                                                                                                                        |
| Application appearance          | [Theme](https://docs.univer.ai/reference/types/theme.md)                                                                                                                                                       |

`IRange` uses zero-based, inclusive cell coordinates. `ICellData` contains plain values, formulas, rich text, and style references. A snapshot describes a saved state; use [Facade methods](https://docs.univer.ai/reference/facade/univer.md) to change the live editor.

For plugin configuration, open the corresponding [package](https://docs.univer.ai/reference.md#configuration). Event callbacks document their payloads in [Events](https://docs.univer.ai/reference/facade/events.md). Method pages link to any additional parameter and return types they use.
