Paragraph Alignment is Changed after DOCX to PDF Conversion using Java

Hi, my customer has a problem, when converting a docx to pdf.
The Word “Betreffzeile” is nearly at the left in the word-document. Converting it to pdf results in centered line. Attached are both documents. We are using aspose-words 20.6
Hope you can help, regards GerdAdressblock2.docx.pdf (42.8 KB)
Adressblock2.docx (25.4 KB)

@GerdRein

The output PDF looks fine to use. Please note that Aspose.Words mimics the behavior of MS Word. If you convert your document to PDF using MS Word, you will get the same output.

Could you please share some more detail about your issue along with screenshot of issue? We will then provide you more information on it.

Sorry, I uploaded not the right files. Here are the right files:
Adressblock3.docx.pdf (39.0 KB)
Adressblock3.docx (25.3 KB)

And here the output, when I printToPdf from Msword:
adressblock3-msword.pdf (213.6 KB)

The files, I uploaded before include a workaround to this problem: If I add some space to the paragraph “Betreffzeile” (e.g. 2pt before), then everything works fine.

@GerdRein

We have tested the scenario and 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-22492. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.