Hi,
When converting a DOCX with some charts to PDF using Aspose.Words, I noticed contents supposed to be in the 2nd page was rendered to the first page.
Code:
var doc = new Document(@".\test.docx");
doc.LayoutOptions.TextShaperFactory = Aspose.Words.Shaping.HarfBuzz.HarfBuzzTextShaperFactory.Instance;
doc.Save(@".\test.pdf");
I’ve attached the sample test files and a screenshot for your reference. You can see that the content supposed to be in page 2 was rendered in page 1, also caused some overlapping at the footer.
Note that this is one of the cases I encountered, similar set up (table + section break + table) seemed to easily cause such problems. I was able to see a couple more such cases in my client’s report.
test.zip (194.4 KB)
image.png (163.4 KB)
Could you please help us take a look?
Thanks,