If the qtf code in the viewer don't contain any text, the GetData method return an empty string, losing all the others qtf data: paragraph format and what else. I think that is not the best, and for my developing app, I had remove this feature.
Value RichTextView::GetData() const
{
//if(text.IsEmpty()) return Value();
return GetQTF();
}
Tough one. Current behaviour is designed so that IsNull returns true when RichTextView is empty.
I guess you should be able to call GetQTF if needed?