开发者

Adobe Flex RichTextEditor

is there any way to save text on adobe richtexteditor to text fil开发者_如何转开发e or somethin?


to save an TextFlow-Object into String or XML, there are two methods. also you can import it. So you can save content of an TLF in database or whereever.

Import:

TextFlowUtil.importFromString(string) 
TextFlowUtil.importFromXML(xml)

Both methods offer an second parameter for the whitespaces.

Export:

outputTextArea.text = TextFlowUtil.export( inputTextArea.textFlow ).toXMLString();

BR Frank

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