howto export a styled formated field to text file
Pierre Sahores
psahores at free.fr
Sun May 23 12:28:16 EDT 2010
Thanks again, Stephen, sims and Richard,
I'm, with your help, clear about how to handle my task (inside a Rev standalone client app) in using HTMLText.
Kind Regards from south Europ !
Pierre
Le 23 mai 2010 à 13:18, Jim Sims a écrit :
>
> On May 23, 2010, at 12:57 PM, Pierre Sahores wrote:
>
>> 1. : i'm able to apply style attribute to a field contents (example : in changing the title line style font, wight, etc...)
>> 2. : i'm, then, able to save this styled field contents as HTMLText or RTFText and it's OK
>>
>> Question : is it a way to retrieve 1.- from 2.- (HTMLText or RTFText back to the initial styled attributes that i had applied to the field contents first) ?
>
>
>
> The dictionary does state:
>
> The RTFText property is a representation of the styled text of the field in RTF format.
>
> Setting the RTFText of a field (or a chunk of a field) sets both the text contents and the font, size, style, and color attributes corresponding to the information in the RTFString. Any other formatting controls in the RTFstring are ignored.
>
>
> To export and re-import field information without losing any style information, use the htmlText property instead.
>
> sims
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
--
Pierre Sahores
mobile : (33) 6 03 95 77 70
www.woooooooords.com
www.sahores-conseil.com
More information about the use-livecode
mailing list