Hello,
first I have to say, that PrinceXML is a really great tool.
But at the moment I have a problem: I want to convert some xhtml code to pdf. Okay, that works, but if my source looks like that:
<table>
<tr>
<th colspan=5>title</th>
</tr>
<tr>
<th width=20>text</th>
<th>Text </th>
<th width=100>text</th>
<th width=100>text</th>
<th width=100>text</th>
</tr>
<tr>
<td>
...
</tr>
...
</table>
I think prince has a problem with the colspan-attribute, could that be possible? (even if I set the table-layout to fixed). So the result is, that my first row, the title-row woorks preety well, but the other "<th>" elements have this width as defined in the source and for the rest of the table, there are 4 more columns with a border around them.
Okay, its hard to describe
If i remove the "colspan" attribute, I get a better result, but the same problem as mentioned before appears in the first table-row (title) and the other table colums have exactly the same width (20%).
Thats not really fine, because I want to create PDFs that are looking like nearly the same as my website does.
Have you any ideas how I can solve that problem?
thanks a lot!
first I have to say, that PrinceXML is a really great tool.
But at the moment I have a problem: I want to convert some xhtml code to pdf. Okay, that works, but if my source looks like that:
<table>
<tr>
<th colspan=5>title</th>
</tr>
<tr>
<th width=20>text</th>
<th>Text </th>
<th width=100>text</th>
<th width=100>text</th>
<th width=100>text</th>
</tr>
<tr>
<td>
...
</tr>
...
</table>
I think prince has a problem with the colspan-attribute, could that be possible? (even if I set the table-layout to fixed). So the result is, that my first row, the title-row woorks preety well, but the other "<th>" elements have this width as defined in the source and for the rest of the table, there are 4 more columns with a border around them.
Okay, its hard to describe
If i remove the "colspan" attribute, I get a better result, but the same problem as mentioned before appears in the first table-row (title) and the other table colums have exactly the same width (20%).
Thats not really fine, because I want to create PDFs that are looking like nearly the same as my website does.
Have you any ideas how I can solve that problem?
thanks a lot!