We noticed that the RadRichTextBox for WPF is not working correctly Windows Narrator or JAWS screen readers. As a result, due to Section 508 compliance, this prevents government clients from using our software. We have tried three different computers with Windows 7 with Windows Narrator and JAWS 15.0.10026. Both Windows Narrator and JAWS speak all the controls in our application except for the RadRichTextBox. Type a few lines in the editor then up, down, left, and right arrow through the text. We do not hear the character echo when performing left and right arrow. We do not hear the entire line of text spoken when performing up and down arrow. When I try this in the RadRichTextBox control, using our test application, using JAWS, I hear the window title "Telerik Test App" when I peform an up and down arrow. Also, when I perform left and right error I hear the letter "T" which I believe is the first letter in the window title. When I try this in the RadRichTextBox control, using our text application, using Windows Narrator, I hear "up arrow" and "down arrow" when I peform an up and down arrow. Also, when I perform left and right error I hear "left arrow" and "right arrow."
Workaround: We have prepared an SDK example which demonstrates how to import .doc files in RadRichTextBox using third-party library. The sample could be found in our SDK repository in Github at the following link: https://github.com/telerik/xaml-sdk/tree/master/RichTextBox/DocFormatProviderDemo
Include the calculation of table borders into table layout. The result should be that the borders do not affect the height and width of the row/cell.
UpdateAllFields method causes StackOverlfowException when: - there are two TOC fields in the document with specific location (no paragraphs between the two fields) - when merge fields containing new lines ('\r\n') are updated. UpdatField method causes StackOverlfowException in the IntervalTree class when: - A TOC field is updated and the field contains field separator (<w:fldChar w:fldCharType="separate"/>) in its definition. The exception is reproducible when there are section breaks before the TOC. Fix available in LIB Version 2017.2.627.
When comment is inserted in the document, keyboard focus is not moved to the comment, and when the users start typing, they actually override the comment range in the document.
In Word, for paragraphs in a list: 1. The bullet/number uses the value of the first line indent 2.1 The text on the first line is aligned according to the left indent when the left indent is smaller than the first line indent (the usual case). 2.2 If the first line indent is smaller than the left indent, the first line aligns with the rest of the text, using the value of the left indent property. 2.3 When there are tab stops, they are used for the position of the text. In RadRichTextBox, the text in the first line always aligns according to the FirstLine indent. Also, tab stops can be used to position the text after the bullet/number.
Add "Show Grid Lines" command. The command should visualize all table borders, including the invisible ones.
A Block element that can contain a UI element like an InlineUIContainer, similar to WPF's BlockUIContainer would be a nice enhancement to the control.
Add API for adding embedded file streams (a.k.a. file attachments) to the PDF file produced during the export to PDF.
If you highlight a section of text and apply styles to it like bold/italic/underline and place your cursor at the end of that text the Clear All Formatting button does not work. If you turn on those styles and then type some text and place your cursor at the end of that text it does work. The difference in the XAML is that in the first case the styles are only on the span of text itself while in the second the styles are on the span and the paragraph. I have attached a GIF of steps to reproduce and the XAML from the editor before clicking the Clear All Formatting button.
NullReferenceException is thrown when measuring a document with floating image as the first element on a second page. The same problem can be observed during copy/paste of content, but with slightly different call stack: System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.Windows.Documents.Layout.LayoutBox.get_ValidParent() at Telerik.Windows.Documents.DocumentPosition.GetCurrentParagraphBox() at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxRulerController.GetCurrentParagraphBox() at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxRulerController.AssociatedRichTextBox_LayoutUpdated(Object sender, EventArgs e) Depending on the document structure, an InvalidOperationException with message "Removed LayoutBox should not be split. Such operation will result in invalid document structure." could be also thrown. A sample call stack is: Telerik.Windows.Documents.Layout.LayoutBox.CreateNewFragment(Telerik.Windows.Documents.Layout.LayoutBox currentLineStartNode) Telerik.Windows.Documents.Layout.TableCellLayoutBox.MeasureOverrideInternal(Telerik.Windows.Documents.Model.SizeF availableSize) Telerik.Windows.Documents.Layout.TableCellLayoutBox.Telerik.Windows.Documents.Model.IBlockContainerLayoutBox.CallMeasureOverrideInternal(Telerik.Windows.Documents.Model.SizeF availableSize) Telerik.Windows.Documents.Layout.BlockContainerLayoutHelper.CheckAllFloatingBlocksAreIncluded(Telerik.Windows.Documents.Model.SizeF availableSize) Fix available in LIB Version 2018.1.312.
If content with DocumentLists and ListStyles respectively, is copied from Microsoft Word and then pasted in RadRichTextBox, ArgumentNullException is thrown while the lists from the DocumentFragment are fixed (FixListStyles() method). The exception is caught and thus, the content from the clipboard is not inserted during the copy/paste operation. In some cases, when the content is pasted again, the content is pasted. Workaround: Replace the fragment in the clipboard with one that is already "fixed". See the attached MainWindow.cs.txt
While clicking to position the caret at the beginning of a paragraph, the caret is jumping to the previous document position and returning back to the desired one. Fix available in LIB Version 2017.2.627.
RadDocument instances leak when editing a document containing a field and header/footer. The StyleRepository holds a reference to a style's document element. Fix available in LIB Version 2017.3.1002.
Implement a Page Setup dialog which allows the users to modify Margins, Layout, Page Size, etc. of the document.
Improve the performance when multiple paragraphs are selected and deleted.
The caret (cursor) is drawn over letters. This is unpleasant, especially with small font sizes. The issue is even more noticeable when the zoom factor is bigger than 100%. Available in LIB Version 2018.1.312.
Most of the CJK characters are not defined or don't look good in fonts not specifically designed for CJK. Because of this it would be convenient the font to be automatically changed to MS Mincho in case the user starts writing CJK characters. Note that if the current font supports CJK (for example Arial Unicode MS), the font is not changed to MS Mincho.
When track changes are enabled, setting very large values for both the Top and Bottom values of Distance from text, causes an exception in ParagraphLayoutBox. Stack trace: {System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.Windows.Documents.Layout.ParagraphLayoutBox.ArrangeOverride(SizeF finalSize) at Telerik.Windows.Documents.Layout.LayoutElement.ArrangeCore(RectangleF finalRect) at Telerik.Windows.Documents.Layout.LayoutElement.Arrange(RectangleF finalRect) at Telerik.Windows.Documents.Layout.SectionLayoutBox.ArrangeOverride(SizeF finalSize) at Telerik.Windows.Documents.Layout.LayoutElement.ArrangeCore(RectangleF finalRect) at Telerik.Windows.Documents.Layout.LayoutElement.Arrange(RectangleF finalRect) at Telerik.Windows.Documents.Layout.DocumentLayoutBox.ArrangeOverride(SizeF finalSize) at Telerik.Windows.Documents.Layout.LayoutElement.ArrangeCore(RectangleF finalRect) at Telerik.Windows.Documents.Layout.LayoutElement.Arrange(RectangleF finalRect) at Telerik.Windows.Documents.Model.RadDocument.Arrange(RectangleF arrangeRect) at Telerik.Windows.Documents.UI.DocumentPrintLayoutPresenter.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)} Steps to reproduce: 1. Enable track changes 2. Insert an image 3. Open Floating Blocks Layout Dialog 4. Choose Top and Bottom 5. Set "Distance from text" for both Top and Bottom to 2000px and click OK Result: Exception is thrown Additional info: Problem is also reproduced with very large images (1000 x 800 px) and small values for Distance from text.
When FlowDirection is set to RightToLeft: <telerik:RadRichTextBox FlowDirection="RightToLeft" /> RadRichTextBox could work as system's RichTextBox - to layout the text correctly and swap the vertical scrollbar on the left side. Another option to consider is to change the default paragraph style (or 'Normal' style?) to have RTL flow. Currently, when this property is set, the text gets reversed and the vertical scrollbar stays on the right side.