The table preferred width value set to Auto or in percents is ignored and is always exported with fixed value. Steps to reproduce: Create a table with two columns in RadRichTextBox. Set the table preferred width to auto. Set the table cell preferred width for both columns to 50%. Export to Docx format. Observed result: the table has preferred width as fixed value 6.62 inches. The columns have the correct width. Expected result: the table preferred width to be auto.
Support PDF/A when exporting. More information at wikipedia: http://en.wikipedia.org/wiki/PDF/A . Workaround: Currently, the exported PDF document could be imported with RadPdfProcessing and exported with one of the supported PDF/A levels ( http://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/howto/comply-with-pdfa-standard ).
Add support for DeletePreviousWord and DeleteNextWord commands, triggered with Ctrl+Backspace and Ctrl+Delete keyboard shortcuts.
Currently, when a user double-clicks a word in RadRichTextBox and does not release the left button, moving the cursor drags the selected word. In most word processors the same actions extend the selection. Note: The same applies for triple click, which selects the paragraph.
In specific conditions, when selecting text through the document, NullReferenceException is thrown in RectPathBuilder class.
Floating table are tables that can be absolutely positioned in the document, with different text wrapping (similar to floating images). MS Word converts a table to floating object whenever the table is dragged. Add options in Table Properties dialog similar to MS Word – Table with Text Wrapping: Around and None.
In Word I can place text where ever I want, when I use textfields. This should also be possible with RadRichTextBox. When exporting to PDF this should result in an extra layer for the textfield.
This includes: - Create multilevel list template for Heading styles - Add button in the ribbon list styles gallery for applying this list template - TOC generated from heading styles associated with list should also include the numbering of the headings (see the related bug 91763). This is not absolutely required for the current item. -------------------- Currently such list can be added using the following code: private void button1_Click(object sender, RoutedEventArgs e) { ListStyle listStyle = CreateHierarchicalListStyle(); for (int i = 0; i < 9; i++) { ListLevelStyle listLevel = listStyle.Levels[i]; listLevel.HangingIndent = 0; listLevel.Indent = 0; listLevel.StyleName = RadDocumentDefaultStyles.GetHeadingStyleNameByIndex(i + 1); } DocumentList documentList = new DocumentList(listStyle, this.radRichTextBox.Document); for (int i = 0; i < 9; i++) { string headingStyleName = RadDocumentDefaultStyles.GetHeadingStyleNameByIndex(i + 1); StyleDefinition headingStyle = this.radRichTextBox.Document.StyleRepository.GetValueOrNull(headingStyleName); headingStyle.ParagraphStyle.ListId = documentList.ID; headingStyle.ParagraphStyle.ListLevel = i; } } private static ListStyle CreateHierarchicalListStyle() { ListStyle listStyle = new ListStyle(); for (int i = 0; i < ListStyle.ListLevels; ++i) { StringBuilder levelText = new StringBuilder(); for (int j = 0; j < i + 1; ++j) { levelText.Append("{" + j + "}."); } listStyle.Levels.Add(new ListLevelStyle() { StartingIndex = 1, NumberingFormat = ListNumberingFormat.Decimal, LevelText = levelText.ToString(), }); } return listStyle; }
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.
Implement API for hiding built-in styles from StylesGallery. This should be useful, as currently all built-in styles are visible by default, and the only way to hide them is to include them in the document as set Primary to false.
When creating a hyperlink from selected text using the InsertHyperinkDialog, trailing spaces shouldn't be included in the hyperlink, as in MS Word.
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; ----------------------------------------------------