Templating and document conversion using libre office