This is a migrated thread and some comments may be shown as answers.

Hanging Indent of bulleted list is lost

1 Answer 75 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 23 Aug 2013, 07:38 PM
When exporting a bulleted list via an HTMLFormatProvider, it seems that the hanging indent is lost.  For example when I enter a bulleted list into the RadRichTextBox as shown below


the hanging indent looks fine, but when the string is re-loaded (i.e. exported and imported) it looks like the following:


The hanging indent is lost, it seems.

1 Answer, 1 is accepted

Sort by
0
Accepted
Mihail
Telerik team
answered on 28 Aug 2013, 03:23 PM
Hello Tony,

In HTML there is no such property as hanging indent and that is the reason why it is not exported. Of course, in that case there is no way to recover the exact document when importing it back.

The model in HTML is completely different from RadDocument's model and this is the reason why we can't guarantee absolute compatibility when exporting to HTML. If you want to keep all of the data in the document please use XAML as export format as it is native for RadDocument and allows lossless export.

Regards,
Mihail
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
RichTextBox
Asked by
Tony
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Share this question
or