Hello Peter, there is no PDF support nor any rendering/layout support in the ODF Toolkit, as it focus solely on the creation and adoption of the office file format. You will need to add a third party library for PDF support. I am aware of several companies using libreoffice in the backend headless (without using any front-end) only automated by command line.
There might be other suggestions from users on this list... Regards, Svante On Sun, Mar 13, 2016 at 12:16 PM, Peter Cernocky <[email protected]> wrote: > Hi, > > this OpenOffice solution of course works. But I am talking about Java > odf-toolkit framework, since I need some automated process. > > > On 03/13/2016 11:57 AM, Rory O'Farrell wrote: > >> On Sun, 13 Mar 2016 11:45:26 +0100 >> Peter Cernocky <[email protected]> wrote: >> >> Hi guys, >>> >>> I finally managed to create/build my odt file, but now I need to >>> export it to >>> the pdf format. I read odf-toolkit is not capable to do so. >>> >>> 1. Will there ever be this option? It is so sad, this is not possible, >>> isn't it? >>> 2. What framework should I use to do that? >>> >>> I already tried xdocreport (using itext): >>> https://github.com/opensagres/xdocreport/ but the result was very >>> strange. Like, >>> each paragraph was at completely new (its own) page, formatting was >>> hell, scattered. >>> >>> Thanx! >>> >>> Peter >>> >>> >>> /File /Export to PDF is available in OpenOffice. What is wrong with >> using that? >> >> >> >
