We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Formatting issue from DOC word document to PDF

Hi Team,

We are having a formatting issue and need your support.

When we convert some .doc word file to a pdf file, we see that the format is slightly different. You can notice this difference in format in the the last words of some the lines which jump to the next line in the pdf file.
Yo can see in this in the image where the first line of the first paragraph ends with the word school.
image.png (87.0 KB)

But after we convert it to a pdf the word school is second line next line
image.png (79.2 KB)

This happens through out the document and changes the format of the paragraph

If we use the print functionality of Microsoft word the preview of the pdf looks the same as the word document
image.png (76.6 KB)
The resulting pdf has the same format as the word document.
image.png (82.8 KB)

Many of our customers have reported the issue, but also we have seen that if we save the doc file as a docx file and then convert to pdf the issue does not happen. But we would appreciate a more direct solution.
Here is the word doc file used in the screenshots.

Would appreciate your help,
Thank you

@Iker_Bring I was managed to reproduce your issue on my side. I have logged it as WORDSNET-24742 in our defect tracking system. We will keep you informed and let you know once it is resolved.

@Iker_Bring WORDSNET-24742 issue is analyzed by our development team and closed as “Won’t Fix”. The problem appears because “Do full justification the way WordPerfect 6.x for Windows does” compatibility option is used in your document. Aspose.Words do not support this compatibility option and there are no plans for it in future.

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