How can I check easly if there are formated elements stored in the text?
I wan't decide If I can store the content as plain text (in case no formatting or RTE elements was inserted) or if the content shall be retriven by GetRTEContent.
I would expect for this purpose a property like IsRTEContaining.
There is currently no such function.
This is not that trivial. The TTMSFNCRichEditor is a collection of TREElement descending classes and the TREElement class holds property settings for text blocks in the TTMSFNCRichEditor. So, to verify if there is really no formatting at all, you'd need to loop through all elements via:
for el in TMSFNCRichEditor1.Context.Content do
begin
// check here for all element properties to have default values
end;
and check if none of the elements have property settings different from the default settings.
You could also call TMSFNCRichEditor.TidyElements and see if the result is just one element and check the settings of that element to see if it is a default TTextElement.