Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Export as EPUB

Export the current file to EPUB.

EPUB is standard for electronic book files with the extension .epub that can be downloaded and read on devices like smartphones, tablets, computers or e-readers.

To access this command...

Choose File - Export As - Export as EPUB.

Export Directly as EPUB

EPUB dialogue box

General

Version

Sets the version of the resulting EPUB file.

Split method

Select the type of start of the next EPUB section.

  • Heading: Starts the next section on headings, according to the document outline numbering.
  • Page break: Starts the new section on a page break.

Layout method

Determines if a reflowable or a fixed layout EPUB will be generated.

  • Reflowable: The content flows, or reflows, to fit the screen and to fit the needs of the user. This also means that page style information (for example page size or header/footer content) is not exported.
  • Fixed: Gives greater control over presentation when a reflowable EPUB is not suitable for the content.

Custom cover image

Enter the full path of the custom cover image file. If the entry is empty, the exporter takes the cover image in the media directory (see below) when the name is one of the following: cover.gif, cover.jpg, cover.png or cover.svg.

The custom cover image is embedded in the EPUB file.

Custom media directory

Enter the custom media directory for the EPUB file. The media directory may contain a cover image as seen above, custom metadata and image links.

By default, the exporter looks for custom media and custom metadata in the current document directory inside a folder with the same name of the document file name. For example, if the document name is MyText.odt, the default media folder for cover and metadata is MyText in the current directory.

For custom metadata, you must provide a file with same name as the original filename and with extension as ".xmp". The provided metadata will override the internal document metadata. In the example above, the custom metadata must exist in the MyText directory as MyText.xmp.

Image links mean that if you create relative links on images or text and they link an image that's available in the media directory, then this media will be available in the EPUB export result as a pop-up.

Metadata

Enter the custom metadata to override the document default metadata. These text fields can be left empty.

Identifier

Enter a unique identifier for the publication.

Title

Enter the title of the publication.

Author

Enter the Author of the publication.

Language

Language of the publication (see RFC4646 and ISO 639 for possible values).

Date

Last modification date for the publication. The value of this property must be an XML Schema dateTime conformant date in the form: CCYY-MM-DDThh:mm:ssZ. Default is the date and time when the export dialogue box opened.