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

HTML Export - missing TAB

2 Answers 55 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Bernhard
Top achievements
Rank 1
Bernhard asked on 06 Aug 2013, 05:03 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Iva Toteva
Telerik team
answered on 07 Aug 2013, 02:11 PM
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 >>
0
Bernhard
Top achievements
Rank 1
answered on 07 Aug 2013, 04:19 PM
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
Tags
RichTextBox
Asked by
Bernhard
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Bernhard
Top achievements
Rank 1
Share this question
or