mercredi 18 février 2015

HTML innerbreak in HTML (wkhtmltopdf)


Vote count:

0




I've a problem.. i use the tool "wkhtmltopdf" to create an report.


The report use placeholders, to set an value.


for example:



<table style="width:575px; margin-left:307px;">
<tr>
<td class="ta">total net <div style="margin-left:500px; margin-top:-20px;"><script type="text/javascript">document.write(ConvertBetrag('{{TOTALNET}}'))</script> €</div><br></td>
</tr>
<tr>
<td class="te"><div style="margin-top:-25px;">excl. 19,00 % tax. </div><div style="margin-left:500px; margin-top:-20px;"><script type="text/javascript">document.write(ConvertBetrag('{{TOTALTAX}}'))</script> €</div><br></td>
</tr>
<tr>
<td class="tb"><b>total gross <div style="margin-left:500px; margin-top:-20px;"><script type="text/javascript">document.write(ConvertBetrag('{{TOTALGROSS}}'))</script> €</div></b></td>
</tr>
</table>


This can be have up to 100 rows. But my problem is, i need an page-break between this, because it looks like crap :-P


Here is look like the finish .PDF http://ift.tt/1AkSnpM


so the document should be like, because I need the document so: http://ift.tt/1ARIW2Y


€; Sorry, I cant post pictures...



asked 1 min ago







HTML innerbreak in HTML (wkhtmltopdf)

Aucun commentaire:

Enregistrer un commentaire