I am currently developing a PHP web application that can convert Microsoft doc(x) files to a PDF format automatically.
For that we use the libreoffice headless converter on our webserver (CentOS 6.5 x64).
The following command I use to convert the file;
libreoffice --headless --convert-to pdf /path/to/sourceFile.doc -outdir /path/to/dest
Everything works perfectly, but there is one problem.
The PDF output should be in PDF/A-1a format, currently it is in a default format.
I searched the web for hours, but I can't find the solution for this.
How can I change the output format?