Add a way to convert between RadRichTextBox's RadDocument and RadWordsProcessing's RadFlowDocument. This will enable integration scenarios between the two products, including using RadWordsProcessing's format providers for import and export.
In MS Word there is a combo box for display mode of the track changes under Review tab. There is a No Markup option which hides the revisions and shows how the document will look in his final variant. Similar to accepting all revisions.
Add a way to restrict page breaks in paragraphs or page breaks between paragraphs. In MS Word, these options are named "Keep lines together", "Keep with next" and "Page break before".
Splitting table cells is currently not supported and it would be a nice addition to the functionality related to tables. Menu item should be added to the default table context menu.
Form fields are the legacy way to insert an editable controls in a document (text boxes, checkboxes, dropdowns) by using the FORMTEXT, FORMCHECKBOX and FORMDROPDOWN fields. This includes the legacy Frames (described in OOXML with 'framePr' element). Do not confuse with content controls (structured document tags) (see http://feedback.telerik.com/Project/143/Feedback/Details/113730 ) and with ActiveX controls.
Add ability to select last paragraph symbol in Section and TableCell. Currently there is no document position after the last paragraph symbol in a document/section/table cell. This means it cannot be part of a DocumentSelection.
The customers need to convert the position to an integer number representing the offset of the current position from the first position in the document. A method returning the position at a specified offset would be useful as well.
Add support for nested track changes revisions. Currently, when a user tries to delete text added by another user, RadRichTextBox simply removes it and does not mark it as a change.
Add support for Paragraph and Page borders. Note: Typing "---" in MS Word and pressing Enter inserts bottom paragraph border with special size (sz="6" in the docx format). Workaround for inserting visually similar element: Add a horizontal line using a table with a single border. Here is some code demonstrating how to do this: ---------------------------------------------------------- var document = new RadDocument(); var editor = new RadDocumentEditor(document); Table table = new Table(); var topBorder = new Telerik.Windows.Documents.Model.Border(1, BorderStyle.Single, Colors.Red); var borders = new TableBorders(table.Borders.Left, topBorder, table.Borders.Right, table.Borders.Bottom); table.Borders = borders; var row = new TableRow(); var dummyCell = new TableCell(); var dummyParagraph = new Paragraph(); dummyParagraph.FontSize = 0; dummyParagraph.LineSpacing = 0; dummyParagraph.SpacingAfter = 0; dummyParagraph.SpacingBefore = 0; dummyCell.Blocks.Add(dummyParagraph); row.Cells.Add(dummyCell); table.Rows.Add(row); editor.InsertTable(table, shouldInsertParagraphBeforeTable: true); this.rtb.Document = document; ----------------------------------------------------
Introduce Navigation Pane as an enhancement to the UI of RadRichTextBox, similar to the one in MS Word (View -> Show -> Navigation pane).
When the focus gets in RadRichTextBox, AutomationProperties.Name is not pronounced by screen readers (for example by Windows Narrator). Workaround: the automation name could be set to the caret as demonstrated in the attached project.
When track changes are enabled deleted content is also taken into account when spellchecking. Steps to reproduce: - Type in a wrong word (e.g. thos). - Turn Track Changes on. - Select the o and replace it with i. Expected: The word is not considered wrong and underlined by the spellchecker. Actual: "thois" is spell checked and evaluated as wrong.
Currently text in table cell can be oriented only left to right, with horizontal lines flowing from top to bottom. Add support for more text directions - the most common are vertically oriented, i.e. rotated to 90 or 270 degrees.
When a value is selected in the FontSize combo box using the arrows and Enter, the font size of the selected text is not updated. The same scenario is working as expected when using the font size combo box from the ribbon.
'Decrement paragraph left indent' command can set negative left indent which makes bullets/numbering of a list clipped. Instead, it shouldn't be executed if the bullets/numbering would become invisible. Workaround: Cancel the command in CommandExecuting event: this.radRichTextBox.CommandExecuting += (sender, e) => { if (e.Command == this.radRichTextBox.Commands.DecrementParagraphLeftIndentCommand) { if (this.radRichTextBox.Document.Selection.GetSelectedParagraphs().Any(p => p.IsInList && p.LeftIndent <= 24)) { e.Cancel = true; } } };
In MS Word, there is special command in Home -> Paragraph -> Borders dropdown -> Horizontal Line, which inserts special drawing similar to 3D horizontal line in a paragraph. Such line should be exported to <hr> tag during HTML export, and respectively <hr> tag should be imported as Horizontal Line. Note: the representation of the horizontal line in the docx document is as follows: <w:pict> <v:rect id="_x0000_i1027" style="width:0;height:1.5pt" o:hralign="center" o:hrstd="t" o:hr="t" fillcolor="#a0a0a0" stroked="f"/> </w:pict> Workaround: Currently, you can add a horizontal line using a table with a single border. Here is some code demonstrating how to do this: ---------------------------------------------------------- var document = new RadDocument(); var editor = new RadDocumentEditor(document); Table table = new Table(); var topBorder = new Telerik.Windows.Documents.Model.Border(1, BorderStyle.Single, Colors.Red); var borders = new TableBorders(table.Borders.Left, topBorder, table.Borders.Right, table.Borders.Bottom); table.Borders = borders; var row = new TableRow(); var dummyCell = new TableCell(); var dummyParagraph = new Paragraph(); dummyParagraph.FontSize = 0; dummyParagraph.LineSpacing = 0; dummyParagraph.SpacingAfter = 0; dummyParagraph.SpacingBefore = 0; dummyCell.Blocks.Add(dummyParagraph); row.Cells.Add(dummyCell); table.Rows.Add(row); editor.InsertTable(table, shouldInsertParagraphBeforeTable: true); this.radRichTextBox.Document = document; ----------------------------------------------------