Hello
We have an issue converting odt file to PDF. The generated pdf file has strange green rectangles on the first page even with the last aspose Word dll.
We convert the odt file using this code :
new Aspose.Words.Document(msSource).Save(msTarget, Aspose.Words.SaveFormat.Pdf);
which the same that we use for Word.
May be there is another way for odt files ??
Here are the orginal odt file, the generated pdf and the correct pdf.
Thanks for your help
Regards
While using the latest version of Aspose.Words i.e. 14.5.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-10298. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.
Hello
In my original message, I can see that issue WORDSNET-10298 is tagged as “won’t fix” .
Does it mean that this bug will not be solved ? It is an issue for us as we do need to convert
some odt files ?
Regards
Regarding WORDSNET-10298, our development team has completed the work on your issue and has come to a conclusion that they won’t be able to implement the fix to your issue. Your issue (WORDSNET-10298) is now closed with ‘Won’t Fix’ resolution.
Your test file contains two problems:
Shapes group is moved from fifth to first page (strange green rectangles) because it has anchor of physical page number:
Please check the specifications at: http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1418756_253892949
19.753 text:anchor-page-number
The text:anchor-page-number attribute specifies the physical page number of an anchor if the drawing object is bound to a page within a text document.
OOXML and Aspose.Words do not support it. Also, OpenOffice and MS Office do not support it. That is why we had to close this issue as “Won’t Fix”.
Shapes group is displayed without text content inside because Aspose.Words does not support import of “draw:rect” element content. We have added support of it.
Best regards,
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.