Allow Span to be hidden when visualizing the document. For example, introduce a Span.IsHidden property. In MS Word, text is hidden using the Home -> Font -> Font -> Effects -> Hidden. In the RTF format, such text is preceded (marked) with a '\v' tag. In OOXML, the tag is <vanish/> Note: Hidden text is visualized with dotted underline when formatting symbols are shown. Hidden text is not exported to PDF.
With the current implementation, when an image is selected, viewport is scrolled to the corresponding image document position: - In case of inline image, it moves to the end of the image, so that the image is fully visible. - In case of floating image, it moves to the position where image is anchored. The behavior of the MS Word (the view is not scrolled in such cases) is much more convenient.
If there is a Span surrounded with annotation ranges in a table cell and the table has conditional table style, the text cannot be selected after import of such document. If the table has normal table style (not a conditional one) everything works as expected. - If the annotations are bookmark ranges (start and end), the text cannot be selected with double-click over the text. - If the text is hyperlink, the text could be selected with double-click, but when the selection is changed through the keyboard arrows, the same issue appears. The issue appears with Docx documents, in addition to the attached Xaml one, so the issue seems not to be related to the XAML serialization.
Trying to delete table cell formatting symbol, when track changes are on, will result in marking the text in the cell as deleted. MS Word does not respect such delete action.
When importing a hyperlink containing anchor, the NavigateUri keeps the part after the hyperlink only instead of the whole URI.
When a document is edited by more than one user with enabled Track Changes, there should be an option to show the changes of a certain or multiple users and hide the rest.
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); } } } };
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.
The issue is reproducible when the document contains a custom Paragraph style the ListId of which related to a custom ListStyle in the document.
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.
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.
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.
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.
This item is duplicated. Please follow the other item at http://feedback.telerik.com/Project/143/Feedback/Details/159291.
Table indent property could not be styled through style as it receives a local value with the insertion of the table
Enable import/export of read only ranges (protected parts of the document) from/to Rtf documents.
The issue is reproducible when the style of the paragraph with the revisions is changed for the second time.
Rtf document cannot be imported when it has an empty table row which have row spanned cells only.
The UI indicates that a strikethrough is applied, but it is not visible in the document. Workaround: Reorder the UI layers of RadRichTextBox so that the one responsible for drawing the strikethrough decoration is added in a higher position: protected override void BuildUILayersOverride(IUILayerContainer uiLayerContainer) { uiLayerContainer.UILayers.Remove(DefaultUILayers.StrikethroughDecoration); uiLayerContainer.UILayers.AddAfter(DefaultUILayers.UnderlineDecoration, new StrikethroughTextDecorationUILayer()); }