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

Free Support Forum - aspose.com

Pictures in headers are cut (Aspose 16.11)

Hi,


We have problems with pictures in headers/footers of the document in Aspose version 16.11. They are cut. We didn’t have such problems in Aspose version 16.10 or earlier.
Screenshot with document are attached

Hi Vladyslav,

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • If "Document with pictures in headers.docx" is not your input document, please share your input Word document.
  • Please attach the output Word file that shows the undesired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we'll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click 'Reply' button that will bring you to the 'reply page' and there at the bottom you can include any attachments with that post by clicking the 'Add/Update' button.

Hello Tahir,


We found the cause of issue:
1. Convert Document with pictures in headers.docx to the fixedHTML and navigate to the 6th page.

Then, you will be able to see that on the 6th page, the image in headed is cut. This because of wrong CSS clip Property applied by Aspose. Please see attached screenshots: Screenshot_4.jpg and Screenshot_5.jpg


Thanks,
Sergii.
Hi Sergii,

Thanks for your inquiry. We have tested the scenario using latest version of Aspose.Words for .NET 17.2.0 and have not found the shared issue. Please check the attached image and output document for detail. Please use Aspose.Words for .NET 17.2.0.

Tahir,


I noticed that we have different html in your and my examples. Please see attached screenshots. In your example the positioning for images applies in upper div - Test2.jpg. But in my example the positioning for images applies in the image itself - Test1.jpg. I am using fixedHTML, maybe this is the case for an issue? Also, please see another attached docx file.

Thanks,
Sergii.
Hi Sergii,

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Please attach the output HtmlFixed file that shows the undesired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we'll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click 'Reply' button that will bring you to the 'reply page' and there at the bottom you can include any attachments with that post by clicking the 'Add/Update' button.

Hello Tahir,


we have checked this bug using version 17.2 and issue still exists.
Please find attached screenshot.

Also please find .7z with output html and link to standalone converter:
https://www.dropbox.com/sh/5kiwqz7um88wltl/AADyzlFTVDpxYYCY9jSXMhVFa?dl=0

myDir - location of docx file
docName - docx file name

Thank you,
Best regards,

Olga Kyrychuk
Hi Olga,

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

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-15036) have been fixed in this Aspose.Words for .NET 17.4 update and this Aspose.Words for Java 17.4 update.


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