HTML Export - missing TAB

3 posts, 1 answers
  1. Bernhard
    Bernhard avatar
    22 posts
    Member since:
    Jul 2013

    Posted 06 Aug 2013 Link to this post

    Hi,

    the html export doesn't seem to know TABs. I've attached a screenshot.

    The code I was using:

                var exportSettings = new HtmlExportSettings();

                exportSettings.DocumentExportLevel = DocumentExportLevel.Fragment;

                exportSettings.StylesExportMode = StylesExportMode.Inline;

                exportSettings.StyleRepositoryExportMode = StyleRepositoryExportMode.DontExportStyles;

                exportSettings.ExportFontStylesAsTags = true;

               

                var formatProvider = new HtmlFormatProvider();

                formatProvider.ExportSettings = exportSettings;

     

                string val = formatProvider.Export(this.radRichTextBox.Document);


    BR,
    Bernhard
  2. Answer
    Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 07 Aug 2013 Link to this post

    Hello Bernhard,

    Currently HtmlFormatProvider does not export tabs, as there is no equivalent in HTML. We have a task in our to-do list to export non-breaking spaces at the places in the document where tabs have been added. Most probably, this feature will be implemented for the next official release.


    Regards,
    Iva Toteva
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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. DevCraft banner
  4. Bernhard
    Bernhard avatar
    22 posts
    Member since:
    Jul 2013

    Posted 07 Aug 2013 Link to this post

    Hello Iva,

    thanks for the info!

    Just thought it would be available because apparently the htmlformatprovider in winforms does "support" it (using 2x " " - at least that's what I've read somewhere in the forum).

    BR,
    Bernhard
Back to Top