Unplanned
Last Updated: 29 Feb 2024 13:37 by Øyvind
Øyvind
Created on: 29 Feb 2024 13:37
Category: RichTextBox
Type: Bug Report
1
RichTextBox: Numbered lists have invalid values when combining documents by using the InsertFragment method.

Numbered lists have invalid values when combining documents by using the InsertFragment method.

 

Workaround: use RadDocumentMerger:

RadDocument radDocument1 = RtfSourceProvider.Import(rtf1);
RadDocument radDocument2 = RtfSourceProvider.Import(rtf2);

AppendDocumentOptions options = new AppendDocumentOptions();
options.FirstSourceSectionPropertiesResolutionMode = SectionPropertiesResolutionMode.NoSectionBreak;

RadDocumentMerger merger = new RadDocumentMerger(radDocument1);
merger.AppendDocument(radDocument2, options);

RichText.Document = merger.Document;

0 comments