PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: background image does not rendered in page footer
   PostPosted: 13 May 2010, 08:46 
PD4ML pd4ml = new PD4ML();
...
PD4PageMark mark = new PD4PageMark();
mark.setAreaHeight(-1);
mark.setHtmlTemplate("<table width='100%'><tr><td style='background-image:url(http://localhost:9080/Web1/images/base/print_logo.gif);background-repeat: repeat-x;'>&nbsp;</td></tr></table>");
pd4ml.setPageFooter(mark);


If i change setPageFooter to setPageHeader, the print_logo.gif was dispaly in the page(s) header correctly.

If i change html template to
<table width='100%'><tr><td>aaa</td></tr></table>

and setPageFooter, "aaa" was display in the page(s) footer correctly.

If i set background image to page footer with table, there's "Nothing" in the pdf page(s) footer but I can see debug info. display below :

image not yet in cache
http://localhost:9080/Web1/images/base/print_logo.gif
not yet in cache: http://localhost:9080/Web1/images/base/print_logo.gif
image size: 1523

WinXP SP3 / WAS 6.1 / PD4ML 360fx1


  Subject: Re: background image does not rendered in page footer
   PostPosted: 17 May 2010, 20:04 
Does it change anything if you append the footer definition with some more content? For example:

...</td></tr></table><p>&nbsp;</p>


  Subject: Re: background image does not rendered in page footer
   PostPosted: 19 May 2010, 04:36 
Np :(
I try "...</td></tr></table><p>123abc</p>"
print_logo.gif and "123abc" were not rendered in the pdf page(s) footer.


  Subject: Re: background image does not rendered in page footer
   PostPosted: 23 Oct 2010, 15:13 
In older versions it could be caused by an influence of enableImgSplit(false) rendering mode. The newest versions should be free of the problem.



[Reply]     [ 4 posts ] 

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