Text and elements moved to previous page in PDF

Hi,

When converting this .docx to .pdf, I’ve found that on pages 3 and 5 some text and elements are moved to the previous page compared to Word’s output. I’m attaching the comparison in image1.png and image2.png for your convenience. We can also see there’s an empty section on page 5 that is being ignored.

Can you please have a look?

Code:

var document = new Document(@".\test.docx");
document.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
document.Save(@".\out.pdf");

image1.png (126.8 KB)
image2.png (117.4 KB)
test.zip (197.9 KB)

Thank you,

@ServerSide527 Thank you for reporting this problem to us. For a sake of correction it has been logged as WORDSNET-23690. We will keep you informed and let you know once it is resolved.

The issues you have found earlier (filed as WORDSNET-23690) have been fixed in this Aspose.Words for .NET 23.5 update also available on NuGet.