- When a floating image is inserted into header/footer the image is clipped. However, if Enter is pressed in the header/footer later, the whole image is shown. Further, if Enter is pressed again, the image is clipped again. - When floating images are placed in a header or footer, and are positioned outside of the text editor's area, they are not visualized. MS Word visualizes such images as slightly grayed out (similar to watermarks) in normal mode, and always visualizes them in Header/Footer edit mode.
When the current SpanLayoutBox is split (for example by inserting space), the DocumentPosition created with trackDocumentChangeEvents option (with some of the constructor accepting the boolean 'trackDocumentChangeEvents' parameter) jumps back with two symbols.
The unit that is used by default is px. Allow modification to the default unit, say pt.
Add Paragraph property controlling whether SpacingBefore / SpacingAfter is applied between paragraphs with the same style. In MS Word, the corresponding option is controlled with "Don't add space between paragraphs of the same style" checkbox in the font properties dialog - and the paragraph spacing after will not be applied. In OOXML, it is described with the w:contextualSpacing element. We don't respect this property on import of such files, and the paragraph spacing is bigger. Common use case for this feature is that when list is applied to multiple paragraphs, Paragraph List style is applied to the items, and this style has "Don't add space between paragraphs of the same style" applied, so the vertical spacing between the items is smaller.
Implement export of RadDocument's Bookmarks to PDF's bookmarks.
RadRichTextBox should have API allowing to set which user can accept or reject the changes. Currently all users can do this.
The following parts are with hard coded strings and cannot be localized: - Insert Caption (InsertCaptionDialog): Combo boxes for label and separator - Paragraph Properties (ParagraphPropertiesDialog): Units of spacing and indentation values (pt) - Tab Stops Properties (TabStopsPropertiesDialog): The text of the tabStopsToBeClearedTextBloc - Cross references: reference types Figure and Table - TOC and TOF: Heading and Figure, Caption labels - Document Ruler: Tooltips - FormattingColorPicker: The "No Color" string Available in R1 2018 SP2 Release Version.
When the content of an entire row is copied and the caret is inserted in the left most column of a row, then the content of each cell in that row should be overwritten with the contents in the clipboard when pasted. When such content is pasted just after a table, new row is added and filled with values. When such content is pasted in paragraph, new table is created.
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