/OCGs [null 1302 0 R null]
Culture on generating computer: de-DE
The first string is an in-built string and is exported correctly. The other three strings are custom (not part of the in-built collection), are not converted to invariant culture and do not produce correct results when the file is opened in Excel.
If Paragraph has applied style, and this style has associated list, and the paragraph is removed from the list locally, then on import the paragraph is added to the list.
The additional numbering could be removed from the paragraph by changing its style:
foreach (var p in this.document.EnumerateChildrenOfType<Paragraph>())
{
if (p.ListLevel == 0)
{
var style = new Telerik.Windows.Documents.Flow.Model.Styles.Style("NoListStyle", StyleType.Paragraph);
style.ParagraphProperties.CopyPropertiesFrom(this.document.StyleRepository.GetStyle(p.StyleId).ParagraphProperties);
style.ParagraphProperties.ListId.LocalValue = null;
style.ParagraphProperties.ListLevel.LocalValue = null;
p.StyleId = "NoListStyle";
}
}
The tblGrid property should be exported in order to visualize properly the documents in some viewers. For example, LibreOffice doesn't visualize properly tables without specified width.
When the <sectPr> element is not defined as the last child element but appears in different position of the <body> of the document, the content after <sectPr> is not imported. Although some applications handle this case, according to the Office Open XML specification, the sectPr element must be the last element inside the <body>.