# Insert formated text with relatorio into an ODF

**URL:** https://discuss.tryton.org/t/insert-formated-text-with-relatorio-into-an-odf/4934
**Category:** User
**Tags:** relatorio
**Created:** [January 20, 2022, 1:33pm UTC](https://discuss.tryton.org/t/insert-formated-text-with-relatorio-into-an-odf/4934 "2022-01-20T13:33:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DomCa](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/da6949/32.png) [@DomCa](https://discuss.tryton.org/u/DomCa)
#### Post date: [January 20, 2022, 1:33pm UTC](https://discuss.tryton.org/t/insert-formated-text-with-relatorio-into-an-odf/4934/1 "2022-01-20T13:33:55Z")

</div>

Hi all,

is it possible to insert formated text, for example HTML, into an ODT tempate?

Thanks!  
DomCa

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 20, 2022, 3:57pm UTC](https://discuss.tryton.org/t/insert-formated-text-with-relatorio-into-an-odf/4934/2 "2022-01-20T15:57:14Z")

</div>

HTML is not the same format as OpenDocument (even if they are similar). You can use [`include` directive](https://genshi.edgewall.org/wiki/Documentation/xml-templates.html#id7) to insert OpenDocument XML with relatorio.  
There is an open feature to discuss options [Allow to include richtext content in report (#2068) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue2068)

---

<div class="post-metadata">

### Author: ![DomCa](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/da6949/32.png) [@DomCa](https://discuss.tryton.org/u/DomCa)
#### Post date: [January 20, 2022, 8:01pm UTC](https://discuss.tryton.org/t/insert-formated-text-with-relatorio-into-an-odf/4934/3 "2022-01-20T20:01:16Z")

</div>

Ok. Thank you for the hint.

I will give it a try using HTML to XML with pandoc and see what happens.

Regards  
DomCa
