Hello!
After years of successfully using pd4ml for various document export, we are extending its use to export an almost arbitrary page.
One of the issues we run into is the following:
"An absolutely positioned element within an anchor parent (not a link, rather the parent that the positioning eventually refers to) that has a padding on the side we position from - ie. absolute positioning from left and a left padding on the parent - will get positioned within the padding boundaries rather than the element itself."That behavior is different from that of all browsers I could test, who consistently relate to the element's box disregarding the padding.
An example:
Code:
<div style="padding:0 0 0 90px;position:relative;top:0;left:0;border:2px solid black;width:50em;height:90px;">
<img src="http://creativecommons.org/images/deed/cc-logo.jpg" title="This image should appear exactly in the left top corner of the parent box" style="width:80px;position:absolute;top:0;left:0;">
The image should appear exactly in the left top corner of the parent box. but due to the left padding, PD4ML renders it shifted to the right by the size of the padding and the image covers this text.
</div>
or a live link here (it can be used in the PD4ML GUI - many thanks for that tool!):
http://www.vergangen.de/permatemp/pd4mlreport/pd4ml_abspadding_forum_codesample.htmlWould that make a fixable issue?
If there was such a report already, please point me there and disregard my posting.
Ah yes - the version we use is PD4ML HTML2PDF for Java, version 380fx2.
--
Best regards,
Viktor