function getAsPlainText(styledTextDataProvider);

Hello everybody,

I couldn’t find any reference to such a requirement in the forum, may be I missed something?

By the way, how are you doing when you have to export styled text dataProviders as textOnly? Like rtf.

I think that servoy is already using some ‘type’ conversion internally because I noticed that if you display a previously rtfArea text into a textArea and you modify it, text is then saved as plain text into DB.

Do somebody have a workaround? Thank you in advance for your comments/help.

You could put another (hidden) text area on the form pointing to the same field, refer to the content of that element, and your text would be converted

hth

Odysseus:
You could put another (hidden) text area on the form pointing to the same field, refer to the content of that element, and your text would be converted

Thank you “Odysseus” for this answer, but this hack is exactly what made us think that there is already a solution into servoy. We just want to have a direct access to the function. I think it may already exists, but it is silent in developer interface.
Does anybody knows about this?

Maybe through the java jPanel → jComponents</wild guess>

Some guidance from Servoyians would come in handy indeed

but hey it’s summer, hot, the world cup, the tour de france, wimbledom, the seashore, give them a break will ya :lol:

Odysseus:
but hey it’s summer, hot, the world cup, the tour de france, wimbledom, the seashore, give them a break will ya :lol:

8) Sure, let’s all take a cold beer! :wink: