Unplanned
Last Updated: 27 Jul 2020 13:13 by ADMIN
The list style is not changed according to the surrounding font
Unplanned
Last Updated: 22 Jul 2020 12:35 by ADMIN
The ImagesDeflaterCompressionLevel and ContentsDeflaterCompressionLevel in the PdfFormatProvider's export settings have 0 for default value instead of -1.

Workaround: Change the settings's properties to -1 explicitly.
Unplanned
Last Updated: 20 Jul 2020 08:29 by ADMIN
Additional optional hyphen is inserted between two divs when the text in the first one is wrapped in <p> tag and in the second is not:
<!DOCTYPE html>
<html>
<body>

<div><p>RadDocument</p></div>
<div>Document</div>

</body>
</html>

Unplanned
Last Updated: 07 Jul 2020 14:18 by ADMIN
When using Japanese, the content should not flow after the content border. Instead, it should be moved on the next line.
Unplanned
Last Updated: 06 Jul 2020 06:52 by ADMIN
Default FontFamily and FontSize values (Calibri, 11) are not respected during paste, when the normal style of the source document is modified. Those values are replaced with the default values for RadDocument, which are different (Verdana 12)
Unplanned
Last Updated: 25 Jun 2020 08:09 by ADMIN
RtfFormatProvider does not import fonts when font definition starts with "fnil" tag
Unplanned
Last Updated: 23 Jun 2020 13:03 by ADMIN

The RtfFormatProvider does not take the fonts from the Font.Manager

Workaround: 

Unregister all custom fonts and the use the FontSubstituting event to supply the correct fonts:

private void ImportSettings_FontSubstituting(object sender, Telerik.Windows.Documents.FormatProviders.FontSubstitutingEventArgs e)
{
    var fonts = Wpf.Fonts.Fonts.GetAllAvailableFonts();
    var ff = fonts.Where(x => x.Source == e.OriginalFontName).FirstOrDefault();
    e.SubstitutionFontFamily = ff; 

}

After the import is complete you can register the fonts again.

Unplanned
Last Updated: 09 Jun 2020 14:47 by ADMIN
When importing an HTML file which contains table should align table cell content left and middle. Instead, it aligns them left and top.
Unplanned
Last Updated: 09 Jun 2020 09:12 by ADMIN
There is a problem with the export to HTML. After importing a HTML created outside of RichTextBox you can change the indentations of the list. But if you export it to HTML and then import it again, the indentation position is fixed and only the bullet representation is changing.
Unplanned
Last Updated: 21 May 2020 11:32 by ADMIN

Paste some text inside RadRichTextEditor. If the text has more rows than the currently visible area you will see that the control does not scroll down to the caret position.

Workaround:

 

private void RadRichTextBox_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
    if (e.Command is PasteCommand)
    {             
        Application.DoEvents();

        bool cursorAtDocEnd = this.radRichTextBox.Document.CaretPosition.IsPositionAtDocumentEnd;
        if (cursorAtDocEnd)
        {
            MoveCaretCommand command = new MoveCaretCommand(this.radRichTextBox.RichTextBoxElement);
            command.Execute(MoveCaretDirections.Down);
        }
    }
}

 

Unplanned
Last Updated: 21 May 2020 11:22 by ADMIN
ADMIN
Created by: Tanya
Comments: 2
Category: RichTextBox
Type: Bug Report
4
Tab stops with visible tab leader (dot, hyphen, underscore) are not exported to PDF.

Steps to reproduce:
- Start with empty document
- In Paragraph Properties dialog, choose Tabs
- In Tab dialog, enter Tab stop position = 2, Leader = underscore, and press Set. Press OK
- Add a word, press Tab, add another word
- Export the text to PDF

Expected: the words are separated with underscores in the exported PDF.
Actual: the words are separated with blank space in the exported PDF.
Unplanned
Last Updated: 20 May 2020 07:03 by ADMIN
Dialogs and Context menu are not applied correctly during a runtime theme change.
Unplanned
Last Updated: 19 May 2020 15:13 by ADMIN
When a <br/> element is the last element in a paragraph, it should be skipped.
Unplanned
Last Updated: 12 May 2020 08:54 by ADMIN

Scenario 1:

The <br/> tags after </li> are treated as separate paragraphs and inherit the list styling of the previous paragraphs resulting in duplicate bullets.

Workaround

var paragraphsToRemove = this.radRichTextBox.Document.EnumerateChildrenOfType<Paragraph>().Where(p => p.IsInList && p.Inlines.First() is Break);
foreach (var p in paragraphsToRemove)
{
    p.ListId = -1;
}
 
this.radRichTextBox.UpdateEditorLayout();

Scenario 2:
The <br/> tags added as the last element of <li> are treated as break elements in the content, causing additional new lines in the document.

Workaround:

var paragraphsWithLineBreak = document.EnumerateChildrenOfType<Paragraph>().Where(p => p.IsInList && p.Inlines.Last() is Break);
foreach (var p in paragraphsWithLineBreak)
{
    p.Inlines.Remove(p.Inlines.Last);
}
 
this.richtextbox.Document = document;


Unplanned
Last Updated: 08 May 2020 07:12 by ADMIN
When multiple citations are created in MS Word (TestSave.docx) and then the document is opened in richTextBox and you update fields the update command removes the additional citations (TestSave2.docx)
Unplanned
Last Updated: 09 Apr 2020 14:16 by ADMIN
The document content is not measured properly, leading to incorrect selection ranges.
Unplanned
Last Updated: 20 Mar 2020 05:36 by ADMIN
Bold is not reset when creating a bullet line on a new line 
Unplanned
Last Updated: 17 Mar 2020 13:28 by ADMIN
When copy a modified Heading from Word document and paste it into a not empty RichTextBox the modified styles are not correctly imported.
Unplanned
Last Updated: 10 Mar 2020 12:36 by ADMIN
When GoToBookmark method is called and the current position is before the bookmark, the screen is not repositioned, causing the bookmark sometimes to appear at the last visible row.
Unplanned
Last Updated: 10 Mar 2020 07:23 by ADMIN
Invalid document is generated when track changes is enabled and the InsertFragment method is used