Header text cut off in PDF converted from DOCX


When converting a DOCX to PDF, I noticed the header of one page was unexpectedly cut off in the PDF.


var doc = new Document(@".\test2.docx");

In the Aspose output, the text in the header of the 5th page was cut off, while the headers in all other pages are fine.

If I used MS Word ‘save as’ to PDF, all headers are layered correctly.

I’ve attached the test files and a screenshot for your reference. Could you please take a look?

image.png (109.9 KB)

test files.zip (298.7 KB)



Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-18203. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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