[ 
http://jira.codehaus.org/browse/DISPL-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179852#action_179852
 ] 

LusuM commented on DISPL-450:
-----------------------------

There is actually a bug while using itext 2.0.x to export a multi-page table : 
if here is a caption the table headers don't appear on the first page (it only 
affect PDF not RTF)
To solve this issue you have to use the method setNotAddedYet(false) on the 
table before adding it into the itext document.
I joined the correction file DISPL-450-DefaultItextExportView-patch.txt 
Cheers

> Update PDF export to use iText 2.0
> ----------------------------------
>
>                 Key: DISPL-450
>                 URL: http://jira.codehaus.org/browse/DISPL-450
>             Project: DisplayTag
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Duc M Trinh
>         Attachments: DISPL-450-DefaultItextExportView-patch.txt, 
> DISPL-450-DefaultPdfExportView-patch.txt, 
> DISPL-450-ItextTableWriter-patch.txt, DISPL-450-ItextTotalWrapper-patch.txt, 
> DISPL-450-PdfView-patch.txt
>
>
> Display Tag currently depends on iText 1.3 for its PDF exporting capability.  
> 1.3 is an extremely old version of the iText library (circa 2005).
> Our team is working on an application which makes use of both Display Tag and 
> iText 2.0.x.  The 2.0.x version brings many enhancements over prior versions. 
>  However, there's apparently quite a bit of refactoring (including 
> deprecation of many classes) that went on in the iText codebase.
> It would be nice to see Display Tag update this particular dependency.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to