Can TMSFMXNativeNSRichTextView import from HTML

I'm considering purchasing the mCL controls. The make or break criteria is that after I create a document, apply styling (change fonts, change colors of some text, etc.) if I export the document to HTML can I later import that HTML document and have all of the formatting changes still be there?


I read the documentation and it's not clear to me whether the formatting changes are preserved from exporting and then importing only if the RTF format is used or whether they are preserved from other formats such as HTML as well.

Thanks,
Mike

Hi,


Exporting and importing RTF/HTML should persist formatting.
You can always try the trial version first before purchasing. There is a rich text view demo included that you can use for testing purposes of exporting/importing RTF/HTML.

The following code should export to html:

TMSFMXNativeNSRichTextView1.ExportData(TPath.GetDocumentsPath + PathDelim + 'test.html', dtHTMLTextDocumentType);

and import from html:

TMSFMXNativeNSRichTextView1.ImportData(TPath.GetDocumentsPath + PathDelim + 'test.html', dtHTMLTextDocumentType);

Kind Regards, 
Pieter