Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Characters defined with their unicode codes in HTML won't be imported as symbols, but instead of their codes, for example:

<span>&#26009;</span>
<span>&#36039;</span>

Some of these characters are often used, for example for umlauts (Ä, Ö, Ü) and CJK characters.

The hexadecimal code for Zero Width Space character is split into two parts:
<span>&#x200b;</span> results in Ȁb;
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
ADMIN
Created by: Todor
Comments: 0
Category: RichTextBox
Type: Feature Request
0
Introduce the support for the border property (with type, size, color...) for a span elements.

In OOXML, this looks like:

<w:r>
  <w:rPr>
    <w:rFonts w:eastAsia="Times New Roman"/>
    <w:sz w:val="45"/>
    <w:szCs w:val="45"/>
    <w:bdr w:val="single" w:sz="12" w:space="0" w:color="000000" w:frame="1"/>
  </w:rPr>
  <w:t>Div with border for Telerik</w:t>
</w:r>
<w:r>
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Creating deep copy using CreateDeepCopy method of an empty Section (without paragraphs or with one empty paragraph) adds empty string Span which leads to ArgumentOutOfRangeException. 

Workaround: clear the empty string Spans before measuring:

foreach (Span span in sectionClone.EnumerateChildrenOfType<Span>().ToList())
{
    if (string.IsNullOrEmpty(span.Text))
    {
        ((Paragraph)span.Parent).Inlines.Remove(span);
    }
}




Steps to reproduce:

1. Execute the following code-snippet:

RadDocument document = new RadDocument();
Section section = new Section();
section.Blocks.Add(new Paragraph());
document.Sections.Add(section);

RadDocument documentClone = (RadDocument)document.CreateDeepCopy();
Section sectionClone = (Section)section.CreateDeepCopy();
documentClone.Sections.Clear();
documentClone.Sections.Add(sectionClone);
documentClone.EnsureDocumentMeasuredAndArranged();

2. Set the documentClone to a RadRichTextBox instance to visualize it.

3. Try to click in the document.

Observe: ArgumentOutOfRangeException is thrown.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Inserting DocumentFragment into RadDocument leads to loss of style definitions from the fragment which names are the same as some of the styles in the RadDocument's style repository. This causes loss of formatting of the text in the document fragment.

For example if in the fragment there is a style with style name "Style_1" and in the RadDocument exists a style with the same name, that style will be omitted during the insertion of the fragment into the document.

Workaround: Styles in the fragment could be renamed to avoid naming conflict with styles in the main document. For example, add the following code snippet right after the importing of the document and before the creation of the fragment:

                string styleSuffix = "_1";
                foreach (var importedStyle in rtfDoc.StyleRepository)
                {
                    importedStyle.Name = string.Concat(importedStyle.Name, styleSuffix);
                }

This will automatically change the styles of all elements with the renamed styles.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Loading/editing document with large lists (with 1561 or more items) throws IndexOutOfRangeException when incorrectly tries to convert numbering to letters.

Workaround: Change list type to one which does not include letter NumberingFormat in any of its levels, for example Numbered Hierarchical or custom one.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Pressing Tab/Shift+Tab when caret position is at the beginning of a paragraph should change current paragraph FirstLineIndent instead of LeftIndent.

First line indent should be changed with Document.DefaultTabWidth step.

Workaround (using PreviewEditorKeyDown): in the attached file.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
This scenario is not valid according to the HTML specification, but exception shouldn't be thrown.

Steps to reproduce:
- Try to import the following HTML:

<html>
<body>
<p style="font-size = 9px">Simple Test</p>
</body>
</html>

Observed: A NullReferenceException is thrown.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Provide the ability to enter custom values (not listed in the drop-down) in Font size combo box.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Introduce an option to change the character which follows the list level symbol. By default this is a Tab character, however, they can be the following:
- Tab
- Space
- Nothing (none following character)

In OOXML, this is described using the 'suff' element.
In MS Word, this setting could be changed by selecting the bullet/number of the list item -> Context Menu -> Adjust List Indents -> Follow number with:.
Completed
Last Updated: 31 Oct 2018 08:11 by ADMIN
When underline style is already applied to a text, the style cannot be changed from the Font Properties dialog.

Workaround: Use the dropdown button in the ribbon.

Steps to reproduce:
- Select text.
- Open FontPropertiesDialog (or use ribbonButton for Undelinetext) and set underline style "Line".
- Submit the dialog.
- Right-click on the selected text again.
- Choose "Font..." from the context menu to open FontProperties dialog again.
- Change the underline style.
- Submit the dialog.
Expected: The selected underline style should be applied.
Actual: There is no applied underline style on the text.

