is anybody knows how can i get fromatting information from CEikRichTextEditor?

I need this information to get entered text as html-like data.

The only way i see at this moment is to traverse editor's contents char by char and get it's formatting by RichText->GetCharFormat().

Please give me an advice how to get it more effectively.

Thanx in advance...