I am building a word document and initially I inserted tables using the words API. But, I want to add a feature to our application where a our users can create custom tables using HTML and then insert these tables into the word document. The problem is that once these custom tables are inserted using HTML the formatting of the original tables gets messed up (see “no html tables.docx” for original and “with html table.docx” for what happens. I did some research to fix this and came based on this post Table layout is incorrect after inserting HTML into document with InsertHtml using Java. I added “table.setPreferredWidth(PreferredWidth.fromPercent(100))” after I built ever table. The problem is that when I added that it corrupted my tables (see: broken tables after resetting preferred width.docx).
So I am hoping that somebody can help me find a why to fix these problems which would allow me to insert HTML tables and fix the formatting of the original tables without corrupting them.
Thanks,
Josh
Hi Josh,
I can reproduce with the attached code
Thanks, just to clarify that is WORDSNET sounds like it is for the .NET version of words and I am using Java, so just want to make sure it is in the right place. Also do you have any idea of when this might get fixed (even just knowing if I am looking at days, weeks, or months would be helpful)?
Hi Josh,
joshsmoore:
just to clarify that is WORDSNET sounds like it is for the .NET version of words and I am using Java, so just want to make sure it is in the right place.
joshsmoore:
Also do you have any idea of when this might get fixed (even just knowing if I am looking at days, weeks, or months would be helpful)?
If I purchased premium support for Aspose Java Words would it speed up the fixing of this bug? And if so could you give me an ETA on when it would be completed?
Thanks,
Josh
Hi Josh,
The issues you have found earlier (filed as WORDSNET-9736) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.