Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » format attribute and PDF generation
format attribute and PDF generation [message #147098] Wed, 22 March 2006 17:16 Go to next message
Eclipse UserFriend
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 #147326 is a reply to message #147098] Thu, 23 March 2006 09:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: almasalki.hotmail.com

where you put this
<value-of format="html">
row["contenu"]
</value-of>

tell me to try it
thanks
Re: format attribute and PDF generation [message #147392 is a reply to message #147326] Thu, 23 March 2006 13:02 Go to previous message
Eclipse UserFriend
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
Previous Topic:Error: Report engine can not create pdf emitter?
Next Topic:Use DB Pools (JNDI) instead of JDBC
Goto Forum:
  


Current Time: Sat Nov 09 03:39:51 GMT 2024

Powered by FUDForum. Page generated in 0.02524 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top