[WebODF] template rendering and printing