Saving a docx as pdf give me bad formatting. The docs is created from a template, using mailmerge.
This happens both saving directry as pdf the merged doc, and saving before to docx (showing correct) and then reloading and saving as pdf.
Used aspose.words for .net v 22.2.0.
Attached the docx and output files (OK saved with word, KO saved with Aspose.NET).
bad_identation.zip (94.4 KB)
Code is very simple:
Document doc = new Document("output.docx"); doc.Save("output3.pdf");
Thanks and best regards,