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

# Word documents

> How Casa Conect imports, edits and exports Word files: what is preserved, what is simplified, and how you are told.

Legal work is done in Word, and Casa Conect treats `.docx` as a first-class format. It reads and writes Word files with its own document engine, built for this purpose and not borrowed from a generic converter. It is strict about one rule: **whenever something cannot be carried across exactly, you are told.** Nothing is dropped silently.

## Three ways to work with a Word file

<CardGroup cols={3}>
  <Card title="Keep it as a Word file" icon="file">
    The file stays a `.docx` in the vault. The agent edits it **in place**. Its changes are written into the file as native Word tracked changes, in a new version, and everything else in the file is preserved.
  </Card>

  <Card title="Open it in the editor" icon="file-pen">
    **Import Word (.docx)** converts it into an [editor](/documents/editor) document for collaborative work, and **Download as Word** converts it back.
  </Card>

  <Card title="Work in Word itself" icon="app-window">
    **Open in Word** and use the [add-in](/word-add-in/overview). Saving sends new versions back to the vault.
  </Card>
</CardGroup>

<Tip>
  For a document that will keep travelling between you and the other side as a Word file, **keep it as a Word file**. The agent's in-place edits touch only the text they change, which is the most faithful route. Import into the editor when the document will live in Casa Conect.
</Tip>

## What import preserves

| Preserved                | Detail                                                                                                                      |
| :----------------------- | :-------------------------------------------------------------------------------------------------------------------------- |
| **Text and structure**   | Paragraphs, headings, block quotes, page breaks in their true positions                                                     |
| **Character formatting** | Bold, italic, underline, strikethrough, highlight, superscript and subscript, colour, size, font                            |
| **Lists**                | Bulleted and numbered lists, resolved from Word's numbering definitions, with restarts                                      |
| **Tables**               | Including merged cells across rows and columns, header rows, borders and shading                                            |
| **Links and images**     | Images are embedded in the document                                                                                         |
| **Page setup**           | Paper size, orientation and margins, read from the file's real settings                                                     |
| **Headers and footers**  | Default, first-page and even-page variants                                                                                  |
| **Page numbers**         | `PAGE` and `NUMPAGES` fields stay **live**                                                                                  |
| **Tracked changes**      | Insertions, deletions, moves and formatting changes, with their authors. See [Tracked changes](/documents/tracked-changes). |

## What changes in translation

Every item below produces a plain-language notice when it applies to your file.

| In the Word file                                                                 | In the editor                                                                                                                  | Why                                        |
| :------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------- |
| **Footnotes and endnotes**                                                       | Removed                                                                                                                        | The editor has no note construct           |
| **Comments**                                                                     | Not placed in the document. They are read and returned with the passage each one was attached to, so they are not lost to you. | The editor has no comment marks            |
| **Fields other than page numbers**: cross-references, dates, a table of contents | Become static text showing their last value                                                                                    | The editor does not recalculate fields     |
| **Content controls** (form fields, drop-downs)                                   | Unwrapped to their plain content                                                                                               | Controls are not supported                 |
| **Charts, SmartArt, embedded objects**                                           | Removed                                                                                                                        | These cannot be represented                |
| **Several sections with different page sizes or orientation**                    | One page setup applies to the whole document                                                                                   | The editor has a single page configuration |
| **Task lists**, on export                                                        | Paragraphs with ☐ and ☒                                                                                                        | Word has no native task list               |
| **Highlight colours**, on export                                                 | The nearest of Word's 16 highlight colours                                                                                     | Word's palette is fixed                    |
| **Fonts embedded in the original file**                                          | Not carried through a round trip                                                                                               | The editor re-embeds the fonts it uses     |

### The second trip is always clean

A simplification can only happen **once**. When a document has been imported and exported, taking it round again produces no further changes and no notices. Casa Conect's tests enforce this. Documents do not degrade a little more with every exchange.

## What is refused outright

For security, some files are rejected with a clear message rather than opened:

* **Macro-enabled documents** (`.docm`), and any file containing a VBA project
* Files that are **not valid Word documents**, or that contain malformed or dangerous XML
* **Archive bombs**: files that expand to an unreasonable size, or that contain an unreasonable number of parts

## Fonts and page layout

Casa Conect renders Word files with its own layout service, so the pages you see match Word's as closely as possible. Common fonts are matched with metric-compatible equivalents, so line and page breaks fall where Word puts them. For example, Calibri, Arial, Times New Roman and Courier New each have an equivalent with identical spacing. Microsoft's Aptos is available in its genuine form.

When a document uses a font that cannot be matched, the [viewer](/documents/vault#the-viewer) **names the font** and warns that the layout is approximate. It does not quietly substitute a lookalike.

<Tip>
  To make a document render in its own typefaces anywhere, save it from Word with **File → Options → Save → Embed fonts in this file**.
</Tip>

## PDF

**Export PDF** produces a PDF whose pagination matches what you see in the editor and the viewer, including headers, footers and page numbers. PDFs are tagged for accessibility.

PDF is an **output** format only. A PDF can be viewed, searched and read by the agent. It cannot be converted into an editable document.

## Limits

| Limit                              | Value                        |
| :--------------------------------- | :--------------------------- |
| Upload to a vault                  | 50 MB per file               |
| Import into the editor             | About 22 MB                  |
| A document open in the Word add-in | 15 MB                        |
| Conversion to PDF                  | 50 MB, and up to two minutes |

## Privacy

Import, export and PDF conversion run inside Casa Conect's own infrastructure. Your document is not sent to an outside conversion service.
