PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: not showing second header in PDF
   PostPosted: 06 Nov 2009, 15:23 
My sample HTML like this :

<tr class=tbl-bold-pdf>
<th class=tbl-bold-pdf align='center' colspan=1 rowspan=2 wrap>&nbsp;&nbsp;<b>Department&nbsp;</b></th>
<th class=tbl-bold-pdf align='center' colspan=4 rowspan=1 wrap>EMPLOYEE&nbsp;</th>
<th class=tbl-bold-pdf align='center' colspan=2 rowspan=1 wrap>SCHEDULED&nbsp;</th>
<th class=tbl-bold-pdf align='center' colspan=2 rowspan=1 wrap>WORKED&nbsp;</th>
</tr>
<tr class=tbl-bold-pdf>
<th class=tbl-bold-pdf align='center' colspan=1 rowspan=1 wrap>Last Name&nbsp;</th>
<th class=tbl-bold-pdf align='center' colspan=1 rowspan=1 wrap>First Name&nbsp;</th>
<th class=tbl-bold-pdf align='center' colspan=1 rowspan=1 wrap>Emp ID&nbsp;</th>
<th class=tbl-bold-pdf align='center' colspan=1 rowspan=1 wrap>Phone Number&nbsp;</th>
<th class=tbl-bold-pdf align='center' colspan=1 rowspan=1 wrap>Shift&nbsp;</th>
<th class=tbl-bold-pdf align='center' colspan=1 rowspan=1 wrap>Hours&nbsp;</th>
<th class=tbl-bold-pdf align='center' colspan=1 rowspan=1 wrap>Shift&nbsp;</th>
<th class=tbl-bold-pdf align='center' colspan=1 rowspan=1 wrap>Hours&nbsp;</th>
</tr>

And i am setting enableTableBreaks property 'True'. My application deployed in glassfish server. And my pdf contains more than one page.

In PDF, first page showing double headers properly. From second page onwards, second header not getting displayed i.e Last Name, First Name, Emp Id, Phone Number etc header. But first header displaying properly. i.e. Department, EMPLOYEE, SCHEDULED, WORKED header.

Can you please let me know why this issue coming in glassfish server. It's properly working when my application deployed in tomcat.

Please check the attached Image "SecondHeaderMissing_pdf2.GIF" for clarification.


Attachments:
SecondHeaderMissing_pdf2.GIF
SecondHeaderMissing_pdf2.GIF [ 70.97 KiB | Viewed 1076 times ]
  Subject: Re: not showing second header in PDF
   PostPosted: 11 Nov 2009, 14:05 
Is the problem reproduceable with the most recent version of PD4ML (v351)?


  Subject: Re: not showing second header in PDF
   PostPosted: 11 Nov 2009, 14:40 
I am using pd4ml 2.6 version. Don't know about most recent version(V351). Can you please check with version 2.6 why this issue was coming and provide the patch.


  Subject: Re: not showing second header in PDF
   PostPosted: 11 Nov 2009, 14:51 
According to the release notes the feature is added in v323b4. Before that, PD4ML was able to replicate only single row headers.


  Subject: Re: not showing second header in PDF
   PostPosted: 11 Nov 2009, 15:19 
sorry.. i am using below mentioned PD4ML version
Implementation-Title: PD4ML Pro
Implementation-Version: 324
These details mentioned in manifest file of pd4ml.jar.
Can you please check once again why this issue was coming?


  Subject: Re: not showing second header in PDF
   PostPosted: 11 Nov 2009, 15:37 
I've just checked the issue with v351 and on my workstation it works correctly. Please upgrade.


  Subject: Re: not showing second header in PDF
   PostPosted: 04 May 2011, 18:34 
We are using 371b1 Pro (Trial), and we does encountered the mentioned 'double header' issue.

On our side, I generate the webpage with JSP, and assign header using JAVA code. As we try to print our paperwork on an A4 page in landscape with 2 columns, so as to simulate 2 A5 printout side by side.

The header has 100px tall but it seems to spare 200px tall. The header is not duplicated itself, just left a white space below itself.

And the header is not shown except page 1.

I does turn on the enableSmartTableBreak(true), while header contains a table. The height of the header is set to -1 so as to let it decide the height automatically.

Is there any incorrect setting I need to take care? Does my given information enough for you to check out what is wrong?



[Reply]     [ 7 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share