When I try to open a password protected doc file to pdf using sOffice.exe, it generates the pdf file but has juck characters in it. Is there a way instead to prevent it from creating PDF file altogether?
soffice.exe --headless --convert-to-pdf c:\docs\passwordprotected.docx --outdir d:\docs
Appreciate any help on this.