Importing an RTF file

xbury.cs at clearstream.com xbury.cs at clearstream.com
Fri Oct 8 05:32:28 EDT 2004


just tried it with a semi full of styles rtf file and it worked fine...

If I can try your URL, I'll let you know... 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Mike Doub
> Sent: Friday, October 08, 2004 11:15 AM
> To: 'How to use Revolution'
> Subject: RE: Importing an RTF file
> 
> Since I don't have control of the original file are you 
> suggesting that I load the rtf file into a variable and start 
> trying to strip out the offending tags then set the remaining 
> RTF to a field?  I am assuming that RTF has tags similar to html
> 
> I do not need to keep any of the formatting as I am only 
> interested in the raw text content of the document.  I guess 
> that I am going to be forced to learn the details of RTF
> 
> Thanks
>   Mike
> 
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> xbury.cs at clearstream.com
> Sent: Friday, October 08, 2004 4:56 AM
> To: use-revolution at lists.runrev.com
> Subject: RE: Importing an RTF file
> 
> try resaving the document as RTF from Word.
> 
> Other wise, remove any non-text or extra styles.
> Break down the problem: try importing half of the file and 
> see which one fails...
> 
> hope that helps!
> Xavier 
> 
> > -----Original Message-----
> > From: use-revolution-bounces at lists.runrev.com
> > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mike 
> > Doub
> > Sent: Friday, October 08, 2004 10:51 AM
> > To: use-revolution at lists.runrev.com
> > Subject: Importing an RTF file
> > 
> > Does anyone have experience with using RTPText?  I am 
> trying to load a 
> > RTF file into a field.  The RTF file opens just fine with 
> word, but it 
> > completely silent when I try to load its contents into a field as 
> > follows:
> > 
> >  
> > 
> > Set the RTFText of fld "foo" to URL tFilePath
> > 
> >  
> > 
> > tFilePath is valid, and when I put tFilePath into fld "foo" 
> I do see 
> > the raw RTF data.
> > 
> >  
> > 
> > The documentation says that it ignores the parts of RTF 
> that are not 
> > supported, I fear that it is ignoring the entire document 
> and I am not 
> > seeing anything.
> > 
> >  
> > 
> > Does anyone have any debug suggestions that would allow me 
> to see what 
> > is happening under the covers?
> > 
> >  
> > 
> > Regards,
> > 
> >    Mike
> > 
> >  
> > 
> >  
> > 
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> > 
> 
> -----------------------------------------
> Visit us at http://www.clearstream.com
> IMPORTANT MESSAGE    Internet communications are not secure 
> and therefore
> Clearstream International does not accept legal responsibility for the
> contents of this message.    The information contained in 
> this e-mail is
> confidential and may be legally privileged. It is intended 
> solely for the addressee. If you are not the intended 
> recipient, any disclosure, copying, distribution or any 
> action taken or omitted to be taken in reliance on it, is 
> prohibited and may be unlawful. Any views expressed in this 
> e-mail are those of the individual sender, except where the 
> sender specifically states them to be the views of 
> Clearstream International or of any of its
> affiliates or subsidiaries.    END OF DISCLAIMER
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE    Internet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.    The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.    END OF DISCLAIMER



More information about the use-livecode mailing list