Dear Telerik Developers,
Since the Xamarin Platform realize the Rich Text Editor by a webview control, I have to convert my Rtf files into html format before loading.
According to the Html Conversion document, headings ( h1 - h6 ) styles have nothing to do with the Outline Level, and would be lost when exporting to other formats.
While in my scenario, the outline data of original Rtf document should be kept while converting back from html format to Rtf code.
My suggestion is adding a "EnableOutlineToHeadingsConversion" option to both HtmlImportSettings and HtmlExportSettings classes, so that we can decide if the Outline level data should be converted into corresponding Headings Style ( for example, Outline Level 1 -> h1 ) and vice versa.
HtmlFormatProvider provider = new HtmlFormatProvider();
HtmlExportSettings exportSettings = new HtmlExportSettings();
exportSettings.BordersMinimalThickness = 1;
exportSettings.DocumentExportLevel = DocumentExportLevel.Fragment;
exportSettings.IndentDocument = true;
exportSettings.EnableOutlineToHeadingsConversion = true;
provider.ExportSettings = exportSettings;
I sincerely hope this could be taken into Telerik's developing consideration.
Regards,
Thank you very much.