Skip to the content
Documentation

Word processor documents: import and export

No ratings yet

With the extension ezodf, documents written in a word processor become content, and content goes back out as documents. Word (DOCX, DOC), OpenDocument (ODT), RTF, PDF, Markdown, HTML, plain text, spreadsheets and presentations can be imported; an item can be downloaded as DOCX, PDF, ODT, RTF, DOC, XHTML, EPUB or text, and a folder as a ZIP of documents. Everything happens in the administration. A new installation has ezodf switched on.

This chapter describes ezodf 7 (the figures show version 7.0.2). Earlier versions imported only OpenDocument texts, one at a time, and needed a conversion daemon on the server for Word files.

Where to find it

  • In Setup, Documents (Word, OpenDocument, PDF ...) under Import and export in the left column. The left column then lists Import documents, Document imports, Export documents, Document converter and the Job queue.
  • The menu of an item in the tree, Documents: Export as OpenDocument (ODT), Export as PDF, Export as Word (DOCX), Import documents here and Replace with a document.
An item's menu with the Documents submenu: export, import and replace

Documents in an item's menu: export the item as ODT, PDF or Word, import documents here, or replace the item with a document.

The Documents menu in the left column of Setup

The left column of the Documents pages: import, the list of imports, export, the document converter and the job queue.

What a document becomes

A document becomes an Article by default: its headings, paragraphs, bold and italic text, lists, tables, links and images go into the body. A document whose parts are named like the fields of another registered class becomes that class. A spreadsheet becomes a table per sheet, a presentation a section per slide, a PDF its text. Fonts, colors and the page layout are not taken over: the design of the site decides the look.

Who can do what

Right What it allows
ezodf/import Import documents and see your own imports; replace an item with a document. Importing also needs the right to create items in the target folder.
ezodf/export Export items and folders you may read.
ezodf/converter The Document converter page, and the imports of every user.

The chapters

Read more

In this section

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.