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.
Exception when there are merge fields in the header/footer and one performs mail merge:
Unable to cast object of type 'Telerik.Windows.Documents.Flow.Model.Header' to type 'Telerik.Windows.Documents.Flow.Model.BlockBase
The attached sample project below demonstrates a possible workaround for PAGE and NUMPAGES fields when exporting to PDF. The demo shows how to generate document from scratch containing PAGE and NUMPAGES fields and export it to PDF.
Find and Replace document elements with special characters.
When inserting a section between two paragraphs the section parent is not correct.
Example:
Paragraph paragraph1 = editor.InsertParagraph(); Paragraph paragraph2 = editor.InsertParagraph(); editor.InsertSection(); Paragraph paragraph3 = editor.InsertParagraph();
Expected:
paragraph1.Parent == paragraph2.Parent
paragraph2.Parent != paragraph3.Parent
Actual:
paragraph1.Parent != paragraph2.Parent
paragraph2.Parent == paragraph3.Parent
When a break element is defined in the middle of a Run, DocxFormatProvider imports it at the end of the same run. For example, the following content: <w:r> <w:t>This is</w:t> <w:br/> <w:t xml:space="preserve"> a simple sentence.</w:t> </w:r> Results in "This is a simple sentence " + break element after it.
Import of Tables with border style needs improvements. Currently, it takes multiple seconds to import table with 100x6 cells no matter if the border style is defined globally or locally. This may be seen when importing the attached files "table with borders.html" and "table single border style.html". Importing the same table without borders is achieved in less than a second which may be seen with the attached "table without borders.html".
Introduce support for min-height. Currently, this property is skipped.
As a possible workaround, the height property of the table row could be applied.If a document has runs with font size larger than the one set in the style of the paragraphs and this document is exported to HTML, the resulting paragraphs overlap.
This is only reproducible when the Run contains an empty string. If the paragraph is empty or the Run contains a space, everything is working correctly. Workaround: Remove all empty runs from the document.