This will reduce the resulting PDF documents' size drastically.
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.
Page field in header (or footer) of document created with mail merge is always evaluated to 1, instead of the number of the current page. Possible workaround (attached): - Do mail merges one by one - Set header/footers anew to contain PAGE fields in each document - Set FirstPageNumber = 1 to each first section in each document - Merge with RadDocumentMerger
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.
Create different options for pasting(keep formatting, merge formatting, use destination styles). At this point, the document default styles are not copied in the document fragment, thus their loss is observed. When DocumentInheritsDefaultStyleSettings is true and the font settings are like set to different font size/font family, copied text is pasted to MS Word with Verdana font, size 12. Loss of formatting is also observed when copying from RadRichTextBox and pasting in MS Word - the default styles differ.
'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; } } };
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.
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; ----------------------------------------------------
In some languages such as German and Swedish, combining correct words into one is a common morphological pattern. Compound words not included in the dictionaries should not be marked as misspelled.
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.
Profiling results show bottleneck in the line-breaking logic within Paragraph MeasureOverride.
Copy formatting from one place in the document and apply it to another. Available in R2 2018 Official Release version.
When inserting text (document fragment) next to a correctly spelled word they get both underlined as incorrect.