Bit by bit it's coming together for sure. While I've got your attention................ :)
I'm getting some weird behavior. it seems to be producing a question mark (?) at weird intervals and I can't tell why. Also, the actual text of the document is produced from html entered through fckEditor. When I drop my fields in here it seems to ignore or escape the html to the page, how should I handle that? Currently I'm simply removing all HTML tags with a regular expression, the problem comes in when the field contains multiple blocks of text separated with <br />. How would I make it recognize a space there? Paul Hastings wrote: > Loathe wrote: >> I've got it working, now I need to figure out how to do formatting and >> alignment. > > iText is sometimes a bit too atomic when it comes to formatting (the cfteam > did > a great job taking much of the sweat out of using iText) but every object has > alignment properties: > > pageNumber.setAlignment(paragraph.ALIGN_RIGHT); > > and you can tweak it to an insane level. > >> Still working out page numbers > > http://pastebin.com/m3e0ff845 > > set the rtfPageNumber field on the rtfWriter2 not on the doc. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307392 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4