School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,380 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,534 people online right now. Registration is fast and FREE... Join Now!




Resizing header and footer sections of CFDocument

 

Resizing header and footer sections of CFDocument

xheartonfire43x

28 May, 2009 - 12:10 PM
Post #1

D.I.C Regular
***

Joined: 22 Dec, 2008
Posts: 260



Thanked: 2 times
My Contributions
I have a dynamically created PDF application for a client and they want to be able to edit the header, body, and footer on the fly. I got everything working, but the header and footer are really small n the final PDF. Is there a way that I can change the allocated heights of the header and footer?

CODE

        <cfdocument format="pdf" filename="CT_STEM_TEMP.pdf" name="pdf" overwrite="yes" scale="100">
        <cfoutput>
            <cfdocumentitem type="header">
                <div align="center">#getPDF.header#</div>
            </cfdocumentitem>
            <cfdocumentitem type="footer">
                <div align="center">#cfdocument.currentpagenumber# of #cfdocument.totalpagecount#</div>
                <div align="center">#getPDF.footer#</div>
            </cfdocumentitem>
            
            #getPDF.body#
        </cfoutput>
        </cfdocument>



User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 09:30PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month