When a document has some section properties like orientation or page size and the document is printed with virtual printer, the generated PDF does not preserve the section properties. For example, if the document has Landscape orientation set, in the generated PDF file, the page with Landscape orientation is visualized with Portrait orientation and the text is drawn vertically. If the document has some page size set, for example A5, in the generated PDF file, the page with size A5 is visualized as page with A4 page size.
Export the image rotation properties to HTML with the CSS transform property (https://developer.mozilla.org/en-US/docs/Web/CSS/transform ).
Enable import/export of read only ranges (protected parts of the document) from/to Rtf documents.
Implement the export of notes (footnote, endnote) in the PdfFormatProvider of the RadRichTextBox.
Table indent property could not be styled through style as it receives a local value with the insertion of the table
This item is duplicated. Please follow the other item at http://feedback.telerik.com/Project/143/Feedback/Details/159291.
If the document contains lists with applied customs style, when trying to open the Manage Styles Dialog using the button in the ribbon, ArgumentNullException is thrown and handled internally, and the dialog is not opened. If the user clicks the button multiple times (the number of lists with custom styles), the dialog is opened. Steps to reproduce: 1. Create a custom list style. 2. Add some test text in the RadRichTextBox. 3. Apply the custom list style in two places in the document. 4. Click on the Change Styles button. Observed: Dialog is not opened. Expected: The dialog should open.
Importing HTML document with white spaces and new lines separating the HTML elements will lead to additional intervals between words.
NullReferenceException is thrown when deleting content. The delete action is executed over a selection. The selection starts from the middle of a paragraph and ends in a table. The paragraph should have a line break as a first element.
The width of the table cell is calculated wrongly when it is set in the CSS style and through attribute: <td style="WIDTH: 75%" width=450>First cell</td>. The Unit isn't reset while reading the attribute value as its unit is missing and it is interpreted as % because the previous value is in percent.
Instances of RadDocument are leaking in addition to other objects when the CreateDeepCopy method of a Section is called. The section contains one paragraph in its blocks and has one paragraph in the default header. Fix available in LIB Version 2017.3.1002.
Empty paragraph containing only a section break shouldn't be translated on the next page if there isn't enough space for it on the current page.
The issue is reproducible when the document contains a custom Paragraph style the ListId of which related to a custom ListStyle in the document.
In MS Word, Heading and the subsequent paragraphs could be collapsed using a small arrow next to the heading. This is not preserved in the model.
Line break has a specific property which should be taken into account only when there is a floating object which interrupts the line, e.g.: <w:br w:type="textWrapping" w:clear="all" />
Currently, StylesGallery and TableStylesGallery cannot be resized. Internally they contain RadRibbonGallery, which itself expose ViewPortWidth property controlling the width, so this just have to be exposed.
Adding a custom list could be done by using the AddCustomListStyle method of RadDocument. However, this operation will not be included in the Undo stack. Deleting the full chain of relationships between a list style and a document list is not possible.
Performance is slow when importing document containing many hyperlink fields from RTF and Docx formats.
If we have a paragraph containing single span which has set red foreground as a local value, applying 'Heading 1' style on that paragraph from the RadRichTextBox' Styles Gallery doesn't change the span's foreground to blue (which comes from the applied style), but preserves the red value. Workaround: To clear a given property, basing on some logic which determines if it should be cleared. For example: this.radRichTextBox.CommandExecuting += (s, e) => { if (e.Command is ChangeStyleNameCommand) { var style = this.radRichTextBox.Document.StyleRepository.GetValueOrNull(e.CommandParameter.ToString()); if (style.Type == Telerik.Windows.Documents.Model.Styles.StyleType.Paragraph) { Paragraph paragraph = this.radRichTextBox.Document.CaretPosition.GetCurrentParagraphBox().AssociatedParagraph; foreach (Span span in paragraph.EnumerateChildrenOfType<Span>()) { span.ClearValue(Span.ForeColorProperty); } } } };
It would be more user-friendly if the currently edited word (the one containing the caret) is excluded from the real-time spell checking and, if incorrect, is not underlined until the caret leaves the word boundary. Otherwise currently edited word is marked as incorrect while its typing is still in progress. Changes in a word can immediately mark it as correct (i.e. to remove the red underline), but cannot mark it as incorrect - it's marked as incorrect only after the caret leaves the word.