'How to manage footer while converting html to docx file using libreoffice command?

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



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source