Unplanned
Last Updated: 01 Mar 2018 17:11 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Feature Request
2
Implement support for the SET field.
Unplanned
Last Updated: 20 Feb 2018 14:11 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Feature Request
2
The content of a page can be aligned vertically. In DOCX, this is a property of the section and is defined with the vAlign element.

<w:sectPr>
…
<w:vAlign w:val="center" />
</w:sectPr>
Completed
Last Updated: 16 Feb 2018 08:56 by ADMIN
There is not defined behavior of tables without fixed column width in FlowNoWrap. They try to fill the unlimited space, so only tables with fixed width can be used in this mode. The expected behavior might be fitted column width to its content or auto fitted table width to window.

This can cause a hang of the application or unexpected behavior while working with the table (e.g. the thumbs for resizing the column width appear after the column border instead over it).

Workaround: Subscribe to CommandExecuted, get the inserted table and set a fixed width to it.

Available in R1 2018 SP2 release version.
Unplanned
Last Updated: 14 Feb 2018 12:13 by ADMIN
Currently, the underline is always exported as single. Add support for the other types that can be used in RadRichTextBox.
Unplanned
Last Updated: 13 Feb 2018 11:12 by ADMIN
Currently, paragraphs that have applied a list style but their list level is set to -1 or another invalid value, cannot be imported due to an ArgumentOutOfRangeException. According to the specification, the scenario is invalid, though, in MS Word and WordPad, similar values are not respected.
Unplanned
Last Updated: 09 Feb 2018 15:30 by Rick
Pasting HTML content causes RichTextBox to insert a paragraph break, even if the copied content did not include the end of the paragraph.

Steps to reproduce:
1. Copy the first few words in a paragraph from Internet Explorer
2. Paste into the middle of a sentence in the RichTextBox
Expected: The content is pasted inline
Observed: The content is inserted, but a paragraph break is inserted after the content
Completed
Last Updated: 09 Feb 2018 15:20 by ADMIN
When an element refers to a style name of a style that is not present in the document, trying to export it with RtfFormatProvider leads to KeyNotFoundException. A similar document could be produced when copying content from MS Word.

The same case is working properly with the other providers as well as in WordsProcessing (check the related 133762).

Workaround: Check all the styles used in the document and remove the NextStyleName or LinkedStyle values that point to non-existing in the document styles.

Available in LIB Version 2018.1.212.
Unplanned
Last Updated: 06 Feb 2018 13:56 by ADMIN
Pressing Delete at the end of a paragraph leads to merging the content of the current paragraph with the next block. However, when the deleted paragraph contains a single space, the layout stops updating after pressing Delete.

Steps to reproduce:

1. Create two tables with paragraph between them

2. Add a space to the paragraph

3. Press Delete (when the caret is just after the space)

Observed: The layout is not updated after this and further modifications


Workaround: 
Delete the space before deleting the paragraph:

private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is DeleteCommand && this.radRichTextBox.Document.Selection.IsEmpty)
    {
        Paragraph currentParagraph = this.radRichTextBox.Document.CaretPosition.GetCurrentParagraphBox().AssociatedParagraph;
        if (currentParagraph.Inlines.Count==1 && string.IsNullOrWhiteSpace((currentParagraph.Inlines.First as Span).Text))
        {
            this.radRichTextBox.Delete(true);
        }
    }
}

Declined
Last Updated: 24 Jan 2018 12:48 by ADMIN
When cross-reference is added in the header/footer of a document in does not show the available options from the document.

XAML team reviewed this item and noted that it duplicates with another one. Please use the item below in order to track the status of this request.
https://feedback.telerik.com/Project/143/Feedback/Details/210419-richtextbox-add-functionality-to-work-with-cross-references-and-hyperlinks-to-bo
Unplanned
Last Updated: 19 Jan 2018 09:26 by ADMIN
ADMIN
Created by: Anna
Comments: 0
Category: RichTextBox
Type: Feature Request
1
WMF contains both bitmap and vector elements and currently RTB supports only the bitmap parts. We should consider adding support for the vector elements as well. 
Unplanned
Last Updated: 12 Jan 2018 12:56 by ADMIN
When a value is selected in the FontSize combo box using the arrows and Enter, the font size of the selected text is not updated. The same scenario is working as expected when using the font size combo box from the ribbon.
Completed
Last Updated: 11 Jan 2018 07:14 by ADMIN
NullReferenceException is thrown when documents are exported to PDF using PdfFormatProvider in multiple threads.

Available in R1 2018 Official Release Version.
Unplanned
Last Updated: 04 Jan 2018 10:02 by ADMIN
If header/footer containing annotations is set to a document using RadDocumentEditor.ChangeSectionHeader or ChangeSectionFooter methods, the annotations in the body of the header/footer are not paired in the resulting document.

When such document is exported to XAML, NullReferenceException is thrown in the ReindexAnnotationMarkers internal method.

Workaround:
- Do not use RadDocumentEditor to set the footer:
//editor.ChangeSectionFooter(radDocument.Sections.First, HeaderFooterType.Default, new Footer { Body = footerRadDocument });
radDocument.Sections.First.Footers.Default.Body = footerRadDocument;

