How to bulk update doc page size to make the page size consistent?

asked 2019-09-18 09:24:36 +0200

Nikunj beladiya gravatar image

updated 2020-07-21 06:33:18 +0200

Alex Kemp gravatar image

I have a bunch of doc files and all files paper size format is different. I want to convert all those doc file formats to A4 size using soffice command.

Is there any way so I can convert those files using the command line and create a bulk process?

edit retag flag offensive close merge delete


There's no command-line option to do that (LibreOffice command line interface is not meant to edit files); you might be able to do that e.g. creating some macro and then using the command line to open files and run the macro. Or by using PyUNO to control LibreOffice from scripts.

Mike Kaganski gravatar imageMike Kaganski ( 2019-09-18 12:34:58 +0200 )edit