FLEX RTE - Wysiwig vs DOC vs RTF vs TXT?

This is a text markup question. I really didnt know where to post it, but since I am currently dong a project in Flex I thought i would start with that. I have noticed that some online RichTextEditors allow you to copy their content to different media and it preserves their format while others convert to plain text.  I was playing with FCKEditor and could copy the data I formatted from the website to a Word Document and it preserved it. On the other hand, I cannot take data formatted in RTF and do the same thing.

I would love if someone could give me an overview of the different text formats and how they differ. Doc vs RTF vs plain Text. Thanks for any light that you can shed!
20lbMonkeyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mplordCommented:
Flex uses a proprietary format not recognised by other editors, e.g.

<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">This is <FONT SIZE="14" COLOR="#FF0000"><B>FLEX</B></FONT> format</FONT></P></TEXTFORMAT>

You have no control over the clipboard format in Flex apps, but if you use Air you can possibly use the Clipboard class to try to build a clipboard format that e.g. Word might be able to use.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Joanne M. OrzechManager, Document Services CenterCommented:
In a nutshell:

TXT - text file containing just text and no formatting.
RTF - rich text format - file with FORMATTED text. Which means you can have text italicized, bolded, insert bullet points and paragraphs.
DOC - you can have all of RTF features and more: embed pictures/graphs tables and other more advanced features into document.
0
mplordCommented:
Key being that Word RTF is not the same as Flex RTF.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

20lbMonkeyAuthor Commented:
I figured as much. DO you know if there is anything that exists that will allow a person to export the FLEX RTF and convert it into a format that is legible in Word?

Some sort of a server side scripting object?
0
mplordCommented:
I don't see why that shouldn't be possible, either send the htmlText of the Flex RTE directly to the server for processing, or via ExternalInterface to Javascript or other object running in the browser for processing, or process it in Flex before sending anywhere.

Getting it into the clipboard might be a challenge.

There are numerous attempts to convert it to valid HTML etc. (search for 'export valid html richtexteditor').
0
20lbMonkeyAuthor Commented:
Thank you for the brief lesson and also sending me in the right direction. You always help mplord. Thank you JOrzech as well!
0
Joanne M. OrzechManager, Document Services CenterCommented:
Glad to be of some minor assistance here :)

Thank you.

Joanne Orzech
MS Word MVP
EE Zone Advisor
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.