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

# Document layout is changed when saving as docx or pdf

Hello,

We noticed a change in document layout when saving a document as docx or pdf. The margins of the text seem to be different than in the input document. Saving the document as docx makes it look much different. Saving as PDF looks fine at first view, but the text is placed slightly different as well, so it is changed, too, just with less worse result.

Code to reproduce is simple:

            var doc = new Document(@"S:\tmp\doc\in.docx");

doc.Save(@"S:\tmp\doc\out.docx");
doc.Save(@"S:\tmp\doc\out.pdf");


Test file and my generated outputs:
files.zip (124.3 KB)

Kind Regards,
Daniel

@Serraniel Thank you for reporting this problem to us. I have logged them as WORDSNET-23274(Saving to DOCX) and WORDSNET-23275(Rendering to PDF). We ill keep you informed and let you know once the issues are resolved.

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

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