Fix available in R3 2018 SP1 release.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
If style is applied to some document elements and this style is deleted through the Change Styles dialog, currently visible document elements (paragraph, spans) are not affected and retain the formatting as if the style is still applied.

Steps to reproduce:
- Add some text
- Select the text and create new style with distinguishable formatting, e.g. red forecolor. The style is applied to the selected text.
- Delete the style
Expected: the paragraph gets Normal style, and its forecolor becomes the default black one.
Actual: the Paragraph has still the custom paragraph styling
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When a RadDocument is created programmatically and its layout mode is set to Flow, the export to PDF doesn't respect section properties.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
The tab is inserted from the wrong side when the paragraph is with RTL direction.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
Currently, exporting to HTML serializes the containers by exporting them to XAML and adding them in a comment in the HTML. There are InlineUIContainerImporting and InlineUIContainerImported events, but the Handled property of the importing event arguments is read-only. This prevents users from creating their own serialization/deserialization logic.

Steps to reproduce:
1. Subscribe to events of the format provider:

            HtmlFormatProvider prov = DocumentFormatProvidersManager.GetProviderByExtension("html") as HtmlFormatProvider;
            prov.ExportSettings.InlineUIContainerExporting += ExportSettings_InlineUIContainerExporting;
            prov.ImportSettings.InlineUIContainerImporting += ImportSettings_InlineUIContainerImporting;
            prov.ImportSettings.InlineUIContainerImported += ImportSettings_InlineUIContainerImported;

2. Insert inline UI container in the document and export it to HTML. InlineUIContainerExporting event is raised and you can set the CommentContent property of the args to custom value.
3. Import the document back in the control

Expected: It should be possible to set the Handled property of the importing event args to true, and assign your desired value to the InlineUIContainer property.
Actual: InlineUIContainerImporting event is raised, but all properties of the event arguments have private setters.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When document is Web layout mode (LayoutMode = Flow), table with LayoutMode = AutoFit is exported to RTF with wrong column widths. MS Word visualize such table splashed, and WordPad extremely large.

Workaround: Performing layout on the document in Paged layout mode seems to fix the issue:

            var doc = new XamlFormatProvider().Import(file);
            doc.LayoutMode = Telerik.Windows.Documents.Model.DocumentLayoutMode.Paged;
            doc.EnsureDocumentMeasuredAndArranged();
            doc.LayoutMode = Telerik.Windows.Documents.Model.DocumentLayoutMode.Flow;
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When the 'font-family' CSS attribute's value contains Chinese, Japanese or Korean symbols, the HTML parser could not parse them correctly, and the applied font families are skipped. As a result, the text is imported with Arial font.

Steps to reproduce:
- Register the following font "HGS明朝B":
FontFamily myCustomFont = new FontFamily("HGS明朝B");
FontManager.RegisterFont(myCustomFont);
- Write some text and apply the font over the text.
- Export to HTML.
- Import the HTML.

Expected: the text should be with the HGS明朝B font family.
Actual: the text is with Arial font family
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Feature Request
0
When a document with table of contents is exported to HTML, the fore color, alignment of the page numbers are not respected; the tab leader is missing and the entries are underlined as hyperlinks.
Declined
Last Updated: 31 Oct 2018 08:11 by ADMIN
The problem occurs in specific situations when a list depends on a style that hasn't been added to the fragment in the clipboard yet.

Workaround: Replace the fragment in the clipboard with one that is already "fixed", as in the attached MainWindow.cs.txt
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
In MS Word the user could add different effects to the selected text. This could be done through Font -> Text Effects... button.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
In HTML the width of the columns in a table could be set as proportions of the remaining free space using width="3*"

Example:
<TABLE>
<COLGROUP>
   <COL width="30">
<COLGROUP>
   <COL width="30">
   <COL width="0*">
   <COL width="2*">
<COLGROUP>
   <COL width="1*">
   <COL width="3*">
<THEAD>
<TR><TD> ...
...rows...
</TABLE>



First the user agent will allot 30 pixels to columns one and two. Then, the minimal space required for the third column will be reserved. The remaining horizontal space will be divided into six equal portions (since 2* + 1* + 3* = 6 portions). Column four (2*) will receive two of these portions, column five (1*) will receive one, and column six (3*) will receive three.

Note: This is not supported even by MS Word.