Hello,
in the attached zip file is a xml based word document. this document has a adress frame in the right side of the document.
when this document is converted to pdf (doc.Save(xmlDoc, SaveFormat.AsposePdf)
the adress frame is place alone in the begining of the document, instead of along side the text in the document. This can be seen in the attached Pdf document.
I couldnât find the Word file in the Zip file that you have
attached. Please check the attachment or share the code snippet that you are
using to generate the word file and then converting it into Pdf file, so that
we can test the issue at our end.
Iâve tested the
scenario and I am able to notice the same issue. We are looking into the
details of this matter and will keep you updated with the status of correction.
We apologize for your inconvenience.
Thanks for your inquiry. I have tested it and found that the issue is in Aspose.Words. Something is wrong in the intermediate xml file generated by Aspose.Words. I am moving this thread to aspose wordsâ forum so that they have the chance to look into it.
Thanks for your request. I managed to reproduce the problem and created new issue #6966 in our defect database. I will notify you as soon as it is fixed.
As a workaround you can refactor your document. I think it better to use table in your case instead frame.
Thank you for considering Aspose. Here is some clarification. Text frames are suggested obsolete in MS Word. They are also quite tricky to handle them well. The better solution is using text boxes instead. Please consider this workaround. Issue #6966 is a duplicate of #1517. Iâll close it and re-link your thread to the original known issue.
Hello
Can the convertion from frame to text box be done using Aspose ?
Or does the workaround with text boxes apply to the creation of the original Word document ?
If itâs Possible to do with Aspose, can you post an example ?
Hi,
Iâve managed to locate the reason for the failed pdf convertion my self.
In my case it seems, when using styles the framePr is not properly read from the style in the w:docPr section of the XML file.
If for example the following is added in the paragraph in the frame, the result is as expected