I want to convert a xml file to a password protected MS Excel file on the command line.
The conversion from xml to an unprotected xlsx works fine with:
soffice --headless --convert-to xlsx:"Calc MS Excel 2007 XML" source.xml
My question is: How can I make the xlsx to be password protected?
I am on LibreOffice 18.104.22.168, Build ID: 22.214.171.124-4.el7.