PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Colspan not being honored when rendering PDF
   PostPosted: 01 Aug 2011, 15:51 
Similar to http://pd4ml.com/support/html-css-to-pdf-rendering-issues-f3/how-to-put-a-colspan-of-td-tag-in-table-t307.html?hilit=colspan, http://pd4ml.com/support/html-css-to-pdf-rendering-issues-f3/colspan-rowspan-not-rendering-t317.html?hilit=colspan and http://pd4ml.com/support/html-css-to-pdf-rendering-issues-f3/is-it-work-html-td-colspan-attribute-in-pd4ml-t308.html?hilit=colspan, I cannot get the colspan attribute to be honored in a rendered PDF. I tried with the simple case as given in one of those threads and got the exact same result as the orignal poster did.

Code:
<table>
   <tr>
         <td class="blank" >data</td>
         <td class="blank" >data</td>
         <td class="blank" >data</td>
          <td class="blank" >data</td>
        <td class="blank" >data</td>
    </tr>
    <tr>
         <td class="blank" colspan="3"></td>
            <td class="blank" colspan="2"></td>
    </tr>
</table>


I am using PD4ml Volume 3.71b4, with the following settings:

Page dimensions: LETTER, PORTRAIT
Margins: 12px (all)
HTML Width: 1050
Author Name: Set
Smart Table Breaks: true
Image Split: false

Is this an issue arising from a setting? I have tried it on both Linux and windows systems with the same results both times.


Attachments:
File comment: Result PDF
testPDF.pdf [17.38 KiB]
Downloaded 34 times
  Subject: Re: Colspan not being honored when rendering PDF
   PostPosted: 08 Aug 2011, 19:59 
Just to close the topic.

The issue was caused by an interference with an older version of CSS parser JAR in the classpath (or in shared lib/ directory).

Josh, thank you for the info!


  Subject: Re: Colspan not being honored when rendering PDF
   PostPosted: 08 Aug 2011, 20:09 
Exactly correct - the conflicting jar was from an old implementation of HTMLUnit (cssparser-0.9.5.jar). Thank you for your assistance!



[Reply]     [ 3 posts ] 

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