Unplanned
Last Updated: 03 Apr 2024 13:15 by ADMIN

If FontSize is not explicitly set in the style, the value displayed in the StyleFormattingPropertiesDialog is 16, which is from the const DocumentDefaultSettings.DEFAULT_FONT_SIZE.

But when rendering document, the actural font size is from the   StyleDefinition "defaultDocumentStyle".

So if the FontSize in the  StyleDefinition "defaultDocumentStyle" is set to a value other than 16 (I set it to a value of 12 in the attached document), the FontSize displayed in the StyleFormattingPropertiesDialog is incorrect.

Unplanned
Last Updated: 18 Mar 2024 09:18 by ADMIN
The table preferred width value set to Auto or in percents is ignored and is always exported with fixed value.

Steps to reproduce:
Create a table with two columns in RadRichTextBox.
Set the table preferred width to auto.
Set the table cell preferred width for both columns to 50%.
Export to Docx format.

Observed result: the table has preferred width as fixed value 6.62 inches. The columns have the correct width.
Expected result: the table preferred width to be auto.
Unplanned
Last Updated: 13 Mar 2024 11:56 by Emin Sadigov
Track change for Insert - Hyperlink is not marked as change properly.
Unplanned
Last Updated: 11 Mar 2024 14:07 by ADMIN
After switching to a different program and then back, this window is not at the top
Unplanned
Last Updated: 01 Mar 2024 07:13 by ADMIN

Working with PasteOptionsPopup may cause an exception in LayoutElement.SetParent. Very difficult to reproduce, having no consistent steps. Maybe it is related to undo of paste command, but there are no other clues aside from this.

   bei Telerik.Windows.Documents.Layout.LayoutElement.SetParent(LayoutElement newParent)
   bei Telerik.Windows.Documents.Layout.LayoutBox.EnsureParent()
   bei Telerik.Windows.Documents.Layout.LayoutBox.get_Parent()
   bei Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.get_IsEndOfCell()
   bei Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.GetFormattingSymbolVisual()
   bei Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.get_Text()
   bei Telerik.Windows.Documents.SpanBoxPositionHandler.get_Location()
   bei Telerik.Windows.Documents.UI.DocumentWebLayoutPresenter.GetViewPointFromDocumentPosition(DocumentPosition position)
   bei Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.CalculateLocation()
   bei Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.OnOwnerLayoutUpdated(Object sender, EventArgs e)
   bei System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
   bei System.Windows.ContextLayoutManager.UpdateLayout()
   bei System.Windows.UIElement.UpdateLayout()
Unplanned
Last Updated: 29 Feb 2024 13:37 by Øyvind

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;

Unplanned
Last Updated: 28 Feb 2024 07:11 by ADMIN
As shown in the attached video.
Unplanned
Last Updated: 27 Feb 2024 07:13 by Jose Ramon
The caret is in wrong place when editing HTML with line breaks and using the Web Layout.
Unplanned
Last Updated: 22 Feb 2024 13:08 by ADMIN
Created by: Caesar
Comments: 1
Category: RichTextBox
Type: Bug Report
0
As shown in the attached video.
Unplanned
Last Updated: 22 Feb 2024 08:51 by ADMIN
When you have a single PlainTextControl in the document you can insert another content controls in it. 
Unplanned
Last Updated: 21 Feb 2024 12:11 by Caesar
Pasting text inside a ContentControl is disabled if it is locked.
Unplanned
Last Updated: 21 Feb 2024 09:19 by Caesar
Pasting text with multiple paragraphs into a plain text content control is still possible when IsMultiline is set to false. 
Unplanned
Last Updated: 31 Jan 2024 14:43 by Stenly
Clicking at the end of the line does not select the last word of the line, but selects the first word of the next line.
Unplanned
Last Updated: 15 Jan 2024 13:46 by Abhinav
In Narrator scan mode RichTextBox is not accessible.
Unplanned
Last Updated: 15 Jan 2024 08:09 by Martin Ivanov
The character used to measure the non breaking spaces (the degree sign) is causing the space to render with a width bigger than the standard space. 
Unplanned
Last Updated: 11 Jan 2024 13:19 by Stenly
NullReferenceException is raised when trying to display a document.
Unplanned
Last Updated: 11 Jan 2024 10:56 by Ronald

PdfFormatProvider creates an invalid PDF document. 

Workaround:

RadDocument radDocument = null;
XamlFormatProvider xamlformatProvider = new XamlFormatProvider();
using (FileStream inputStream = new FileStream("input.xaml", FileMode.Open))
{
    Console.WriteLine("reading input file");
    radDocument = xamlformatProvider.Import(inputStream);
}

var provider = new Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider();
var bytes = provider.Export(radDocument);

var provider2 = new Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider();
var flowDoc = provider2.Import(bytes);

var provider3 = new Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider();

using (Stream output = File.OpenWrite(@"output.pdf"))
{
    Console.WriteLine("writing output file");
    provider3.Export(flowDoc, output);
}

Console.WriteLine("done...");
Console.ReadKey();

 

Unplanned
Last Updated: 10 Jan 2024 13:27 by Luke

The paste options popup stays visible when the window is deactivated

Workaround: 

private void MainWindow_Deactivated(object sender, EventArgs e)
{
    var popup = radRichTextBox.PasteOptionsPopup as PasteOptionsPopup;
    popup.Close();
}
Unplanned
Last Updated: 08 Jan 2024 12:27 by Swapnil
Selection is not correct after calling the MeasureAndArrangeInDefaultSize and using the flow layout mode. This happens when the document is already set to the RichTextBox.
Unplanned
Last Updated: 04 Jan 2024 16:18 by ADMIN

Please see the attached video.

I've managed to fix this by altering the source code of  method ParagraphLayoutBox.MeasureOverride and hope it doesn't cause other problems.