When the HightlightColorPicker is in DataTemplate its image cannot be set to a different than the default one. When the control is not in template it is working properly.
Horizontal table borders are drawn outside of the table when vertical table borders are not present. The issue is very visible when background is applied to the table cells - the ends of the horizontal borders finish just outside the table cell background.
A table in the body is wider than a table in the header when the document is printed. Steps to reproduce: - Insert a tables in the header and the body. - Print the document Expected: The table in the body has the same width. Actual: The table in the body is wider that the table in the header
When the paragraph starts with Annotation with SkipPositionBefore = true, TabForward command does not detect that the caret is actually at the beginning of paragraph, and inserts Tab character instead of changing left indent. Workaround: Subscribe to CommandExecuting and cancel the InsertTextCommand with parameter "\t" if the caret is at such position Steps to reproduce: - Insert a paragraph in the document. - Put the caret at the beginning of the paragraph and insert bookmark (without selection). - Put the caret at the beginning of the paragraph and press tab. Expected: Paragraph's Left indent is changed. Observed: Tab character is inserted.
The method CopyContentFromOverride is a protected method used for copying of inline specific content. This method is not called each time from the CreateElementCopy method. As a workaround of copying your properties ovveride the CopyPropertiesFromOverride method.
When misspelled word is corrected with the spell checker, and the word is just before the comment range end, the comment range end is moved after the previous word. Steps to reproduce: 1. Open RichTextBox and type the following sentence: "This sentence has a wrong speling". 2. Select the entire sentence and click "New Comment" button. 3. The comments range start marker displays before "This...." and comment range end marker displays after "...speling" 4. Right click on word "speling" to change "speling" to "spelling" Result: The spelling gets fixed as expected, but the comment range end moves before the word "spelling".
When symbol is inserted in underlined word, the underline color of the inserted symbol is always black and doesn't respect the underline color of the word. Also, when Track Changes is ON and some symbols are inserted, the underline color is black instead of being red. Probably the root cause is the same for both behaviors.
Paragraphs with applied Normal style are currently exported to RTF with \s0 tag. Instead, this tag could be omitted.
In paged layout mode, the caret becomes invisible when the document is scrolled to other page, so that the page with the caret goes out of the view port. This behavior is also observed when editing, for example when inserting page break or section break.
When the document is in Web layout mode (with RadDocument.LayoutMode = "Flow"), and contains multiple sections with comments inside them, the comments are visualized on unexpected places outside of the comments pane, or one over another, hiding other comments.
When the user inserts a table in right-to-left mode, there is no ability to resize its rows/columns. The Table Properties dialog or the Document Ruler still can be used to resize the rows/columns of the Table.
FloatingUIContainers are not cleared from the UI when they are deleted. Workaround: Recreate UI using the following code: this.radRichTextBox.ActiveEditorPresenter.RecreateUI();
Inserting a single-cell table with top border is a common workaround for the missing 'horizontal line' functionality. Exporting such table to PDF causes wrong result if the intercepting vertical borders are of type None and have smaller thickness. Attached image outlines the issue. Workaround: Set the same thickness to the noBorder and to the visible border: var t = new Telerik.Windows.Documents.Model.Table(1, 1);\ var noBorder = new Telerik.Windows.Documents.Model.Border(3, BorderStyle.None, Colors.Black); t.Borders = new TableBorders(noBorder, new Telerik.Windows.Documents.Model.Border(3, BorderStyle.Single, Colors.Black), noBorder, noBorder); Steps to reproduce: 1. Insert table with the following code: var t = new Telerik.Windows.Documents.Model.Table(1, 1); var noBorder = new Telerik.Windows.Documents.Model.Border(BorderStyle.None); t.Borders = new TableBorders(noBorder, new Telerik.Windows.Documents.Model.Border(3, BorderStyle.Single, Colors.Black), noBorder, noBorder); this.radRichTextBox.InsertTable(t); 2. Export to PDF
Pressing Enter in the first empty cell in the second table of two adjoined tables adds the paragraph between the tables. Instead, the paragraph should be added in the cell. Steps to reproduce: - Add two tables. - Remove the paragraph between them (using the Delete key). - Add paragraph in the first cell of the second table. Expected: The paragraph is added in the cell. Actual: The tables are separated by paragraph.
The flow direction of a paragraph is automatically changed to right-to-left if all spans in the paragraph are in the right-to-left mode when importing from DOCX format.
The table width value is exported with different decimal separator depending on the used culture. One the problem is fixed the width value should be exported with invariant culture.
When a table is auto fitted its cells are exported with incorrect width value. An additional requirement is the cells to not have any preferred width (NULL). This problem will occur only if the document is converted directly from one format to another. Possible workaround is to apply auto preferred width to all cells in that table.
Selection geometry is not rectangular when the selection contains paragraphs with specific fonts and indents, e.g. two empty paragraphs with with font family Georgia and the second one having First Line Indent = 6 px. Steps to reproduce: - Add 3 empty paragraphs - Select the first 2 and apply font family Georgia - Apply First line indent of 6 px to the second paragraph - Select all Expected: The selection geometry should be rectangular. Actual: The selection geometry is not a rectangle.
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;
Currently, exporting to HTML serializes the containers by exporting them to XAML and adding them in a comment in the HTML. There are InlineUIContainerImporting and InlineUIContainerImported events, but the Handled property of the importing event arguments is read-only. This prevents users from creating their own serialization/deserialization logic. Steps to reproduce: 1. Subscribe to events of the format provider: HtmlFormatProvider prov = DocumentFormatProvidersManager.GetProviderByExtension("html") as HtmlFormatProvider; prov.ExportSettings.InlineUIContainerExporting += ExportSettings_InlineUIContainerExporting; prov.ImportSettings.InlineUIContainerImporting += ImportSettings_InlineUIContainerImporting; prov.ImportSettings.InlineUIContainerImported += ImportSettings_InlineUIContainerImported; 2. Insert inline UI container in the document and export it to HTML. InlineUIContainerExporting event is raised and you can set the CommentContent property of the args to custom value. 3. Import the document back in the control Expected: It should be possible to set the Handled property of the importing event args to true, and assign your desired value to the InlineUIContainer property. Actual: InlineUIContainerImporting event is raised, but all properties of the event arguments have private setters.