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
Find and Replace document elements with special characters.
The image in the header is not exported to pdf.
Workaround: Use version R1 2022 where this is working.
When a span has nested strikethrough and underline tags applied to it only the inner tag is respected.
This HTML:
results in:
UnderlineStrikethrough
And this HTML:
results in:
UnderlineStrikethrough
As a possible workaround, you can add some text placeholder to the span that needs both "underline" and "strikethrough" and after import set the properties, and remove the placeholder text.
Sample HTML:
after import, execute this: