Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

command line client xslx -> pdf

Hi, my task is to convert lots of xslx files to pdf on centos 6.8. I have that working using libreoffice cli.

However, I have some problems left which I don't find ways to solve them. - the generated Pdf is always in portrait but I need it in landscape. xslx is in landscape but pdf in portrait. - I need to fit/scale the xlsx to one page (since landscape xslx doesn't fit to portrait) - the font of xlsx (arial) is converted to another font in pdf (I already created a template with arial and set it as default but cli pdf conversion seems to ignore it)

Can someone please help me? I can't find documentation or parameters which I could use to set parameters on how the Pdf is being generated.