I am trying to covert my html template to docx and pdf file.I want to add fix footer for all pages. I am using libreoffice command for it.
sudo -u ${user} libreoffice --headless --convert-to docx:"MS Word 2007 XML" ${htmlfilePath} --outdir ${destinationPath}
Thank you