You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(7538): soffice is now optional for docx/pdf (#7707)
Native DOCX export, PDF export, and DOCX import shipped in #7568
via pure-JS in-process converters -- LibreOffice/soffice is no
longer required for those formats. Stale comments in
settings.json.template and settings.json.docker still implied
otherwise ("will only allow plain text and HTML import/exports"),
and the docker docs told users to configure soffice for DOCX as
well. Update them to match what's actually in core:
- soffice present: handles all office formats (existing behavior)
- soffice null: docx export, pdf export, docx import work
natively; odt/doc/rtf export and pdf import still need soffice
Touches:
- settings.json.template (soffice + docxExport comments)
- settings.json.docker (same)
- doc/docker.md ("Office-format import/export" section)
- doc/docker.adoc (same section + the SOFFICE table row,
matching what doc/docker.md already says since #7568)
No code changes, no behavior change -- documentation only.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: doc/docker.adoc
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,16 +62,17 @@ The variable value has to be a space separated, double quoted list of plugin nam
62
62
63
63
Some plugins will need personalized settings. Just refer to the previous section, and include them in your custom `settings.json.docker`.
64
64
65
-
==== Rebuilding including export functionality for DOC/DOCX/PDF/ODT
65
+
==== Office-format import/export
66
66
67
-
If you want to be able to export your pads to DOC/DOCX/PDF/ODT files, you can
68
-
install Libreoffice via setting the `INSTALL_SOFFICE` build variable to any
69
-
value.
67
+
DOCX export, PDF export, and DOCX import work out of the box — Etherpad
68
+
ships pure-JS in-process converters and needs no extra dependencies for
69
+
those three formats.
70
70
71
-
Also, you will need to configure the path to the libreoffice executable
72
-
via setting the `soffice` property in `<BASEDIR>/settings.json.docker` to
73
-
`/usr/bin/soffice` or via setting the environment variable `SOFFICE` to
74
-
`/usr/bin/soffice`.
71
+
DOC/ODT/RTF export and PDF import still require LibreOffice. To enable
72
+
them, install LibreOffice via the `INSTALL_SOFFICE` build variable (any
73
+
value), and either set the `soffice` property in
74
+
`<BASEDIR>/settings.json.docker` to `/usr/bin/soffice` or set the
75
+
`SOFFICE` environment variable to `/usr/bin/soffice`.
75
76
76
77
==== Examples
77
78
@@ -452,7 +453,7 @@ For the editor container, you can also make it full width by adding `full-width-
452
453
| `21600` (6 hours)
453
454
454
455
| `SOFFICE`
455
-
| Absolute path to the soffice (LibreOffice) executable. Needed for advanced import/export of pads (docx, pdf, odt). Setting it to null disables LibreOffice and will only allow plain text and HTML import/exports.
456
+
| Absolute path to the soffice (LibreOffice) executable. When configured, all advanced import/export formats use it (docx, pdf, odt, doc, rtf). Setting it to null falls back to in-process pure-JS converters: docx and pdf export, plus docx import, still work; odt/doc/rtf and pdf import remain unavailable.
0 commit comments