Hello,
We have encountered two problems with word documents containing tables.
First, If an html document that contains an especially wide table is converted to a word document, the table extend beyond the border of the document. Is there a way around this issue?
Second, we encountered a document containing a table that is converted incorrectly into html, I have attached this document.
Could you please also attach your output HTML document here? I converted your document to HTML and the table seems to look fine. I would like to compare with your output.
Hi
Thank you for additional information. The problem occurs because table in your source document is floating. Aspose.Words tries to set position of floating table as it is specified in MS Word.
You can easily workaround the problem by avoiding using floating tables in your document.
Best regards,
I don’t quite understand what is a “floating table”
But, I did try to change the Text wrapping in the table properties from ‘Around’ to 'None’
And it pretty helped. the location of the table is not perfect but yet sufficient.
A different trouble i’m having with the table is that the left border gets cut.
Is there anything that i’m doing wrong?
Will you release an update for a “floating table” or that i will have to change the text wrapping
each and every time?
Hi
Thanks for your request. You correctly understood. Table is floating if its wrap type is around. After changing it to none it becomes inline.
I managed to reproduce the problem with left border. Your request has been linked to the appropriate issue. We will let you know once it is resolved.
Regarding the floating tables, I logged this problem to our defect database. We will keep you informed and let you know once it is fixed. But I would recommend you to avoid using floating tables.
Best regards,
Thanks for the inquiry. I’m sorry to share with you that this issue is not yet resolved. This issue is pending for analysis. We will keep you informed and let you know once it is fixed.