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.
There are 27 types of border styles in the Open XML specification and they are implemented in RadFlowDocument. Only borders None and Single are supported when exporting to PDF, all others are treated as None and stripped.
Updates:
Please subscribe to the tasks, so we can notify you when their status changes.
All character formatting (font size, font family, etc.) applied to empty cell is lost when: - document with such formatting applied is exported to RTF - document with such formatting is imported from RTF.
TC field has special tag - \tc, which is currently not supported and is skipped during import. Because of this, the argument of the field, which is hidden in MS Word, becomes part of the document content.
In MS Word, decimal tab stops affect paragraph layout in table cells even if tab character is not present. 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). When decimal tab stop is present for a Paragraph, and the paragraph is in a TableCell, the content of the paragraph should be aligned to the decimal tab stop (analogically to the case when the Paragraph is not in a table cell and it contains tab character.
Introduce Run.IsHidden property or similar, which hides the text in the document. In MS Word, text is hidden using the Home -> Font -> Font -> Effects -> Hidden. In the Rtf format, such text is preceded (marked) with a '\v' tag. In OOXML, the tag is <vanish/>. The display: none; style from HTML is mapped to hidden text when document is converted to DOCX. Hidden text is visualized with dotted underline when formatting symbols are shown. Hidden text is not exported to PDF.
The paragraphs in RadFlowDocument can have paragraph borders. These borders are not exported when exporting the document to PDF.
When list level items are empty - <li></li> - they are not imported as empty paragraphs in list. The expected is that a Paragraph, associated to a list to be imported.