Completed
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Todor
Created on: 17 Sep 2016 07:03
Category: RichTextBox
Type: Bug Report
1
RichTextBox: Converting a document from an RTF to a DOCX file sets associated list with id -1 to the default document style
If an Rtf document is imported and then exported to a Docx file, every single paragraph has associated list when the document is opened in MS Word.

Workaround: Before the document export, clear the ListId property:
if (this.radRichTextBox.Document.Style.ParagraphProperties.ListId == -1)
{
    var property = this.radRichTextBox.Document.Style.ParagraphProperties.GetStyleProperty(Paragraph.ListIdProperty);
    property.ClearValue();
}
1 comment
ADMIN
Aylin
Posted on: 04 Oct 2016 16:42
Hi,

The issue is fixed and will be included in our upcoming LIB release (v.2016.3.1010) and in R3 2016 SP1 release as well.

Regards,
Aylin,
Telerik by Progress