[Xerte] Getting the rich text of a field

Fred Riley Fred.Riley at nottingham.ac.uk
Mon Dec 7 12:55:30 GMT 2009


> Maybe this?
> 
> TextField.text
> Description
> Property; indicates the current text in the text field. Lines 
> are separated by the carriage return character ('\r', ASCII 
> 13). This property contains the normal, unformatted text in 
> the text field, without HTML tags, even if the text field is HTML.

Thanks, Dave, but I'm after getting text which appears in the field as
bold, italic, whatever, to then paste into another app as bold, italic,
whatever. The above does the same as the texticon.getText() method,
which is fine, and is what I'll fall back to if I can't get the rich
text. 

Cheers

Fred


More information about the Xerte mailing list