Forum Replies Created
-
AuthorPosts
-
in reply to: PDF page headers/footers definition options November 8, 2009 at 10:45#27266
I’m evaluating your product to use in production at a customer site.
I tried to add headers and footers to pages with these definitions:<pd4ml:page.header> <table> <tr> <td> <img src="images/logos/telco/TLCO_headerOff.JPG"> </td> </tr> </table> </pd4ml:page.header> <pd4ml:page.footer> <table> <tr> <td> <img src="images/logos/telco/TLCO_footerOff.JPG"> </td> </tr> </table> </pd4ml:page.footer>
The header appears but the footer does not.
I’m using the latest version of the library (3.5.1). I already checked the images and verified they are correct.
Can you help me?in reply to: General questions / FAQ November 11, 2009 at 10:23#26284Since THEAD is not supported, is there any other way to repeat table headers on each page in pd4ml?
in reply to: Any way to repeat table headers? November 11, 2009 at 11:50#27608For the time being it is only possible with pd4ml.enableTableBreaks() API call (or its JSP taglib mapping – a corresponding atribute of
<pd4ml:transform>).The mode forces PD4ML to repeat all table rows built with
<th>only.in reply to: PDF page headers/footers definition options November 11, 2009 at 11:55#27267First, try to make sure that it tries to render the footer: add border=”1″ to footer’s
<table>and ispect if the borders are in the PDF output.in reply to: not showing second header in PDF November 11, 2009 at 12:05#27602Is the problem reproduceable with the most recent version of PD4ML (v351)?
in reply to: not showing second header in PDF November 11, 2009 at 12:40#27603I am using pd4ml 2.6 version. Don’t know about most recent version(V351). Can you please check with version 2.6 why this issue was coming and provide the patch.
in reply to: not showing second header in PDF November 11, 2009 at 12:51#27604According to the release notes the feature is added in v323b4. Before that, PD4ML was able to replicate only single row headers.
in reply to: not showing second header in PDF November 11, 2009 at 13:19#27605sorry.. i am using below mentioned PD4ML version
Implementation-Title: PD4ML Pro
Implementation-Version: 324
These details mentioned in manifest file of pd4ml.jar.
Can you please check once again why this issue was coming?in reply to: not showing second header in PDF November 11, 2009 at 13:37#27606I’ve just checked the issue with v351 and on my workstation it works correctly. Please upgrade.
in reply to: PDF page headers/footers definition options November 13, 2009 at 10:57#27268I tried adding border=”1″ to the table element. The footer does not print. What else can I do?
in reply to: PDF page headers/footers definition options November 13, 2009 at 11:05#27269How many pages has the resulting PDF document?
Does it print the footer on the second page?in reply to: PDF page headers/footers definition options November 13, 2009 at 11:16#27270The document has tree pages. The header prints on every page correctly while the footer never prints.
Just in case, I can send you an example generated PDF and the HTML used.in reply to: PDF page headers/footers definition options November 13, 2009 at 11:40#27271yes, please send it to support (at) pd4ml . com
in reply to: HTML/CSS rendering issues November 16, 2009 at 16:05#26287We are trying to generate PDFs from HTML-Pages built by the use of HTML-Templates. Inside the templates we use
<pd4ml:page.header>and</pd4ml:page.header>to define the Page-Header.
The Conversions is done by a command-line call to java -jar pd4ml …
Now it seems that PD4ML set the header-size initially to 15 and when the header get larger, it gets truncated. We tried to set the header size manually to a larger value in the pd4browser.properties file but it seems not to have any effect on the conversion. Is the pd4browser.properties file the rigth place to do it and if so, is there any change neccessary to the command-line call to make pd4ml use it?
Also we tried to change our HTML-template file to
<pd4ml:page.header header.height="25"/>
That actually does work for the header height but has the sideeffect that page-numbering inside the header with $[page] and $[total] now does not work anymore. Also the complete footer defined in the template-file is now ignored.
Redefinig the initial page number inside the header with
<pd4ml:page.header header.init.page.number="1" header.height="25"/>
has now no effect at all. Is there any other way to do?
Thanks in advance.in reply to: <pd4ml:page.header>: Header Height November 17, 2009 at 11:28#27625PD4ML offers 3 different ways to define headers/footers, which is sometimes confusing.
First please take a look to the description:
html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.htmlIt seems you mixed up
<pd4ml:page.header>(inline header, supported by PD4ML renderer directly) with<pd4ml:header>(JSP custom tag, mapped to PD4ML API call).<pd4ml:page.header>implementation is close to any HTML block tag, so you may just use height or style attribute to define the header area height. -
AuthorPosts
