Unplanned
Last Updated: 31 Oct 2018 07:53 by Chirag
In MS Word, for example, when you "Save as" PDF, you can choose "options" -> Encrypt the document with a password.
Unplanned
Last Updated: 31 Oct 2018 08:13 by ADMIN
Scroll to the necessary value the vertical offset of the RadRichTextBox if header/footer is not in the viewport, but the editor goes into it.

Workaround: In the current implementation this could probably be achieved by using the ScrollToVerticalOffset method, but the calculations which should be done for the offset value might be not so straight-forward and easy to make. Here is a sample example of this:

this.radRichTextBox.ActiveDocumentEditorChanged += (s, e) =>
{
    if (e.DocumentEditorType == Telerik.Windows.Documents.UI.DocumentEditorType.Footer)
    {
        Section section = this.radRichTextBox.Document.CaretPosition.GetCurrentSectionBox().AssociatedSection;

        double offset = this.radRichTextBox.VerticalOffset + (section.PageSize.Height - section.ActualPageMargin.Bottom) * this.radRichTextBox.ScaleFactor.Height;
        this.radRichTextBox.ScrollToVerticalOffset(offset);
    }
};
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Trying to delete table cell formatting symbol, when track changes are on, will result in marking the text in the cell as deleted.
MS Word does not respect such delete action.
Declined
Last Updated: 12 Apr 2016 16:30 by ADMIN
Created by: Mattiullah
Comments: 1
Category: RichTextBox
Type: Feature Request
0
please add shapes support for radrichtextbox. else support another textbox
Declined
Last Updated: 10 Mar 2023 11:55 by ADMIN
When text is using fonts with defined ligatures (e.g. Calibri, Gabriola, etc.) and contains character groups with defined ligature for it, the text width is measured incorrectly (shorter that it should be). As caret and selection navigates on positions computed by this measuring system, they are not synchronized with what is shown in the UI (which correctly respects the ligatures), and there is slight offset from the real character positions and/or clipping of part of the letters at the end of the line.

Examples of such groups are (depending on the font) "tt", "ff", "ffi".
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
If there is a Span surrounded with annotation ranges in a table cell and the table has conditional table style, the text cannot be selected after import of such document. If the table has normal table style (not a conditional one) everything works as expected. 

- If the annotations are bookmark ranges (start and end), the text cannot be selected with double-click over the text.
- If the text is hyperlink, the text could be selected with double-click, but when the selection is changed through the keyboard arrows, the same issue appears.

The issue appears with Docx documents, in addition to the attached Xaml one, so the issue seems not to be related to the XAML serialization.
Declined
Last Updated: 14 Apr 2016 11:00 by ADMIN
Created by: Thomas
Comments: 2
Category: RichTextBox
Type: Bug Report
0
I have tried to use the RichTextBox, but found that it does not work very well when it comes to measure the text. This results in clipped text and that the caret can be displayed in a different place then expected.
This can easily be seen with a font like Gabriola, which uses complex kerning metrics. Type a text with a lot of "ff" and "fi" and you will soon see that your caret gets out of sync and that text is sometimes clipped.
When I look at the code of RichTextBox it seems to me that it uses its own calculation of text widths and that the this is based on a very simple method using just the kerning information. There is also a hard coded list containing information which fonts that has kerning info and which fonts that are mono spaced. It seems strange to me to have this in a config file since there is a large number of fonts used by the users.
It also seem to look at the Unicode character family in order to determine if ligatures are used or not, which is also quite strange since ligatures can be used for western characters too. The font Gabriola is an example of this. Look at "fi" in a word like "fine".
It can potentially consume a lot of memory since I think that it builds a dictionary of the kerning of all pairs of characters for all fonts that it encounters.
I guess this way of doing things were made for performance, but unfortunately, good performance doesn't help much if it doesn't work.
I am not sure if I should report this as a bug, since it is more of a fatal design issue of the whole control.
Completed
Last Updated: 27 Jun 2016 08:56 by ADMIN
When RadRichTextBox (in Paged layout mode) is in RadTabItem in RadTabControl, ribbon UI buttons and keyboard bindings are not working.

Workaround: Use System's TabControl instead of the RadTabControl.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
With the current implementation, when an image is selected, viewport is scrolled to the corresponding image document position:

- In case of inline image, it moves to the end of the image, so that the image is fully visible.

- In case of floating image, it moves to the position where image is anchored.

The behavior of the MS Word (the view is not scrolled in such cases) is much more convenient.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Created by: Todor
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Allow Span to be hidden when visualizing the document. For example, introduce a Span.IsHidden property.

