Hi there community!
Since recent the conversion of my DOCX to PDF using the macro which automatically creates the TOC in the pdf doesn't work anymore. I'm using PHP 7.0 with LibreOffice 126.96.36.199 10m0(Build:2).
The command that is run is the following:
soffice --invisible "macro:///Standard.Module1.SaveToPdfToc(/documents/6104875e1a913bb1f781c3983ff8a6b3.docx)"
It used to work but for some reason it doesnt anymore. The macro is located here:
Notice that when I run the normal command without the TOC conversion the conversion succeeds and the PDF is generated:
soffice --headless --convert-to pdf --outdir "/documents/" "/6104875e1a913bb1f781c3983ff8a6b3.docx"
Does anyone can help / experience the same issue?