quick and simple answer:
to create a header for each page, add stuff to your doc, then use:
section1.endHeaders();

this adds a page# footer:
footer = HeaderFooter.init(Phrase.init("Page ",header), true);
document.setFooter(footer);

longer answer:
drop me an email :)

-seth

-----Original Message-----
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 2:43 PM
To: CF-Talk
Subject: Re: Create PDF (without CFEXECUTE)

While we're on the dynamic PDF generation topis...does anybody know (perhaps
using iText) how to add a header/footer to each page (assuming an unknown
number of pages...all depends on amount of data)?

TIA

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  ----- Original Message -----
  From: [EMAIL PROTECTED]
  To: CF-Talk
  Sent: Wednesday, January 07, 2004 11:28 AM
  Subject: Re: Create PDF (without CFEXECUTE)

  I have used XSL-FO with great success using CF.  It's quite nice in that you
can use CSS syntax for styles and a fairly simple XML markup language for
creating the templates.

  Do a google search for coldfusion and XSLFO, I'm fairly certain there's some
tutorials and code out there for you to use.

  ----- Original Message -----
  From: Spectrum WebDesign <[EMAIL PROTECTED]>
  Date: Wednesday, January 7, 2004 10:48 am
  Subject: Create PDF (without CFEXECUTE)

  > What's the best choice (maybe open source) to create PDF files on-
  > the-fly with CF MX?
  >
  >
  >
  > --
  > ___________________________________________________________
  > Sign-up for Ads Free at Mail.com
  > http://promo.mail.com/adsfreejump.htm
  >
  >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to