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.
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.
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".
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.
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.
Introduce Navigation Pane as an enhancement to the UI of RadRichTextBox, similar to the one in MS Word (View -> Show -> Navigation pane).
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 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; ----------------------------------------------------
Profiling results show bottleneck in the line-breaking logic within Paragraph MeasureOverride.
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.
DocxFormatProvider should support external content (altChunk (Anchor for Imported External Content)) when importing documents. The current version omits anything referred as external content. Note: exporting from Telerik Reporting to DOCX when the report contains HtmlTextBox will create such elements.
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; ----------------------------------------------------
Implement IF and ASK fields.
Currently PdfFormatProvider does not use the track-changes styles when exporting the document. So the different text color, underline, strike through or borders will not appear in the exported PDF.
Consider raising an event when the images are finished loading, or an option for loading the images synchronously.