Skip to the content
Documentation

Exporting

No ratings yet

Any item can be downloaded as a document, to edit it in a word processor, to send it to someone or to print it. A folder can be downloaded with everything in it, as a ZIP of documents.

Who can do this

Users whose role has ezodf/export, for the items they may read.

Export one item

  • Open the item's menu in the tree and choose Documents > Export as OpenDocument (ODT), Export as PDF or Export as Word (DOCX). Your browser downloads the file.
  • Or open Export documents in the Documents pages of Setup, press Choose an item, and choose Download this item as ODT, DOCX, PDF, RTF, DOC, XHTML, EPUB or plain text.
The Export documents page with the button to choose an item

Export documents: choose an item, then the format to download it in, or a folder to get everything in it as a ZIP.

The item is written as an OpenDocument text, with its text fields, headings, lists, tables, links and images, and converted to the format you chose. If its class is registered in odf.ini, the fields listed there are exported; for any other class, all its text fields.

Export a folder

On the Export documents page, choose a folder and This folder and everything in it. Each item with text becomes a document, in the folder tree of the site, packed as a ZIP. It is written in the background; Folder exports lists it with a download link when it is ready. Items that could not be exported are named in the file not exported.txt inside the ZIP.

The look of an exported document

The OpenDocument file is built on a Writer template, extension/ezodf/templates/ezpublish.ott by default. Its page format, headers and footers apply to every export. An administrator can use a template of the site's own with odf.ini [ODFExport] TemplateName and TemplateRepository.

What can go wrong

  • Only ODT is offered or works. The site runs no LibreOffice for the conversion. Ask an administrator: see Setting up ezodf.
  • Images are missing in the document. Images you may not read are left out.
  • A field is missing. The class is registered in odf.ini and that field is not listed there.

Read more

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.