Add ability to select last paragraph symbol in Section and TableCell. Currently there is no document position after the last paragraph symbol in a document/section/table cell. This means it cannot be part of a DocumentSelection.
Font weight, size and other current editing style properties are not preserved when document layout is performed, for example in the following cases: - the document is in web layout mode and the controls is resized - scroll bar changes its visibility. Steps to reproduce: - Set RadRichTextBox to Web layout mode. - Type a word, select it and make it bold. - Press enter and type a word - Repeat the previous step until RadRichTextBox height is reached and scrollbar appear. - Type a word. Expected: The last word is bold. Actual: The last word is not bold.
Applying negative LeftIndent or FirstLineIndent of a paragraph in web layout mode will visualize the paragraph to the left of RadRichTextBox boundaries.
When Charformat is used as a general switch the formatting of the first letter of the field name is applied to the whole result.
Export the image rotation properties to HTML with the CSS transform property (https://developer.mozilla.org/en-US/docs/Web/CSS/transform ).
We could export the image absolute position as CSS style, for example: ".img{position: absolute;left: 100px;top: 150px;}" Additionally we could export the left, top, right and bottom margins of the image, as we already have this information in the model.
var image =
this
.radRichTextBox.Document.EnumerateChildrenOfType<ImageInline>().First();
if
(image.Height == 10 && image.ImageSource.DecodePixelHeight == 0)
{
image.Height = image.ImageSource.Height;
}
Currently, caret continues to blink even when typing or navigation is in progress (e.g. arrow key is pressed and held), which is inconvenient for the end users. Instead, the caret should stop blinking during these operations, similarly to industry standard apps like MS Word and OpenOffice.
"Based on style" combobox is not filled with all linked and paragraph styles in the following cases: - "Modify style" dialog doesn't display the possible "based on" styles in the combobox when editing linked styles. - "Create new style from formatting" dialog doesn't display the possible "based on" styles in the combo box during creation of new linked style. Steps to reproduce: Variant 1: - Click Home -> Styles -> Change Styles in the ribbon UI. - Expand the the drop down of Heading 1 button and click 'Modify' Expected: 'Style based on' combobox contains all paragraph and linked styles. Actual: 'Style based on' combobox is empty. ------------------- Variant 2: - Click Home -> Styles -> Change Styles in the ribbon UI. - Click 'New' button. - Choose 'Style type:' Linked in the combobox. Expected: 'Style based on' combobox contains all paragraph and linked styles. Actual: 'Style based on' combobox is empty.
In MS Word, there is an option to show gridlines over the pages of the document. Implement such an option in RadRichTextBox as well.
Workaround: The attached project offers a simple custom implementation.