HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › PDF page headers/footers definition options › Re: Re: PDF page headers/footers definition options
Okay that looks like a bigger problem then estimated.
I have the same issue too.
I generate a complete header and footer.
Footer:
<pd4ml:page.footer scope="1"><br />
<div style="background-color:red;"><br />
<p style="" class="" id=""><br><br><br><br><br><br><br><br><br><br><br><br><br> </p><br />
<table align="center"><br />
<tbody><br />
<tr><br />
<td>Inhaber:</td><br />
<td></td><br />
<td></td><br />
<td></td><br />
</tr><br />
<tr><br />
<td></td><br />
<td>Max Mustermann</td><br />
<td>Straße 1</td><br />
<td>Undso weiter</td><br />
</tr><br />
</tbody><br />
</table><br />
<p></p><br />
</div><br />
</pd4ml:page.footer>
The footer is their (yeah) BUT! 🙁 I can only see Inhaber at the bottom of the page and also head footer is VERY high. I mean 1/2 of A4
On the other hand, the header is shown very accurate.
The complete html code here:
<pd4ml:page.header scope="1"><br />
<div style="width:100%;background-color:yellow;"><br />
<div><br />
<img class="" id="" style="width:100mm;max-width:100mm;margin-left:10cm;" src="data:image/*;base64,...."><br />
<p></p><br />
</div><br />
</div><br />
</pd4ml:page.header><pd4ml:page.footer scope="1"><br />
<div style="background-color:red;"><br />
<p style="" class="" id=""><br><br><br><br><br><br><br><br><br><br><br><br><br> </p><br />
<table align="center"><br />
<tbody><br />
<tr><br />
<td>Inhaber:</td><br />
<td></td><br />
<td></td><br />
<td></td><br />
</tr><br />
<tr><br />
<td></td><br />
<td>Max Mustermann</td><br />
<td>Straße 1</td><br />
<td>Undso weiter</td><br />
</tr><br />
</tbody><br />
</table><br />
<p></p><br />
</div><br />
</pd4ml:page.footer><html><br />
<head><br />
<title>Footer</title><br />
<style>.designChapter_1{}#chapter_-3343589119799051750{}.designChapter_1{}#chapter_-7878110909822710151{}</style><br />
</head><br />
<body><br />
<div class="" style=""><br />
<div class="" id="container_-6790600175644917974" style="width:10.5cm;margin-left:2cm;height:5mm;border:1px solid orange;font-size:7pt;"><br />
<p style="" class="" id="">Intelligy Science UG | Am Neumarkt 30 | 22041 Hamburg</p><br />
</div><br />
<div class="" id="container_-7299820427654925394" style="width:10.5cm;height:12.7mm;border:1px solid red;margin-left:2cm;float:left;"></div><br />
<div class="" id="container_-5695738824325508680" style="width:10.5cm;margin-left:2cm;height:27.3mm;border:1px solid blue;float:left;font-size:10pt;"><br />
<p style="" class="" id="">#kontaktFirma#<br>#kontaktVorname# #kontaktNachname#<br>#kontaktStraße# #kontaktHausnummer#<br><br>#kontaktPLZ# #kontaktOrt#</p><br />
</div><br />
<div class="" id="container_-5799771009836692084" style="border:1px solid green;margin-left:12.5cm;margin-right:1cm;font-size:9pt;text-align:left;width:20cm;float:left;margin-top:-4cm;height:-1cm;"><br />
<p style="" class="" id="">Intelligy Science<br>Straße<br>22041 Hamburg<br><br>Telefon: <br>Fax: <br><br>E-Mail: <br>Web: </p><br />
</div><br />
<div class="" id="container_-109430433127867131" style="clear:both;"></div><br />
<div class="" id="container_-4697751580106713612" style="width:7.5cm;margin-left:2cm;border:1px solid magenta;margin-top:2.5cm;height:3.5cm;"></div><br />
<div class="" id="container_-8586357502960676866" style="width:12.5cm;border:1px solid yellow;margin-left:7.5cm;margin-top:2.5cm;height:3.5cm;"></div><br />
</div><br />
<div class="designChapter_1" style=""></div><br />
<div class="designChapter_1" style=""></div><br />
</body><br />
</html>
The version I am using is 3.9.8fx3 Pro
Any Idea?