> I have a need to manipulate RTF files with ColdFusion. While
> I have been successful in working with RTF files in Word, and
> then saving out for manipulation with CF, I need to be able to
> do some things that are a bit more complicated.
>
> Basically I need to create a multiple page document, in which
> there is a page header, and then a table of detail rows followed
> by a report footer. The document will run from 1 to N pages, and
> the number of detail rows will be constant. I have been hacking
> at something all morning, and have reached a dead-end on
> manipulating the table containing the detail rows.
>
> The problem I see is that Word can be a bit verbose in its
> creation of the RTF file, making it very difficult to determine
> the boundaries of "groups" within the document.
>
> Has anyone faced a similar situation? Any solutions? I am
> open to just about anything including using Perl or Java, etc.

I've done this successfully many times in the past, building documents that
even have grouped output across multiple pages. The secret to my success:
Use WordPerfect instead of Word to generate the template. WordPerfect's RTF
is much cleaner and simpler than Word's, and each major RTF control word is
on a separate line. I ended up buying a copy of WordPerfect just for this
purpose.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to