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

Free Support Forum - aspose.com

Issues converting a docx to pdfa

Hello All

Situation

- We use open XML to create a docx and ASPOSE to convert it into a PDFa

Result

- The images and texts are behaving strangly. Sometimes the images are stretched and overlapping the text areas

- I've attached the docx and pdf to crosscheck

Code snipped

var doc = new Document("22798_2007.docx ");

doc.Save(“22798_2007.pdf”, new PdfSaveOptions {Compliance =
PdfCompliance.PdfA1b, UseHighQualityRendering = true});<?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /><o:p></o:p>

- Could you have a look at the documents and check if you see any issues?

- What's your experience with using open XML and ASPOSE?

Thanks for your support.

Max Bossart

Hi Max,


Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 13.3.0, I managed to reproduce a few issues on my side. I have logged the following three issues in our bug tracking system.

WORDSNET-8199: Image width is not preserved during rendering to PDF
WORDSNET-8200: Image is overlapping text when rendering to PDF
WORDSNET-8201: A blank page is inserted at the middle of PDF

Your request has also been linked to these issues and you will be notified as soon as these are resolved. Sorry for the inconvenience.

Best regards,

Hello Awais

Thanks for your feedback and the priorization.

Can you tell me if there is any workaround?

- Changing the document structure or something similar?

Regards

Max

Hi Max,


Thanks for your inquiry.

Regarding WORDSNET-8201, this problem occurs because the Page Break on 8th page of your input Word document has ‘Keep With Next’ paragraph option checked. To workaround this problem, you can disable this option.

Regarding the other two issues, I have asked any possible workaround(s) from our development team and will update you as soon as I have extra information.

Best regards,

Hi Max,


Thank you for being patient. We have a good news for you that is WORDSNET-8199 and WORDSNET-8200 have now been resolved and their fixes will be included in the next release of Aspose.Words (13.5.0) which is planned to be released by the end of May 2013. We will inform you via this forum thread as soon as the new release of Aspose.Words is published.

PS: The problem (text overlapping the image on 6th page) occurred because the extents of picture (size & position) in the Word document were not correct. While you’re waiting for the fix, you can correct the image extents by doing the following:

1) Open the Word document with Microsoft Word
2) Right click on the image and choose ‘Size and Position’ from the context menu
3) Click OK without changing any parameters.
4) Re-save it and then you can render the document to PDF without this problem.

Best regards,

The issues you have found earlier (filed as WORDSNET-8199;WORDSNET-8200;WORDSNET-8201) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.