version 20.5 Java
When converting the attached document to PDF some images is covering the footer information. Is this a know issue and are there any fixes in later versions?
In the uploaded files I’ve attached the word document and the result converting it with Word and Aspose.The results differs, in the Word conversion the images is placed as in the word document, but when converting it with aspose some images tends to end up over the page footers.
I’ve also added the Java code snippet I used to convert the document with Aspose. The code snippet is executed from a junit test class.
Files to reproduce the issue.zip (4.8 MB)
Thanks in advance
Regards,
Nils
@nilspersson Thank you for reporting the problem to us. The problem is also reproducible using the latest version of Aspose.Words. For a sake of correction it has been logged as WORDSNET-24050. We will keep you informed and let you know once it is resolved.
Thanks @alexey.noskov! Sorry this was supposed to be Words for Java. Do you have update on this topic? Any understanding what’s causing it? We have not seen this before so just curios if it could be linked to the word format or how the document is constructed. We now phase this issue in some production environments and are keen on finding a way forward.
Thanks in advance!
@nilspersson
Aspose.Words for .NET is the main project, Java version is built by auto porting C# code to Java. So all fixes made in .NET version are automatically ported to Java version.
We have completed analysis of this issue. The issue occurs because Aspose.Words table row breaking logic does not handle cells with wrapped shapes correctly.
In column 2 of the problematic row there is only one empty paragraph with a wrapped shape anchor. The line itself fits into the available space, it is the wrapped floater (which is located below the line) that does not fit and causes MS Word to push the row. If the floater is removed (or made not wrapped), MS Word also breaks the problematic row.
The issue is currently postponed and is not yet scheduled for development. As a workaround you can remove floater from the problematic row.
Hi Alexey,
Thanks for the response. Can I interpret that the product does not support floating objects inside a table currently since they have this risk of creating a faulty row break?
We have a few customers in the med-tech sector that face issues in quality and compliance due to this issues. The workaround would for them require to edit thousands of word documents. Is there anyway that we can escalate this to be on the roadmap for a future release? What would the process look like in that case?
Regards,
Nils Persson
@nilspersson
Yes, you can interpret the answer like this. Aspose.Words does not fully support table row breaking logic if cells contain wrapped shapes.
You can try escalating this issue through paid support. But you should note that MS Word table row breaking logic is not documented and not always obvious, so we cannot promise you a fast fix of this issue.