Ask Your Question

CLI Convert .xls and xlsx entire workbook

asked 2015-02-10 17:12:57 +0200

psantiago gravatar image

Is there a way to convert the entire excel file to pdf via cli.

Currently I am using libreoffice --headless --export-to pdf <file>. Is there a way to export the whole workbook? In excel you can do this with file save as pdf. Within the options section for pdf at the bottom there is a publish what section and you can select entire workbook. Does libreoffice have an equivalent cli version way to do this?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-02-11 22:32:30 +0200

psantiago gravatar image

To fix this all you need to do is to make sure your excel file is saved with print entire workbook setting from the file option. Once libreoffice is ran to convert-to pdf it will convert all the pages within the workbook.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-02-10 17:12:57 +0200

Seen: 728 times

Last updated: Feb 11 '15