When a list associated with list style is copied from a document (source document), and is pasted in another document (target document), and the target document contains list style with the same name, the the list style from source is added to the target, which creates two list styles with the same name in the target document. In the same scenario, MS Word uses the list style from the target, and do not add the list style from the source.
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.
When a color property has default (auto) value, do not export a tag which points to omitted defintion in the color table. For example, if a span has transparent highlight (the default one), do not export the \highlight tag since this might lead to some incorrect rendering of the document from other readers - WordPad for example.
Currently, when an option is chosen from the drop-downs in Page Layout -> Page Setup -> Size/Margin/Orientation/Columns, the command is executed, but the item corresponding to the current value is not selected. For example, if the caret is in a Section with A3 size, Size -> drop-down -> A3 should be selected.
The ChangeListStyleCommand has an event named ListStyleChangedChanged which is never raised.
Currently RadDocument contains a lot of built-in (latent) table styles, which are always shown in the TableStylesGallery. Introduce API allowing to hide some of them.
Currently when the text contains consecutive non-space symbols like "~!@#$%^&*()_+=-`[]{};:'"/\|., ", each character is detected as a separate word. Instead, they should be considered one word, including all the subsequent space characters. The following functionalities should respect this grouping: - Caret navigation by words (CTRL + left/right arrow), MoveCaret UI command and the corresponding DocumentPosition methods. - Selecting word by double clicking.
When ParagraphProperties dialog is opened while several paragraphs are selected, the values in the dialog correspond to the values of that paragraph, where the cursor was placed before opening the dialog. Then if the dialog is closed with OK button, these values are applied to the other paragraphs as well.
When caret is just after list bullet/numbering and Backspace is pressed, left indent is cleared. Instead, only the bullet should be deleted, and the indent should be kept as it is set.
Possible workaround is to change the document of RadRichTextBox.
When HTML attribute is set and the same property is set in CSS, the element should be styled according to the CSS values, because they have higher priority. For example: <table border="5" style="border: 1px solid black">
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
The memory leak is reproducible when the main thread is too busy to dispose objects used by RadDocument internally. Thus, the RadDocument instances are kept alive in the memory. Workaround: When the scenario includes back processing of documents: Start different threads responsible to perform the required operations and use the following code: Dispatcher dispatcher = Dispatcher.CurrentDispatcher; dispatcher.BeginInvokeShutdown(DispatcherPriority.Normal); Dispatcher.Run(); anywhere in the background thread processing the RadDocument.
An useful option would be to export the text without the bullets in it.
The theme color is with higher priority. Thus, when the document is exported to DOCX and opened again, the default color is applied to the style.
When the caret is positioned at the beginning of a paragraph with hanging indent and the user press Backspace, the left indent is set to a negative value, the text goes out of the bounds of the document. Workaround: Use the editor's method instead of the command: private void RadRichTextBox_CommandExecuting(object sender, CommandExecutingEventArgs e) { bool? parameter = e.CommandParameter as bool?; if (parameter != null && parameter == true) { DeleteCommand command = e.Command as DeleteCommand; if (command != null) { e.Cancel = true; this.radRichTextBox.Delete(true); } } }
Introduce an option enabling only proportional resizing to be allowed in the ImageSelectionAdorner (side middle thumbs should be disabled). The option can be added in the RadRichTextBox's ImageSelectionAdornerSettings as it already contains CanRotate, CanDrag, CanResize. Note that Images could also support Lock aspect ratio property, which is different.
Currently, an ArgumentException is thrown when trying to import an image with negative dimensions. In this scenario, we could import the document and skip the image, or read the size of the content.
NullReferenceException is thrown when trying to import a nested hyperlink, e.g. the following OOXML: <w:hyperlink r:id="rId4" w:history="1"> <w:hyperlink r:id="rId5" w:history="1"> <w:r> <w:rPr> <w:rStyle w:val="Hyperlink"/> <w:rFonts w:eastAsia="Times New Roman"/> </w:rPr> <w:t>google</w:t> </w:r> </w:hyperlink> </w:hyperlink>