The issue is a regression introduced with another fix, released in R2 2018.
When a new document is created and GetStatisticsInfo is called on it, a NullReferenceException is thrown.
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.
When a document containing fields and with a custom theme is exported to .docx and opened in MS Word, the theme is different. Available in R3 2018 Official Release.
When exporting with RtfFormatProvider (including when the users copy content), an additional \par tag is added at the end of the document. Workaround: Process the RTF after it is generated. Here is an example how to achieve it when copying: this.radRichTextBox.CommandExecuted += radRichTextBox_CommandExecuted; ... void radRichTextBox_CommandExecuted(object sender, CommandExecutedEventArgs e) { if (e.Command is CopyCommand) { DocumentPosition end = this.radRichTextBox.Document.Selection.Ranges.Last.EndPosition; RadDocument clipboardDocument = ClipboardEx.GetDocument().ToDocument(); RtfFormatProvider provider = new RtfFormatProvider(); string rtfString = provider.Export(clipboardDocument); int indexLastParOpening = rtfString.LastIndexOf("{"); int indexLastParClosing = rtfString.IndexOf('}', indexLastParOpening); string newRtf = rtfString.Remove(indexLastParOpening, indexLastParClosing - indexLastParOpening + 1); Clipboard.SetData("Rich Text Format", newRtf); } }
The header of the first page can have only settings applied without any content. In such scenarios, RtfFormatProvider doesn't import the whole header, which can lead to a different layout of the document.
When a list is copied from one document (source) to another document (target) and the target contains custom list with different name, the paste command does not paste the list in the target. Steps to reproduce: 1. Open two instances of RadRichTexbox 2. In the first RRTB create new list style -> List1 and use it to create a list 3. In the second RRTB create a new list style -> List 2 and use it to create a list 4. Copy the list from the second RRTB and try to paste it after the list in the first RRTB Expected: The list is pasted. Actual: The list is not pasted, but the list style is added to the List Library.
Some of the formatting symbols (e.g. space, tab) don't affect the height of the paragraph. With the current implementation, changing the font size of a formatting symbol, which is first in the paragraph, changes its height as well.
Applying a list does not follow the specified indention of texts. When a paragraph has previously applied indentation, it should be preserved and added to the indentation of the bullet. In RadRichTextBox, the indentation of the paragraphs is not respected when applying a list style to it - only the setting of the list is applied.
These tags define deleted and inserted content to markup updates and modifications in a document. They can be used to export the revisions of a document when Track Changes is enabled.
Add support for associated character properties when importing from RTF. Such properties are \rtlch, \ltrch, and the associated control words like \afN, \loch, \hich, and \dbch. Currently, runs/bullets with such properties set could be imported with different character properties. Workaround: Use the supported \f tag for the most common low-ANSI characters, for example by: - doing the following replaces in the source document: \loch\af -> \loch\f \dbch\f -> \dbch\af - (Possible workaround) Re-saving the document with MS Word
The bullets can have their own alignment. Implement import and export of this setting.
The dialog should match the strings contained in the different document parts (headers, footers, footnotes, endnotes, comments).
MS Word shows additional tab stop for a text in a list when a document is exported to RTF format. Steps to reproduce: 1. Open RadRichTextBox 2. Add 2 or 3 paragraphs with text. 3. Add a 5-inch tab stop for those paragraphs. 4. Apply a list over those paragraphs. 5. Export to RTF format and view in MS Word. Note: The paragraphs should not contain any tab symbols. Observed result: MS Word shows additional tab stop at the start of the text in the list.
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.
When the users move the image (evaluated as a result of the field) using the document selection, the field is removed from the document and the image is duplicated.
When a continuous section break is inserted on a page containing an image and with a watermark applied, the watermark is shown on top of the other document elements. The issue is observed only on the page with the section break.
Implement generating of an image and inserting it into the clipboard on copy/cut so it can be pasted in MS Paint or other tools for image editing. Attaching to the CommandExecuting event of RadRichTextBox and handling the copy command can be used as a workaround:CopyCommand command = e.Command
as
CopyCommand;
if
(command !=
null
)
{
ImageInline image =
this
.radRichTextBox.Document.Selection.GetSelectedSingleInline()
as
ImageInline;
if
(image !=
null
)
{
Clipboard.SetImage(image.ImageSource);
e.Cancel =
true
;
}
}
Inserting a page break inside a table is currently not supported (the feature request is logged at https://feedback.telerik.com/Project/143/Feedback/Details/211108). Therefore, the Page Break button inside the Insert tab of the ribbon should be disabled when the caret is positioned inside a table. Workaround: Track the position of the caret and when the latter goes into a table, set the Enabled property of InsertPageBreakCommand to false.