- Manually "fix" the cloned footer body before the export:
((ISupportInitialize)radDocument.Sections.First.Footers.Default.Body).EndInit();
Unplanned
Last Updated: 29 Dec 2017 14:36 by ADMIN
There is a memory leak related to the referenced elements by style in the style repository from the main document. The referenced elements are from headers and footers.
Completed
Last Updated: 26 Dec 2017 12:27 by ADMIN
NullReferenceException is thrown when some of the parts in the template of SelectionMiniToolBar are missing, e.g. bold button, italic button, etc.; and selected text properties are changed while the selection mini tool bar is still opened, for example by clicking buttons in the ribbon UI.

Available in LIB Version 2017.3.1225.
Unplanned
Last Updated: 21 Dec 2017 12:11 by ADMIN
In MS Word, the users can change the alignment of a table using the buttons related to Paragraph alignment. To do that, the whole table must be selected.

In RadRichTextBox, selecting a Table and pressing one of the buttons, let say for Right alignment, leads to aligning the content of the table and not the table itself.

Workaround:
private void RadRichTextBox_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    if (e.Command is ChangeTextAlignmentCommand &&
        this.radRichTextBox.Document.Selection.Ranges.Count == 1 &&
        this.radRichTextBox.Document.Selection.Ranges.First.RangeType == SelectionRangeType.Table &&
        e.CommandParameter.ToString() != "Justify")
    {
        e.Cancel = true;

        RadDocumentEditor editor = new RadDocumentEditor(this.radRichTextBox.Document);
        RadHorizontalAlignment newAlignment = (RadHorizontalAlignment) Enum.Parse(typeof(RadHorizontalAlignment), e.CommandParameter.ToString());
        editor.ChangeTableHorizontalAlignment(newAlignment);
    }
}

NOTE: With this approach, the toggle buttons in the UI are not updated properly and this should be additionally handled.
Unplanned
Last Updated: 21 Dec 2017 11:38 by ADMIN
When applying a table style, the previously applied local properties to a table or cell should be cleared and the ones defined by the style should be used.

Workaround: Create a new Table and apply the style to it; then copy the properties to the existing table in the document

private void RadRichTextBox_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    if (e.Command is ChangeStyleNameCommand && this.radRichTextBox.Document.CaretPosition.IsPositionInsideTable)
    {
        StyleDefinition style = this.radRichTextBox.Document.StyleRepository.GetValueOrNull(e.CommandParameter.ToString());
        if (style.Type == StyleType.Table)
        {
            Table currentTable = this.radRichTextBox.Document.CaretPosition.GetCurrentTableBox().AssociatedTable;
            currentTable.Borders = new TableBorders(style.TableProperties.Borders);

            Table tableWithStyle = new Table(currentTable.Rows.Count, currentTable.Rows.First.Cells.Count);
            tableWithStyle.Style = this.radRichTextBox.Document.StyleRepository.GetValueOrNull(e.CommandParameter.ToString());

            for (int rowIndex = 0; rowIndex < currentTable.Rows.Count; rowIndex++)
            {
                for (int columnIndex = 0; columnIndex < currentTable.Rows.First.Cells.Count; columnIndex++)
                {
                    TableCell cell = currentTable.Rows.Skip(rowIndex).First().Cells.Skip(columnIndex).First();
                    TableCell cellWithStyle = tableWithStyle.Rows.Skip(rowIndex).First().Cells.Skip(columnIndex).First();

                    cell.Background = cellWithStyle.Background;
                    cell.Borders = cellWithStyle.Borders;
                }
            }

            this.radRichTextBox.UpdateEditorLayout();
            e.Cancel = true;
        }
    }
}
Unplanned
Last Updated: 20 Dec 2017 14:13 by ADMIN
Tapping on a selected region in a document should show the selection mini toolbar. A second tap should clear the selection and then place the cursor on the tapped location, but this does not happen. Subsequent tap should select the entire word and another tap should select the paragraph.
Completed
Last Updated: 18 Dec 2017 12:36 by ADMIN
SelectionMiniToolBar and ImageMiniToolBar stay visible when keys associated with commands bindings are pressed, for example:
- When Delete key is pressed
- When arrow keys are pressed

The expected behavior is mini tool bars to hide on each key press.

Fix available in LIB Version 2017.3.1211.
Unplanned
Last Updated: 14 Dec 2017 15:49 by ADMIN
'Decrement paragraph left indent' command can set negative left indent which makes bullets/numbering of a list clipped. Instead, it shouldn't be executed if the bullets/numbering would become invisible.

Workaround: Cancel the command in CommandExecuting event:

            this.radRichTextBox.CommandExecuting += (sender, e) =>
            {
                if (e.Command == this.radRichTextBox.Commands.DecrementParagraphLeftIndentCommand)
                {
                    if (this.radRichTextBox.Document.Selection.GetSelectedParagraphs().Any(p => p.IsInList && p.LeftIndent <= 24))
                    {
                        e.Cancel = true;
                    }
                }
            };