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 :

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

    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.