Hi All,

I'm trying to produce a report with the following elements:

1) Overall report title (top of 1st page only)
2) A single footer (same on every page)
3) multiple sections each with their own header
    -each section MUST start right after the previous one
    -each section header must repeat on the next page if the report bleeds to 
the next page

Currently I can get the above layout working EXCEPT for the fact that each 
section starts on a new page as though I am forcing a page break!!!!!! WTF???

test code:
  <cfdocument format="PDF" pagetype="letter" orientation="landscape">
    <cfdocumentsection>
      <cfdocumentitem type="header">REPORT TITLE</cfdocumentitem>
      some text
    </cfdocumentsection>
    <cfdocumentsection>
      <cfdocumentitem type="header">SECTION 1 HEADER</cfdocumentitem>
      Section 1 report<br /> 
    </cfdocumentsection>    
    <cfdocumentsection>
      <cfdocumentitem type="header">SECTION 2 HEADER </cfdocumentitem>
      Section 2 report
    </cfdocumentsection>  
  </cfdocument>

The above code results in:

REPORT TITLE
some text
[empty space]
[next page]
SECTION 1 HEADER
Section 1 Report
[empty space]
[next page]
SECTION 2 HEADER
Section 2 Report

So what is the point of <cfdocumentitem type="pagebreak"/> if the default 
behaviour of CFDOCUMENTSECTION is to force page breaks?? or am I not seeing the 
standard behaviour?

Any tips/advice welcome

TIA

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264218
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to