Re: ColdFusion 8: CFDocument doesn't support differently sized headers for subsequent pages
Yep. Didn't work though.. You can modify the margintop value in cfdocumentsection, but it changes (overrides) the top margins for the entire document, so adding cfdocumentsection with a different margintop attribute will only enforce that new height value on the first page as well, forcing CF8 to scale it or shrink it to fit.. If I knew exactly where page 1 would end and where page 2 would begin, I could use CFDOCUMENTSECTION, but when you're dealing with a recordset, you can't reliably know how many pages it will span. Especially if any text wraps, you have sub-totals, etc. If you could let an expression define the value of marginTop in CFDOCUMENTSECTION, that would work, but I've tried both cfdocument.currentpagenumber and cfdocument.currentsectionpagenumber and neither allow CFDOCUMENTSECTION to dynamically adjust it's marginTop value as CFDOCUMENT doesn't look at it as a loop. It's set once and with the marginTop value provided. I did find a watermark fixes this problem, but it still invalidates the use of any header functionality in CF8 should you not want the same sized headers on every single page =/ Have you tried using the cfdocumentsection tag? http://livedocs.adobe.com/coldfusion/8/htmldocs/help. html?content=Tags_d-e_07.html -Mike Chabot On Sun, Apr 5, 2009 at 8:05 PM, Chris Johnson u...@askugg.com wrote: Something that I haven't been able to find anyone else talking about, is that in CF8, there doesn't seem to be a way to have one header for your main page (with logo, address, etc.) and then a briefer header for subsequent pages (just page number, invoice #, etc.). In CF7, it's done by specifying a topmargin value that's smaller than the first page's header, but the correct size for subsequent pages. Then you simply pad (via padding-top:XXXpx) the content you're displaying so that it starts where the first page header ends. In CF8 though, using the same setup, the first page's header squishes itself to fit in the topmargin value. I suppose that's correct, but I still can't find any way to have a larger first page header, with smaller secondary page headers. Does anyone know of any way to do this? It seems to be standard practice for most invoicing/billing/etc., but I've yet to find a solutio ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321412 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
ColdFusion 8: CFDocument doesn't support differently sized headers for subsequent pages
Something that I haven't been able to find anyone else talking about, is that in CF8, there doesn't seem to be a way to have one header for your main page (with logo, address, etc.) and then a briefer header for subsequent pages (just page number, invoice #, etc.). In CF7, it's done by specifying a topmargin value that's smaller than the first page's header, but the correct size for subsequent pages. Then you simply pad (via padding-top:XXXpx) the content you're displaying so that it starts where the first page header ends. In CF8 though, using the same setup, the first page's header squishes itself to fit in the topmargin value. I suppose that's correct, but I still can't find any way to have a larger first page header, with smaller secondary page headers. Does anyone know of any way to do this? It seems to be standard practice for most invoicing/billing/etc., but I've yet to find a solution? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321335 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion 8: CFDocument doesn't support differently sized headers for subsequent pages
Have you tried using the cfdocumentsection tag? http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_07.html -Mike Chabot On Sun, Apr 5, 2009 at 8:05 PM, Chris Johnson u...@askugg.com wrote: Something that I haven't been able to find anyone else talking about, is that in CF8, there doesn't seem to be a way to have one header for your main page (with logo, address, etc.) and then a briefer header for subsequent pages (just page number, invoice #, etc.). In CF7, it's done by specifying a topmargin value that's smaller than the first page's header, but the correct size for subsequent pages. Then you simply pad (via padding-top:XXXpx) the content you're displaying so that it starts where the first page header ends. In CF8 though, using the same setup, the first page's header squishes itself to fit in the topmargin value. I suppose that's correct, but I still can't find any way to have a larger first page header, with smaller secondary page headers. Does anyone know of any way to do this? It seems to be standard practice for most invoicing/billing/etc., but I've yet to find a solutio ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321336 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4