Turn one sheet into one page when converting xlsx to PDF by soffice command on Linux

Hi,
I am converting xlsx to PDF using the soffice command on Linux.
How can I turn one sheet into one page?

https://vmiklos.hu/blog/pdf-convert-to.html - the feature will be available in LibreOffice 7.4. For now, you would have to use a script for that.

(But if you don’t know which sheets exist in the XLSX, you still would need a macro to analyze that.)

3 Likes

Hi @mikekaganski ,

Thank you for your answer, It was very helpful.

For now, you would have to use a script for that.
(But if you don’t know which sheets exist in the XLSX, you still would need a macro to analyze that.)

It would be appreciated if you could share the information about the script and macro.

Regards,
mingchun