Add support for the <w:sym /> element, e.g.: <w:r> <w:sym w:font="Wingdings" w:char="F0FC"/> </w:r> From the specification: "This element specifies the presence of a symbol character at the current location in the runs content. A symbol character is a special character within a runs content which does not use any of the run fonts specified in the rFonts element (17.3.2.26) (or by the style hierarchy). Instead, this character shall be determined by pulling the character with the hexadecimal value specified in the char attribute from the font specified in the font attribute." Currently such symbols are skipped during DOCX import. Possible workaround: These tags are inserted from MS Word when the Symbol dialog in used. If the document is created with MS Word, the user could insert the symbol using the keyboard, in this case the character is inserted as a normal run.
The 'border' attribute of Html <table /> is imported wrong. When set to 0, a 1px border is rendered.
In the document produced by the mail merge, the date time and numeric formatting applied are not respected and the value is in its default format.
When creating a field with local run properties, those properties are not applied to the field characters and they are left with the default properties.
Updating TOC field or any other CustomCodeField that has a result fragment spread on more than one paragraph will cause an ArgumentException.
In OOXML, table row can define table properties named 'table level property exception' using 'tblPrEx' element. These properties shall be respected by the row instead of the table properties defined on table level. Add similar property in the TableRow model and respect it in the corresponding exports.
Office Open XML defines a mechanism for the storage of content which is not defined by this Office Open XML Standard, for example extensions developed by future software applications. The stored data could be an image.
Add support for shapes with textual content. These are described in OpenXML specification - txbx (Textual contents of shape). Such shape can be added to a Word document using the Insert -> Text -> Text Box The item is closed as duplicate. Please, follow the feature request for shapes at https://feedback.telerik.com/Project/184/Feedback/Details/190116
Enable the customers to work with .dot files.
Text frames are paragraphs of text in a document which are positioned in a separate region or frame in the document and can be positioned with a specific size and position relative to non-frame paragraphs in the current document. More information about it is available in section 22.9.2.18 ST_XAlign (Horizontal Alignment Location) of Open Office XML.
When a paragraph is placed inside a list item (<li> tag), the paragraph properties are not applied to it on import.
Currently empty paragraphs are exported to HTML with one space inside. Such paragraphs are not rendered by the browser. Such paragraph should be exported to HTML with one non-breaking space (@nbsp;) inside to ensure that they are visible in the browser. Workaround: manually add nbsp-s in all empty paragraphs: paragraph.Inlines.AddRun("\u00a0"); Steps to reproduce: - Create document with empty paragraphs: var document = new RadFlowDocument(); Section section = document.Sections.AddSection(); section.Blocks.AddParagraph(); section.Blocks.AddParagraph(); section.Blocks.AddParagraph(); section.Blocks.AddParagraph().Inlines.AddRun("test"); - Export it to HTML. - Load the HTML in a browser. Expected: The word 'test' is preceded by 3 empty rows. Actual: The word 'test' is on the first row.
The alternative text allows setting a description of the information contained inside the table and is useful for people who may not be able to see the content.
Introduce support for East Asia fonts.
TableRow which has defined an only val attribute of the trHeight is imported as a row with auto height. By the specification, this is right, but MS Word takes the val value as row height. Also MS Word exports "At Least" row height with only 'val' set.
Workaround: Iterate through the table rows and set them HeightType to Exact or AtLeast:
foreach (var row in this.document.EnumerateChildrenOfType<TableRow>())
{
row.Height = new TableRowHeight(HeightType.AtLeast, row.Height.Value);
}
Introduce an option to replace a Run text with line breaks and/or new lines or with other document elements such as Table, Image, Paragraph and etc. The following code snippet shows how a Run can be replaced with another inline element: RadFlowDocument document = new RadFlowDocument(); RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document); editor.InsertText("text"); editor.InsertText("REMOVE"); editor.InsertText("text"); foreach (Run run in document.EnumerateChildrenOfType<Run>().ToList()) { if (run.Text == "REMOVE") { Paragraph paragraph = run.Paragraph; int childIndex = paragraph.Inlines.IndexOf(run); ImageInline image = new ImageInline(document); using (Stream stream = File.OpenRead("example_image.png")) { image.Image.ImageSource = new Telerik.Windows.Documents.Media.ImageSource(stream, "png"); } paragraph.Inlines.Insert(childIndex, image); paragraph.Inlines.Remove(run); } }
Implement import and export of bookmarks to HTML format.
At this point, the justify alignment is not supported. Provide the ability to export text with this setting.
This functionality is dependent on PdfProcessing: Provide API for setting the text alignment to Justify
When an image is moved to a location, different than the default one, this setting is not respected due to the missing margin property.
Span or paragraph style properties are not evaluated correctly when the paragraph is inside a table and there are no other local values than the one applied in the table style. This could lead to different rendering of the document when exporting to RTF, PDF and HTML formats.