Numbered lists have invalid values when combining documents by using the InsertFragment method.
Workaround: use RadDocumentMerger:
RadDocument radDocument1 = RtfSourceProvider.Import(rtf1);
RadDocument radDocument2 = RtfSourceProvider.Import(rtf2);
AppendDocumentOptions options = new AppendDocumentOptions();
options.FirstSourceSectionPropertiesResolutionMode = SectionPropertiesResolutionMode.NoSectionBreak;
RadDocumentMerger merger = new RadDocumentMerger(radDocument1);
merger.AppendDocument(radDocument2, options);
RichText.Document = merger.Document;
Actually, when we go to image editor from the RadRichTextBox, we've got the original image's size but not the width and height in the document. When we need to format pictures of a document with equal size, we are using the document's size, not the picture's size. Thanks
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.
The desired width of the tables is not set to 100 percent. Instead, the width of each column is set to the fixed value in dxa.
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.
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.
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.
The caret of RadRichTextBox appears only when the text is selected. Once you try to reorder the letters within its content, it appears. The issue is caused when ScrollViewer control has different than the default style for the corresponding theme and there are set Padding and/or Margin properties. Workaround: the template of the Caret should be edited and Style="{x:Null}" should be set on the ScrollViewer which is defined inside the Caret control template.
Add possibility to import files from MHTML format.
Add possibility to export files in MHTML format.
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.
The following HTML should generate a table with width of 600px: <table width="25px" border="1px solid black"> <tr> <td> <table width="600"> <tbody> <tr><td >Test</td></tr> </tbody> </table> </td> </tr> </table> When the same html is imported in RadRichTextBox, the table is 25px wide.
Currently the API allows ClipboardHandler-s to be registered in ClipboardEx.ClipboardHandlers collection, which is used when content is pasted. We can extend ClipboardHandler with property describing whether the handler is supported for copy, paste, or copy&paste, and use the collection for copy operation as well. Workaround: Use RadRichTextBox.CommandExecuted and on copy, enhance the original data object in the clipboard: this.radRichTextBox.CommandExecuted += (sender, e) => { if (e.Command is CopyCommand) { var originalDataObject = Clipboard.GetDataObject(); DataObject dataObject = new DataObject(); foreach (string format in originalDataObject.GetFormats()) { dataObject.SetData(format, originalDataObject.GetData(format)); } dataObject.SetData("Html", new HtmlFormatProvider().Export(this.radRichTextBox.Document)); Clipboard.SetDataObject(dataObject); } };
Watermark is drawn for each page in the RadDocument. When the watermark is a larger image, an OutOfMemoryException might occur during export to PDF. The same applies for images in header/footer.