Add support for inset borders for tables and table cells (Inset Line Border in OOXML).
The invalid values should be skipped and the document should be successfully imported.
More information: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt . Note: this element is obsolete, and has the same meaning as <code>.
In localizing your demo code for a RichTextBox I noticed some size mode-related inconsistencies in icon placements in the various sorts of buttons:
In Size=large, generally the icon appears above the button text. In the split button the icon is centered over and partially obscures the text. Unacceptable!
In Size=medium, generally the icon appears to the left of the text. In the Split button it appears below the text. Either is fine but should be consistent.
Also, when Size=medium and icon beside text, in all buttons I would like to see more spacing between the icon and the text; there seems to be virtually none.
After resizing the window, the text stays at the same location instead of moving to the next line. The result is overlapping text.
For example for Input Method Editors like Marathi Indic Input, part of MS Indic Language input tool, downloadable from here: http://www.bhashaindia.com/ilit/Marathi.aspx. Workaround: RadRichTextBox currently exposes customization point for implementing custom IMEs, see Custom IME Support: http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/ime-support#custom-ime-support
When comments panel is closed while the caret is still in the comment body, most document commands (all except typing) continue to execute in the comment body. The bug is regression introduced in 2013 Q3. Workaround: save the document position of the caret before showing the comment and after hiding the comments' panel, apply the saved caret position to the document. Attached is a sample project with the fix.
When table cell text alignment (including horizontal and vertical alignment) is applied to a specific part of the table (e.g. First Row, First Column, etc.), the horizontal alignment is not applied. Only the vertical alignment is applied. If the alignment is applied to the whole table, then everything works as expected.
When a table is copied (without a paragraph before it) and pasted as first element in a Section in RadRichTextBox with Track Changes enabled, accepting all changes throws (handled) InvalidCastException. Changes are not accepted. Workaround: Attach to RadRichTextBox.CommandExecuting event, and add paragraph before the table in the document fragment in the clipboard. private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e) { if (e.Command is Telerik.Windows.Documents.RichTextBoxCommands.PasteCommand) { if (this.radRichTextBox.Document.IsTrackChangesEnabled) { DocumentFragment documentFromClipboard = ClipboardEx.GetDocument(); if (documentFromClipboard != null) { e.Cancel = true; RadDocument documentFormClipboard = documentFromClipboard.ToDocument(); if (documentFormClipboard.EnumerateChildrenOfType<Table>().Count() > 0) { Section firstSection = documentFormClipboard.Sections.FirstOrDefault(); if (firstSection.EnumerateChildrenOfType<Table>().Count() > 0) { if (firstSection.EnumerateChildrenOfType<Table>().FirstOrDefault() != null) { Table table = firstSection.EnumerateChildrenOfType<Table>().FirstOrDefault(); Paragraph paragraph = new Paragraph() { SpacingAfter = 0, SpacingBefore = 0, LineSpacing = 0, FontSize = 1 }; firstSection.Blocks.AddBefore(table, paragraph); RadDocumentEditor editor = new RadDocumentEditor(this.radRichTextBox.Document); DocumentFragment fragment = new DocumentFragment(documentFormClipboard); editor.InsertFragment(fragment); } } } } } } }
In MS Word, decimal tab stops affect paragraph layout in table cells even if tab character is not inserted. The reasoning is that it's hard to insert tab symbol in table cell, as pressing Tab navigates to the next cell (Ctrl+Tab should be used, or default behavior should be configured).
Please look for the same topic in the forum for context. @Todor: Am attaching the wmf file and png file that don't get rendered.
private bool SetLocation(Point location)
{
if (this.HorizontalOffset != location.X || this.VerticalOffset != location.Y)
{
this.HorizontalOffset = location.X;
this.VerticalOffset = location.Y;
return true;
}
// added the following 5 lines to trigger the popup to recalculate it's location
else
{
this.VerticalOffset++;
this.VerticalOffset--;
}
return false;
}
When a list item with applied first line indent is exported to PDF, the bullets are with wrong indent (images attached) Partial workaround: Remove the first line indent and set it as left indent in order to preserve the visualization of the document editor.ChangeParagraphLeftIndent(paragraph.FirstLineIndent + paragraph.LeftIndent); editor.ChangeParagraphFirstLineIndent(0);