Forum Bugs

Text in page break cell truncated

howellgg
Hi,

We produce a report in a table that has a significant number of text cells. If a page break occurs in a row, and it is the last row in the table, everything works fine, the remainder of the text is on the next page. However, if there is another line in the table, that line prints at the top of the next page and the remainder of the text is not printed.

Unfortunately the html for my sample is quite long, but here it is:

<html><head>
<style type="text/css">
@page { size: US-LETTER LANDSCAPE; prince-shrink-to-fit: auto; margin: 144pt 72pt 72pt 72pt;
}

.rpt_table {
background-color: white;
border-color: black;
border-width: thin;
color: black;
font-family: Arial, sans-serif;
font-size: 8pt;
margin: 0pt;
overflow: scroll;
padding: 2pt;
}

.colhdr {
background-color: #83acd8;
color: black;
font-weight: bold;
text-align: center;
vertical-align: bottom;
}

.evenrow {
background-color: white;
}

.valign_top {
vertical-align: top;
}

.allsides {
border-collapse: collapse;
border-color: black;
border-style: solid;
border-width: thin;
}

.allsides td {
border-collapse: collapse;
border-color: black;
border-style: solid;
border-width: thin;
}
</style>
</head><body scroll="AUTO" style="margin-left:2;margin-right:2;margin-top:2;margin-bottom:2">
<table class="rpt_table allsides" style="width: 79em;" cellspacing="0" cellpadding="2" frame="box">
<thead class="colhdr">
<tr class=" allsides" >
<td style="width: 20em;" > adslfkajd </td>
<td style="width: 25em;" > alkdsjflament </td>
<td style="width: 7em;" > lakdj </td>
<td style="width: 20em;" > lakdj Wording - Description </td>
</tr>
</thead>
<tbody class="evenrow">
<tr >
<td rowspan=000000003 class=" valign_top"> <p>Abcde Qwertyui and Hwlrther Ksvupwoicmet</p></td>
<td rowspan=000000003 class=" valign_top"> <p>Abcde Qwertyui and Hwlrther Ksvupwoicmet - alkdsjflament</p></td>
<td > 00001</td>
<td > <p>Abcde Qwertyui and Hwlrther Ksvupwoicmet &ndash; Operating lkjdalkjsd;lasd, and<br />
(<em>a</em>) lkjdalkjsd;lasd on works, buildings and equipment; and lkjdalkjsd;lasd and recoverable lkjdalkjsd;lasd
in respect of adsasdss alkdjaljld and work performed on other than Jswekls ;lkajosidjo;<br />
(<em>b</em>) alkdjfaasl to alkdjaljl, in respect of Abcde and Psyen alkdjaljl Ksvupwoicmet asdskities, for the capacity
Ksvupwoicmet for Abcde and Psyen and the furnishing of materials and equipment;<br />
(<em>c</em>) alkdjfaasl to sell electric alskdjs to lakjdalkd adl;kajsdrs in remote locations when alterpaksid alkdsj
sources of supply are not available, in alkdjalkdsfj with lkjsdlfka and ajdflakjdds approved by the adlkjfaor in alkdjald; and<br />
(<em>d</em>) the payment to each member of the Xossg&rsquo;s lkjis alkdjald for alsdkjals who is a msidlali without
alskdjfio or a msidlali of alkjdl who does not preside over a adslfkajd of alkjdl of a salary not to exceed the salary
paid to msidlalis of alkjdl who preside over alkjdsfries of alkjdl under the <em class="EmisLawReference">adsasdes adt</em>,
as adaasded pasdasdt to the <em class="EmisLawReference">K;lkajsdlk lk Kasdjj Sjj </em>and sdk asdk lkj lka ;lajld of adas adan a dadr</p></td>
</tr>
<tr >
<td > 00005</td>
<td > <p>Abcde Qwertyui and Hwlrther Ksvupwoicmet &ndash; Capital lkjdalkjsd;lasd, and (<em>a</em>) lkjdalkjsd;lasd
on buildings, works, land and equipment, the operation, control and ownership of which may be transferred to laksdjlakjf
laksdjlaksdjs on lkjsdlfka and ajdflakjdds approved by the adlkjfaor in alkdjald, or to Abcde alkds, groups of Abcdes or
individual Abcdes at the discretion of the msidlali of Abcde Qwertyui and Hwlrther Ksvupwoicmet, and such lkjdalkjsd;lasd
on other than Jswekls ;lkajosidjo; and (<em>b</em>) alkdjfaasl to make recoverable lkjdalkjsd;lasd in amounts not exceeding
the shares of laksdjlakjf laksdjlaksdjs of lkjdalkjsd;lasd on roads and related works</p></td>
</tr>
<tr >
<td > 00010</td>
<td > <p>Abcde Qwertyui and Hwlrther Ksvupwoicmet &ndash; The grants listed in the Estimates and ajl;dsfalkutions</p></td>
</tr>
</tbody>
</table></body></html>


You'll notice that after running it through Prince the text in the second row is truncated. If you delete the 3rd row and re-process it, the text carries over.

Thanks,
Grant
mikeday
That looks like a bug, we'll try and fix it for the next maintenance release. Thanks for letting us know. :)
mikeday
The new Prince 6.0 rev 6 maintenance release should improve the layout of tables with cells that span many rows and break across pages.