I'm having a problem generating a pdf file using cfdocument.
<cfdocument format="pdf" pagetype="A4" margintop="0" marginright="0.0"
filename="#destination#/tbs_trend_report.pdf" overwrite="true">
<cfdocumentitem type="header">
<div align="center">
<table border="0" width="100%">
<tr>
<td align="left"><img src="images/logo1.gif" alt="" width="88"
height"59" border="0"></td>
<td align="right"><img src="images/logo2.gif" alt="" width="93"
height="22" border="0"></td>
<td>
</table>
<h2><cfoutput>#application.company# - #UCase(qTrend.db_name)#<cfif
Trim(qTrend.db_unique_name) IS NOT "">/#Trim(qTrend.db_unique_name)#</cfif>
Tablespace Trend</cfoutput></h2>
</div>
</documentitem>
... genarting some charts
<cfdocumentitem type="footer">
<div align="center">
<table border="0" width="100%">
<tr>
<td align="center"><cfoutput><h3>Page
#cfdocument.currentPageNumber# of
#cfdocument.totalPageCount#</h3></cfoutput></td>
</tr>
</table>
</div>
</cfdocumentitem>
</cfdocumentr>
What's happening is the the first page looks OK Header and Footer is
there. Footer doesn't really center on the page... stays in the left
corner, but that's not a big issue.
The problem is that the header section is only printed on the first page,
all of the rest pages only get the footer.
Is there a bug in the cfdocument or am I doing something wrong? Anyone
seen this behaviour ?
/Mats/
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.