In MS Word, text is hidden using the Home -> Font -> Font -> Effects -> Hidden. In the RTF format, such text is preceded (marked) with a '\v' tag. In OOXML, the tag is <vanish/>

Note: Hidden text is visualized with dotted underline when formatting symbols are shown. Hidden text is not exported to PDF.
Unplanned
Last Updated: 31 Oct 2018 08:13 by ADMIN
As a user, I'd like to have a way to determine what document elements or layout boxes are in the view port. I may need them in order to:

- Modify something else in the UI depending on them. For example, if a hyperlink or bookmark is scrolled in the viewport, enable buttons outside RichTextBox that execute specific actions.
- Implement formatting changes to the visible elements only in scenarios like a code editor.

Right now, the only way to obtain the visible boxes is to implement a UI layer, however, layers are intended for scenarios in which you'd like to modify the presentation of the control's content and may not be a good idea to utilize them for formatting changes or other actions.
Completed
Last Updated: 18 May 2023 12:12 by ADMIN
Release R2 2023
When trying to export a document containing InlineUIContainer inside a read-only range, the XamlWriter.Save() method that is used in XamlFormatProvider.Serialize() throws StackOverflow exception.

Sample code to reproduce the exception:
InlineUIContainer container = new InlineUIContainer();
Button btn = new Button();
btn.Content = "Sample Button";
btn.Width = 70;
btn.Height = 30;
container.UiElement = btn;

ReadOnlyRangeStart start = new ReadOnlyRangeStart();
ReadOnlyRangeEnd end = new ReadOnlyRangeEnd();
end.PairWithStart(start);
this.rtb.InsertInline(container);
this.rtb.Document.Selection.SelectAll();
this.rtb.InsertAnnotationRange(start, end);

XamlFormatProvider provider = new XamlFormatProvider();

string content = provider.Export(this.rtb.Document);
File.WriteAllText(@"c:\temp\asd.xaml", content);
Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Feature Request
4
Implement a Page Setup dialog which allows the users to modify Margins, Layout, Page Size, etc. of the document. 
Declined
Last Updated: 16 Aug 2016 11:54 by ADMIN
The caret of RadRichTextBox appears only when the text is selected. Once you try to reorder the letters within its content, it appears.

The issue is caused when ScrollViewer control has different than the default style for the corresponding theme and there are set Padding and/or Margin properties. 
Workaround: the template of the Caret should be edited and Style="{x:Null}" should be set on the ScrollViewer which is defined inside the Caret control template.
Completed
Last Updated: 05 Sep 2022 07:07 by ADMIN
Release LIB 2022.2.905 (09 Sep 2022)
When ScaleFactor is set to less that (1,1), this causes the caret to disappear at specific positions in the document. These positions depend on the exact value of the scale factor. The focus is still in the editor and users can type.

Note that if the scale factor changes, the positions where the caret is not visualized will change as well.
Completed
Last Updated: 05 May 2016 10:11 by ADMIN
Unplanned
Last Updated: 31 Oct 2018 08:13 by ADMIN
ADMIN
Created by: Boby
Comments: 0
Category: RichTextBox
Type: Feature Request
0
In MS Word, images can have strikethrough formatting. In RadDocument's model, this is property of Spans only.
Unplanned
Last Updated: 15 May 2019 13:41 by ADMIN
Created by: Patrick
Comments: 2
Category: RichTextBox
Type: Feature Request
1
Actually, when we go to image editor from the RadRichTextBox, we've got the original image's size but not the width and height in the document. When we need to format pictures of a document with equal size, we are using the document's size, not the picture's size.

Thanks 
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
For example, if the document has "Times New Roman" as a default font family, the "TableNormal" style doesn't have set that property and there is a Table element in the header - the value is not properly obtained ("Verdana" is applied, which is the default value for that Span property).
The problem is observed for all default span style properties.

Workaround: Change the table style by setting the necessary properties from the default style. For example for the font family:

object documentFontFamilyPropertyValue = this.radRichTextBox.Document.Style.GetPropertyValue(Span.FontFamilyProperty);
foreach (StyleDefinition tableStyle in this.radRichTextBox.Document.StyleRepository.Where(s => s.Type == StyleType.Table && s.BasedOn == null))
{
    StylePropertyBase styleProperty = tableStyle.GetProperty(Span.FontFamilyProperty);
    if (styleProperty.ValueSource == RadValueSource.Default)
    {
        tableStyle.SetPropertyValue(Span.FontFamilyProperty, documentFontFamilyPropertyValue);
    }
}