Check all possible shorthand properties, e.g. border-[left/top/right/bottom]. Also check CSS properties like border-[left/top/right/bottom]-[color/style/width].
When HTML attribute is set and the same property is set in CSS, the element should be styled according to the CSS values, because they have higher priority. For example: <table border="5" style="border: 1px solid black">
The memory leak is reproducible when the main thread is too busy to dispose objects used by RadDocument internally. Thus, the RadDocument instances are kept alive in the memory. Workaround: When the scenario includes back processing of documents: Start different threads responsible to perform the required operations and use the following code: Dispatcher dispatcher = Dispatcher.CurrentDispatcher; dispatcher.BeginInvokeShutdown(DispatcherPriority.Normal); Dispatcher.Run(); anywhere in the background thread processing the RadDocument.
Add support for = (Formula) fields, including the scenario with referencing other table cells. More information: https://support.office.com/en-us/article/Field-codes-Formula-field-32d5c9de-3516-4ec3-80ed-d1fc2b5bc21d?ui=en-US&rs=en-US&ad=US
The width of the image is inherited from the table element it is in when it doesn't have a specific width set to it. Sample HTML reproducing the problem is: <html> <body> <table style="width: 700px;"> <tbody> <tr> <td> <img src="" /> </td> </tr> </tbody> </table> </body> </html> Instead, the real size of the image should be used. Workaround: Subscribe to LoadImageFromUri and set size to the image. settings.LoadImageFromUrl += (s, arg) => { if (arg.Url != null) { string extension = Path.GetExtension(arg.Url); Uri uri = new Uri(arg.Url, UriKind.RelativeOrAbsolute); System.Net.WebClient oWebClient = new System.Net.WebClient(); using (MemoryStream stream = new MemoryStream()) { oWebClient.OpenRead(uri).CopyTo(stream); arg.ImageElement.Init(stream, extension); arg.ImageElement.Size = new Size(164, 80); e.Handled = true; } } };
When image watermark is set and its height is configured through DocumentWatermarkSettings.ImageSettings.Size.Height, the height is not respected. Steps to reproduce: 1. Insert a Watermark with size var watermarkSettings = new DocumentWatermarkSettings() { Type = WatermarkType.ImageWatermark, ImageSettings = new WatermarkImageSettings() { UriSource = new Uri("c:\1.jpg"), Size = new Size(200, 300) } }; Expected: The image is with the specified width and height. Actual: The height is different.
This property allows the user to set the transparency of the image watermark. In the OOXML, the property is written using the 'blacklevel' attribute of the image.
Add support for math type equations.
When floating image is all of the following: - is anchored to paragraph inside a table with negative offset. - is with text wrapping "Behind text" or "In front of text" it should be positioned outside of the table. Currently the image is always positioned fully inside the table.
RadRichTextBox.TabIndex property does not have effect. The TabIndex will remain at maximum and RadRichTextBox will be last in the tab order. Moreover, setting RadRichTextBox.IsTabStop to false also doesn't have effect. The issue is showstopper for the cases where RadRichTextBox is used along with other controls.
Performance of scrolling and editing is diminished when Track changes are enabled. Issue seems to be related to RevisionsToolTipLayer and occurs when more than a couple of paragraphs are inserted in the same revision. Workaround: remove the UI layer responsible for tooltips of revisions. [CustomUILayersBuilder] public class CustomLayersBuilder : UILayersBuilder { protected override void BuildUILayersOverride(IUILayerContainer uiLayerContainer) { uiLayerContainer.UILayers.Remove(DefaultUILayers.ToolTipLayer); } }
Currently saving to an .rtf document with footnotes strips the footnotes and endnotes.
When a table is preceded by several paragraphs last of which is empty, selecting more than one of those paragraphs and the table excludes the empty paragraph from the selection. Steps to reproduce: - Add paragraph with text, followed by empty paragraph, followed by table 2x2. - Select from the beginning of the document to the last table cell (Note that the paragraph after the table is not included in the selection) - Copy the content and paste it in the document below. - The empty paragraph is not present in the pasted content, as it is excluded from the selection.
When an IncludePictureField is selected, the ImageMiniToolBar should be shown.
When mouse is over selected text, the cursor should be changed to Arrow.
Provide functionality allowing a document to be thumbnailed. The customers should be able to export a document to an image.
Add support for character spacing. Implement UI in the FontPropertiesDialog allowing to adjust the spacing between characters The property in controlled by w:spacing element in OOXML specification.
Add API for switching the flow direction of RadRichTextBox dialogs and mini tool bars. Currently this could be changed manually using the FlowDirection property, for example: (this.radRichTextBox.ImageEditorDialog as ImageEditorDialog).FlowDirection = FlowDirection.RightToLeft; but the result could be unexpected for Right-to-left.
The scenario is very common, as in MS Word the option Table -> Layout -> Cell Size -> AutoFit -> "AutoFit Contents" changes the PreferredWidth of the table and its columns to Auto. Also the tables imported from HTML have these properties set by default. Scenarios: - Auto-sized table occupies minimal space. - All auto-sized columns in a table (table itself could be, or could be not, auto-sized) should always be sized proportionally to their content length. Currently, such columns are sized equally in the case when there is enough space for all of the content, which is unexpected. (also see the attached images for the scenario with fixed-width table + auto-sized columns).