We are using aspose.words java paid version. Using it for conversion of doc to html but when we try this text inside a table is missing in converted html file. Actually in our case table having a small table inside so that is missing when conversion happens. While converting we using htmlsaveopt for exporting images and fonts as base64 and exportpagemargin also. Please give some solution on how to get rid of this text missing inside a table. Have attached an image of original doc and html where issue occurred.
20201201_170807.jpg (1.9 MB)
20201201_175544.jpg (1.5 MB)
Have you tried the latest 20.11 version of Aspose.Words for Java on your end? In case the problem still remains, please ZIP and upload your input Word document and Aspose.Words generated HTML file showing the undesired behavior here for testing. We will then investigate the issue on our end and provide you more information.
Hi. We are using aspose.words verion 20.6 but when we apply 20.11 then our licence doesn’t validating at all.
I cant share you docs as these are belongs to corporate office. Can you please try to convert a doc has a table inside a table like i shown you in attached images. And please guide us what are the htmlsaveopt should apply while a doc converting to single html file without any dependent folders.
Unfortunately, it is difficult to say what the problem is without the documents. We need your files to be able to reproduce the exact problem on our end. Please note that it is safe to attach files in the forum. If you attach your files here, then only you and Aspose staff members can download them. You can also remove any sensitive information by replacing it with dummy data instead. We will be able to start investigation into your scenario as soon as you provide required document to reproduce.
Please try the following code:
Document doc = new Document(@"C:\Temp\input.docx");
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions(SaveFormat.Html);
htmlSaveOptions.PrettyFormat = true;
htmlSaveOptions.ExportImagesAsBase64 = true;
htmlSaveOptions.ExportFontsAsBase64 = true;
htmlSaveOptions.CssStyleSheetType = CssStyleSheetType.Embedded;
Cant you please try with some sample doc having that scenario. But one more thing our aspose.words java license not validating if the version above 20.8.
I am afraid, we need your specific files to be able to reproduce the exact problem on our end. Secondly, your license file contains a subscription expiry date (open the .lic file with Notepad to view but don’t edit it) that you can check to determine if you are eligible to use 20.11 version or not. The 20.11 version was released on 13th November 2020. If your license is expired then please contact our sales team to renew your subscription. If not, then simply download latest (20.11) version of Aspose.Words for Java and use it.