Convert OpenDocument and OpenXML documents to PDF

1
Nov
2015

In the previous article I've introduced you to OpenTBS which is a class able to create and edit OpenXML and OpenDocument documents in PHP, extremely useful for report generation. But what if you need to provide the documents in PDF for the final users?

In this article I'll demonstrate how you can convert OpenXML or (preferably) OpenDocument reports to PDF using LibreOffice or OpenOffice. All this using PHP.

Create OpenXML and OpenDocument reports with OpenTBS

1
Nov
2015

It's a common requirement in web applications to be able to export data to the end users. The most common format is CSV but in more advanced applications you need a complex system that's able to create reports with charts, tables and in a specific disposition for the users.

In this article I present TinyButStrong, and OpenTBS, that allow you to create and edit OpenXML and OpenDocument reports in PHP.