# The Office editor app The Office editor app, [`filex-office-editor`](https://github.com/BRF-Tech/filex-office-editor), is how filex edits Word, Excel and PowerPoint documents and their kin - and, from its **0.4.0** (for filex 0.57), how filex draws their thumbnails and converts them on the server. It needs no ONLYOFFICE Document Server: an installation that has one can delete its container ([Moving from a Document Server](#moving-from-a-document-server)). It is an [app](APP-PLUGINS.md) like any other: an administrator installs it, reviews what it asks for, and approves every update. It is AGPL-3.0, based on ONLYOFFICE Docs by Ascensio System SIA, and its source, build and measurements are in its repository. This page says what it does in filex; [ONLYOFFICE.md](ONLYOFFICE.md) is the reference for office editing as a whole, with or without a Document Server. ## At a glance | | Where it runs | What it does | |---|---|---| | **The editor** | in the person's browser, in a sandboxed frame filex draws | opens 45 kinds of office documents, edits them alone or with others, saves a new version, prints, downloads in other formats | | **The office engine** (`engine.zip`, 0.4.0) | on the filex server, in a process of its own, with no network | draws office thumbnails and makes the office conversions apps ask for (the Convert app, MCP's `file_convert`) | Both come from ONLYOFFICE's own code: the editor's files from the official Document Server image, and x2t, ONLYOFFICE's converter, compiled to WebAssembly by the project. On the server the editor's own page layout (sdkjs) runs in a JavaScript engine compiled to WebAssembly too, so a thumbnail or a PDF is laid out the way the editor lays it out. ## What it does ### In the browser - **Opens 45 kinds** in place of the preview - Word: `.docx`, `.docm`, `.dotx`, `.dotm`, `.doc`, `.dot`, `.odt`, `.ott`, `.fodt`, `.rtf`, `.wps`, `.wpt`, `.stw`, `.sxw`, `.mht`, `.mhtml`; Excel: `.xlsx`, `.xlsm`, `.xltx`, `.xltm`, `.xls`, `.xlt`, `.xlsb`, `.ods`, `.ots`, `.fods`, `.csv`, `.et`, `.ett`, `.sxc`; PowerPoint: `.pptx`, `.pptm`, `.potx`, `.potm`, `.ppsx`, `.ppsm`, `.ppt`, `.pot`, `.pps`, `.odp`, `.otp`, `.fodp`, `.dps`, `.dpt`, `.sxi`. Before 0.4.0 it opened six of them (`.docx`, `.xlsx`, `.pptx`, `.odt`, `.ods`, `.odp`). A person who may only read a file opens it to read. - **Saves a new version.** **Save** (the editor's button, Ctrl+S, or filex's Save) writes the file in its own format as a new version; while there are changes it also saves every ten minutes, and filex asks before a person leaves unsaved work. - **A format it cannot write is saved beside the file.** `.doc`, `.xls`, `.ppt`, their older templates, the WPS and StarOffice kinds, `.mht` and the flat OpenDocument kinds are saved as `.docx`, `.xlsx` or `.pptx` next to the original, which stays as it was (`report.doc` → `report.docx`, then `report (2).docx`); the editor says where the save went ([A save in another format](ONLYOFFICE.md#a-save-in-another-format)). - **A conflict copy, never a lost change.** A file somebody changed after it was opened keeps their version; the save goes beside it as `.filex-conflict-