On 2015-10-01 12:34, 'Udo Spallek' via tryton wrote: > Thu, 1 Oct 2015 10:11:27 +0200 > Cédric Krier <[email protected]>: > >On 2015-10-01 00:28, 'Udo Spallek' via tryton wrote: > >> Is there a way to get the rendered text shown in libre office? > >I did not test but the release 0.6.2 of relatorio include new directive > >like content and replace. Those directive should allow you to "insert" > >the HTML content in the odt. > Thank you, but I have no idea how to insert those directives in libreoffice. > I tried placeholder type "text" with: > > <content test="sale.quotation_appendix"> > </content> > <content:sale.quotation_appendix> > > But it always produces errors: > > http://pastebin.com/4QfTXspt > > Maybe placeholder is not the correct way?
Yes it should. The content directive is like any other directive, you
have to put something like in the placeholder:
content: p=sale.quotation_appendix
where "p" is the name of the parent tag for which you want to set the
content.
There is an example in relatorio/examples/columns.odt
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
pgp1edNMkLKAE.pgp
Description: PGP signature
