JODF > Tutorial > Export to PDF

The following example shows you how to export an ODF text document to PDF format. The saveAsPdf method preserves text formatting, paragraphs, headings, tables, lists, and other document elements.

Need help? Ask our developers: