[Xerte] Getting the rich text of a field

Dave Burnett d_b_burnett at hotmail.com
Mon Dec 7 13:14:56 GMT 2009


Oh. Think you'd have to write your own parser or use a 3rd party tool if you are trying to output html > rtf.
I wrote a basic one to go the other way, RTF > html.

There are lots of 3rd party tools out there to feed a stream of html to and write out rtf. Integrating it would be the challenge.


> Subject: RE: [Xerte] Getting the rich text of a field
> Date: Mon, 7 Dec 2009 12:55:30 +0000
> From: Fred.Riley at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
> 
> > 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
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
 		 	   		  
_________________________________________________________________
Windows Live Hotmail gives you a free,exclusive  gift.
http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_7:092009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091207/0d106594/attachment.html


More information about the Xerte mailing list