It's Word that is creating the RTFs.  They are then stored on a server for
later use.  When used, I FTP across to ColdFusion.  I then display them in
the browser and I want to put a disclaimer at the top of the document, but I
can't work out where the header ends.

Karl O'Sullivan
Senior Analyst Programmer
University Hospitals Coventry and Warwickshire NHS Trust
Tel: 024 7660 2020 x7578
[EMAIL PROTECTED]

> ----------
> From:         Spike[SMTP:[EMAIL PROTECTED]]
> Sent:         21 November 2002 15:00
> To:   [EMAIL PROTECTED]
> Subject:      RE: [ cf-dev ] OT: Finding the start of an RTF document
> 
> Do you know what was used to generate the rtf document?
> 
> Is it always the same tool?
> 
> If so, you can probably match the last part of the header block and work
> forwards from there to find the start of the displayed portion of the
> document.
> 
> If you don't know what tool is going to be used to generate the
> document, it's going to be a bit of a nightmare to manually parse as
> every one that I've worked with seems to create the rtf slightly
> differently.
> 
> Spike
> 
> Stephen Milligan
> Team Macromedia - ColdFusion
> Co-author 'Reality Macromedia ColdFusion MX: Intranets and Content
> Management'
> http://spikefu.blogspot.com
> 
> > -----Original Message-----
> > From: Osullivan Karl (RKB) Senior Analyst/Programmer 
> > [mailto:[EMAIL PROTECTED]] 
> > Sent: 21 November 2002 15:47
> > To: 'CF - Development Group'
> > Subject: [ cf-dev ] OT: Finding the start of an RTF document
> > 
> > 
> > Hi,
> > 
> > Thanks for the help in getting RTF files displaying in the 
> > browser, it's working great.  I've even managed to 
> > <CFINCLUDE> a piece of standard RTF at the bottom of the 
> > document so it appears at the bottom of every document.
> > 
> > My new problem is that I want to insert some standard RTF at 
> > the top of the document.  However, I can't find the top.  
> > (The bottom is easy as the last line is always \par }}  ).  
> > Is there an easy way to find the top?  By top, I mean the 
> > start of the document text that is displayed on the screen 
> > (after all the formatting, headers/footers etc.)
> > 
> > Thanks
> > 
> > Karl
> > 
> > Karl O'Sullivan
> > Senior Analyst Programmer
> > University Hospitals Coventry and Warwickshire NHS Trust
> > Tel: 024 7660 2020 x7578
> > [EMAIL PROTECTED]
> > 
> > -- 
> > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> > 
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: 
> > [EMAIL PROTECTED] For human help, e-mail: 
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to