format attribute and PDF generation [message #147098] |
Wed, 22 March 2006 17:16 |
Eclipse User |
|
|
|
Originally posted by: mhambersin.ippon.fr
Hello every one,
In the version 1 of BIRT, you could use the format attibute in value-of
tag directly from inside a text element.
Here is an example :
<value-of format="html">
row["contenu"]
</value-of>
The result here is not the HTML tag but the interpreted result in PDF.
This is really useful when the data retrieved from the db is formated in
HTML.
I tested it in the V2 of Birt and PDF view but it is not working anymore.
I get an outOfMemoryError.
Actually, if I use the viewer from inside Eclipse it is working properly.
But from inside my WebApp with the pdf ReportEngine of the V2, I get the
error.
Does anybody has an idea on how to generate a pdf with html data from DB
in V2 ?
Thanks to all
Maxime
|
|
|
|
Re: format attribute and PDF generation [message #147392 is a reply to message #147326] |
Thu, 23 March 2006 13:02 |
Eclipse User |
|
|
|
Originally posted by: mhambersin.ippon.fr
I put it inside a text element that is inside a table with a group.
The field "contenu" is straight from the DB and contains HTML tags such as
<B> content </B>. I want these tags to be interpreted.
When I use it from inside a very easy example just a title and this field,
it is not working if I put format="html". If I delete the format the thing
is working but I get all the HTML tags.
Thanks
Max
|
|
|
Powered by
FUDForum. Page generated in 0.02524 seconds