Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26456

    Hi,

    At the moment I am evaluating pd4ml pro for a client. I have an issue with the JSP-tag pd4ml:header. I am using the following code :

    <br /> <pd4ml:transform<br /> screenWidth="400"<br /> pageFormat="A4"<br /> pageOrientation="portrait"<br /> pageInsets="20,20,90,20,points"<br /> enableImageSplit="false"<br /> fileName="${filename}.pdf"<br /> enable="true"><br /> <br /> <pd4ml:header areaHeight="90"><br /> <table width="360"><br /> <tr><br /> <td style="width:36px;"><img src="/images/logosmall.png" style="margin-right:15px;" width="36" height="45"/></td><br /> <td valign="bottom" style="text-align:left; "><br /> <div style="font-size:15px; display:inline-block;text-align:left; "><br /> TESTING THIS<br /> </div><br /> <div style="font-size:9px; display:inline-block; text-align:left;"><br /> <b>created by:</b> Ruben Thys<br/><br /> <b>created on:</b> ${creationDate}<br /> </div><br /> </td><br /> </tr><br /> </table><br /> </pd4ml:header><br />

    The strange thing is sometimes my header disappears when my document contains more or less text! When I set enableImageSplit to ‘true’, my header appears and everything is rendered perfect.

    Is there an alternative way of implementing this ?

    Is this a known issue, because before buying the product we have to know if we could use this feature…

    Thanks in advance!

    Ruben

    #28213

    As far as I remember we already addressed the issue. Which version of PD4ML do you use?

    A better approach would be to use <pd4ml:page.header> tag instead. Some info about headers/footers in PD4ML:

    html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.html

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.