1. Extend org.displaytag.render.ItextTableWriter and override writeTableHeader
In your writeTableHeader implementation, you'll apply the iText api to generate
the colspan's you want, etc...
2. Extend org.displaytag.export.BinaryExportView to create an export view that uses your new table writer, following the DefaultItextExportView as an example.
3. Configure your new export view in each jsp where you want to use it or in your displaytag properties file.
-Jorge
Praveen Kumar G <[EMAIL PROTECTED]> wrote:
How can i use a custom class to export pdf files? I
want to create reports with custom headers that may
have colspanned or row spanned headers. I tried to
over ride the export.pdf.class property, but this
works only through the properties files. Is there a
way in which i can achieve this, for selected reports only?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

