Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Feature Request
1
This includes resizing, rotating and moving. Consider implementing the full functionality for interaction with both floating and inline images. 
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Placing a floating image after the end of the last paragraph in a page and switching to Flow layout mode will result in missing an image. The image is actually there, but it is not in the viewport.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The start and end annotations are pasted along with the other content, trying to update the styles leads to cycle and StackOverflowException is thrown.

Workaround: Remove the comments from the document in the clipboard:

void radRichTextBox_ActiveDocumentEditorChanged(object sender, Telerik.Windows.Documents.UI.ActiveDocumentEditorChangedEventArgs e)
{
    if (e.DocumentEditorType == Telerik.Windows.Documents.UI.DocumentEditorType.Comment)
    {
        var currentEditor = this.radRichTextBox.ActiveDocumentEditor as RadRichTextBox;
        currentEditor.CommandExecuting += activeEditor_CommandExecuting;
    }
}

void activeEditor_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand)
    {
        RadDocument pastedDocument = ClipboardEx.GetDocument().ToDocument();
        RadDocumentEditor editor = new RadDocumentEditor(pastedDocument);

        editor.DeleteAllComments();

        ClipboardEx.SetDocument(new DocumentFragment(pastedDocument));
    }
}
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The built-in Hyperlink style is not applied to hyperlinks imported from HTML (<a> tag). As a result, the hyperlinks in the document do not have the blue underline.

Workaround: Subscribe for the SetupDocument event of the HtmlDataProvider and set the hyperlinks' style manually.
private void HtmlDataProvider_SetupDocument(object sender, Telerik.Windows.Documents.FormatProviders.SetupDocumentEventArgs e)
{
    StyleDefinition hyperLinkStyle = e.Document.StyleRepository[RadDocumentDefaultStyles.HyperlinkStyleName];
    hyperLinkStyle.SpanProperties.ForeColor = Colors.Green;//Color.FromRgb(0xff, 0x7a, 0xcc);
    var hyperlinks = e.Document.EnumerateChildrenOfType<HyperlinkRangeStart>();

    RadDocumentEditor editor = new RadDocumentEditor(e.Document);
    editor.Document.History.IsEnabled = false;

    foreach (HyperlinkRangeStart hyperlink in hyperlinks)
    {
        e.Document.Selection.SelectAnnotationRange(hyperlink);
        editor.ChangeStyleName(RadDocumentDefaultStyles.HyperlinkStyleName);
    }
    e.Document.Selection.Clear();

    editor.Document.History.IsEnabled = true;
}
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The attribute is currently not supported when importing HTML documents. It can be replaced with the corresponding CSS property applied to each cell of the table.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The formatting(font size) of a line break is changed to the document default after adding a single paragraph before the line break. However, the current span style will be changed to the default formatting after adding several paragraphs with a text before a line break. This results in adding the next paragraphs with document default formatting instead of the current span style. The problem is reproducable only in flow mode.
Note: the document default style formatting should be different from the formatting of the line breaks.
Unplanned
Last Updated: 31 Oct 2018 08:06 by Arthur
The style of the table fallbacks to the default one and when the content of a cell is deleted, the current font family and font size are changed. The scenario is working as expected in versions before R3 2016.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The layout of the document goes to infinite cycle and the whole application freezes when specific combination (it's not exactly identified) of sections and section column breaks is present in the document. Sometimes UI may freeze when the document is trying to render for first time.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
When a document is imported from HTML, we set locally to the span elements Times New Roman as a font family nevertheless it is not declared anywhere. The same applies for the font size as well - it is set to 12.

Workaround: Clear the FontFamily property after import

foreach (Span span in this.radRichTextBox.Document.EnumerateChildrenOfType<Span>())
{
    span.GetStyleProperty(Span.FontFamilyProperty).ClearValue();
    span.GetStyleProperty(Span.FontSizeProperty).ClearValue();
}
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Created by: Todor
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Improve the performance when a document is printed.
Completed
Last Updated: 31 Oct 2018 08:06 by ADMIN
When documents containing images (e.g. few JPEGs with size of 5 MB) are loaded, the memory usage of the process goes up pretty quickly and eventually OutOfMemoryException is thrown.

This is not conventional memory leak, as managed types are not leaking. After some investigation, we believe that GC cannot collect some MemoryStream objects (used for the conversion of the image from Base64 to PNG) from the Large Object Heap fast enough, or LOH becomes fragmented.



Available in LIB version: 2017.1.213
Completed
Last Updated: 31 Oct 2018 08:06 by ADMIN
If an Rtf document is imported and then exported to a Docx file, every single paragraph has associated list when the document is opened in MS Word.

Workaround: Before the document export, clear the ListId property:
if (this.radRichTextBox.Document.Style.ParagraphProperties.ListId == -1)
{
    var property = this.radRichTextBox.Document.Style.ParagraphProperties.GetStyleProperty(Paragraph.ListIdProperty);
    property.ClearValue();
}
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
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.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The case "margin: 0px" is imported only as margin-top. This results in spacing-after property of the paragraph to have an incorrect value.

There is a possible workaround if you have control over the construction of the HTML. Change the "margin: 0px" to "margin: 0px 0px 0px 0px"
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
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());
} 
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Created by: Tanya
Comments: 6
Category: RichTextBox
Type: Bug Report
1
There are missing values for the localization strings in:

RichTextBox: Unmerge Cells in the context menu

RichTextBox: NoColor string in the color picker 
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Rtf document cannot be imported when it has an empty table row which have row spanned cells only.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Enable import/export of read only ranges (protected parts of the document) from/to Rtf documents. 
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Table indent property could not be styled through style as it receives a local value with the insertion of the table
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
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.