When a list item with applied first line indent is exported to PDF, the bullets are with wrong indent (images attached) Partial workaround: Remove the first line indent and set it as left indent in order to preserve the visualization of the document editor.ChangeParagraphLeftIndent(paragraph.FirstLineIndent + paragraph.LeftIndent); editor.ChangeParagraphFirstLineIndent(0);
In MS Word, decimal tab stops affect paragraph layout in table cells even if tab character is not inserted. The reasoning is that it's hard to insert tab symbol in table cell, as pressing Tab navigates to the next cell (Ctrl+Tab should be used, or default behavior should be configured).
When a table is copied (without a paragraph before it) and pasted as first element in a Section in RadRichTextBox with Track Changes enabled, accepting all changes throws (handled) InvalidCastException. Changes are not accepted. Workaround: Attach to RadRichTextBox.CommandExecuting event, and add paragraph before the table in the document fragment in the clipboard. private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e) { if (e.Command is Telerik.Windows.Documents.RichTextBoxCommands.PasteCommand) { if (this.radRichTextBox.Document.IsTrackChangesEnabled) { DocumentFragment documentFromClipboard = ClipboardEx.GetDocument(); if (documentFromClipboard != null) { e.Cancel = true; RadDocument documentFormClipboard = documentFromClipboard.ToDocument(); if (documentFormClipboard.EnumerateChildrenOfType<Table>().Count() > 0) { Section firstSection = documentFormClipboard.Sections.FirstOrDefault(); if (firstSection.EnumerateChildrenOfType<Table>().Count() > 0) { if (firstSection.EnumerateChildrenOfType<Table>().FirstOrDefault() != null) { Table table = firstSection.EnumerateChildrenOfType<Table>().FirstOrDefault(); Paragraph paragraph = new Paragraph() { SpacingAfter = 0, SpacingBefore = 0, LineSpacing = 0, FontSize = 1 }; firstSection.Blocks.AddBefore(table, paragraph); RadDocumentEditor editor = new RadDocumentEditor(this.radRichTextBox.Document); DocumentFragment fragment = new DocumentFragment(documentFormClipboard); editor.InsertFragment(fragment); } } } } } } }
When table cell text alignment (including horizontal and vertical alignment) is applied to a specific part of the table (e.g. First Row, First Column, etc.), the horizontal alignment is not applied. Only the vertical alignment is applied. If the alignment is applied to the whole table, then everything works as expected.
When comments panel is closed while the caret is still in the comment body, most document commands (all except typing) continue to execute in the comment body. The bug is regression introduced in 2013 Q3. Workaround: save the document position of the caret before showing the comment and after hiding the comments' panel, apply the saved caret position to the document. Attached is a sample project with the fix.
For example for Input Method Editors like Marathi Indic Input, part of MS Indic Language input tool, downloadable from here: http://www.bhashaindia.com/ilit/Marathi.aspx. Workaround: RadRichTextBox currently exposes customization point for implementing custom IMEs, see Custom IME Support: http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/ime-support#custom-ime-support
After resizing the window, the text stays at the same location instead of moving to the next line. The result is overlapping text.
Currently, colors with alpha channel defined with 'rgba' function are not supported, for example the following: <span style="background-color: rgba(0, 0, 0, 0.5);">Some text</span> is imported as black color; semi-transparent colors are exported without the alpha channel.
More information: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt . Note: this element is obsolete, and has the same meaning as <code>.
Add support for inset borders for tables and table cells (Inset Line Border in OOXML).
Currently ignored words are marked only in-memory using internal properties of the document model. Make them persist, similar to what MS Word do. Note: In the DOCX format, the document is marked as "clear" (doesn't contain spell check errors) and all misspelled words are enclosed with an errProof annotation.
The word is temporary marked as correct and when another word is added to the dictionary, the ignored one is highlighted again. As a workaround could be used the Ignore All option.
When the paragraph formatting symbol has a formatting, different than the one of the spans in this paragraph, the bullet is not aligned to the baseline of the text
When a list associated with list style is copied from a document (source document), and is pasted in another document (target document), and the target document contains list style with the same name, the the list style from source is added to the target, which creates two list styles with the same name in the target document. In the same scenario, MS Word uses the list style from the target, and do not add the list style from the source.
Currently when the text contains consecutive non-space symbols like "~!@#$%^&*()_+=-`[]{};:'"/\|., ", each character is detected as a separate word. Instead, they should be considered one word, including all the subsequent space characters. The following functionalities should respect this grouping: - Caret navigation by words (CTRL + left/right arrow), MoveCaret UI command and the corresponding DocumentPosition methods. - Selecting word by double clicking.
When caret is just after list bullet/numbering and Backspace is pressed, left indent is cleared. Instead, only the bullet should be deleted, and the indent should be kept as it is set.
An useful option would be to export the text without the bullets in it.
When the caret is positioned at the beginning of a paragraph with hanging indent and the user press Backspace, the left indent is set to a negative value, the text goes out of the bounds of the document. Workaround: Use the editor's method instead of the command: private void RadRichTextBox_CommandExecuting(object sender, CommandExecutingEventArgs e) { bool? parameter = e.CommandParameter as bool?; if (parameter != null && parameter == true) { DeleteCommand command = e.Command as DeleteCommand; if (command != null) { e.Cancel = true; this.radRichTextBox.Delete(true); } } }
Currently, an ArgumentException is thrown when trying to import an image with negative dimensions. In this scenario, we could import the document and skip the image, or read the size of the content.
NullReferenceException is thrown when trying to import a nested hyperlink, e.g. the following OOXML: <w:hyperlink r:id="rId4" w:history="1"> <w:hyperlink r:id="rId5" w:history="1"> <w:r> <w:rPr> <w:rStyle w:val="Hyperlink"/> <w:rFonts w:eastAsia="Times New Roman"/> </w:rPr> <w:t>google</w:t> </w:r> </w:hyperlink> </w:hyperlink>