Libreoffice templating to produce libreoffice output formats