Hanging Indent of bulleted list is lost

2 posts, 1 answers
  1. Tony
    Tony avatar
    4 posts
    Member since:
    Mar 2013

    Posted 23 Aug 2013 Link to this post

    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.
  2. Answer
    Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 28 Aug 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top