Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
ADMIN
Boby
Created on: 05 Aug 2015 10:05
Category: RichTextBox
Type: Bug Report
0
RichTextBox: Tables with LayoutMode = AutoFit are exported to RTF with wrong column widths when the document is in Web layout mode
When document is Web layout mode (LayoutMode = Flow), table with LayoutMode = AutoFit is exported to RTF with wrong column widths. MS Word visualize such table splashed, and WordPad extremely large.

Workaround: Performing layout on the document in Paged layout mode seems to fix the issue:

            var doc = new XamlFormatProvider().Import(file);
            doc.LayoutMode = Telerik.Windows.Documents.Model.DocumentLayoutMode.Paged;
            doc.EnsureDocumentMeasuredAndArranged();
            doc.LayoutMode = Telerik.Windows.Documents.Model.DocumentLayoutMode.Flow;
0 comments