Styled text challenge...

xbury.cs at clearstream.com xbury.cs at clearstream.com
Thu Feb 12 01:57:51 EST 2004


I decided to go plain text instead of facing more bugs for a rather 
useless 
and unsupported feature...

but thanks... 
---------------------=---------------------
Xavier Bury
Clearstream Services
TNS NT LAN Server
ext 36465
Voice: +352 4656 43 6465
Fax: +352 4656 493 6465




Brian Yennie <briany at qldlearning.com>
Sent by: use-revolution-bounces at lists.runrev.com
12/02/04 07:52 AM
Please respond to How to use Revolution

 
        To:     How to use Revolution <use-revolution at lists.runrev.com>
        cc: 
        Subject:        Re: Styled text challenge...

.


The following all works for me:

## render some HTML in a field
set the htmlText of fld 1 to url "http://www.somsite.com"
## get the HTML source
put the htmlText of fld 1 into fld 2
## get the RTF equivalent source
put the rtfText of fld 1 into fld 3
## re-render as RTF in a different field
set the rtfText of fld 4 to fld 3

The conversion is not perfect, but I'm not sure what else is desired- 
the htmlText is not a browser, and converting from HTML->RTF will never 
be a lossless conversion as they are not equivalent formats.

- Brian

>>> I could still be mixed up on what you want.
>>
>> i grab an html page off the web, display it in a field
>> I also display the source and would like finaly to have the
>> html styled text to be outputed to a styled text field.

_______________________________________________
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