Search by

se7enxweb / ezodf-ls

7x

This extension provides for the import and export of OpenOffice.org Writer documents within Exponential Legacy

v6.1.11 2026-10-17 18:09 UTC

README

eZ Publish OpenOffice.org extension
===================================
This extension enables import and export of OpenOffice.org Writer documents within 
eZ Publish. It comes with a general OpenOffice.org Writer document generation library 
as well, if you have custom modules that needs to generate OpenOffice.org Writer 
documents.

Requires OpenOffice (or deratives like LibreOffice*) 2.4 or higher

For documentation look under doc/*

* You might need to customize $ooexecutable in scripts/*.php to support this.



Known limitations
-----------------

- Images in an imported document are created only after the import's create (or edit) check on the
  target node has passed, but the right to create image objects where they are placed is not checked
  separately.
- While exporting, if the user has not access to read images, they are just ignored. 
  Should replace them with a dummy image which says "no access".
- Importing document with images and storing the images in media does not work properly.


Upgrading to 6.1.10
-------------------

- The PHP zip extension (ext-zip) is required: uploaded OpenDocument files are checked and extracted
  with ZipArchive. Every entry is checked before anything is written, only content.xml and Pictures/*
  are extracted, with real byte limits (64 MiB per entry, 256 MiB in all, 10000 entries).
- The document conversion daemon is disabled by default (odf.ini [ODFImport] ConversionDaemon=disabled).
  Word (.doc) import and the PDF and Word export need it: set ConversionDaemon=enabled, start the daemon
  with the directory it may convert in, and add the Word upload handler mapping (doc/README.daemon).
- The OpenOffice.org client package (ooPackage/) and the server views it needed (authenticate,
  upload_import, upload_export, which were already disabled) are removed.
- Tests: vendor/bin/phpunit --bootstrap extension/ezodf/tests/bootstrap.php extension/ezodf/tests/