We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Avoid Table Content Truncation during Converting Word to HTML & HTML to Word Round-Trip using C# .NET

HI Team,
Table content last column hide while converting Html to Word using aspose.word .net

steps:
1.Convert word document to HTML
2.Convert HTML to Word document

’Below sample code we are using:

Aspose.Words.License license1 = new Aspose.Words.License();
license1.SetLicense(“Aspose.Total.lic”);
Aspose.Words.Document doc1 = new Aspose.Words.Document(@“D:\FileTest\Dev-1428.docx”);
Aspose.Words.Saving.HtmlSaveOptions options = new Aspose.Words.Saving.HtmlSaveOptions(Aspose.Words.SaveFormat.Html);
options.ExportImagesAsBase64 = true;
options.ExportHeadersFootersMode = Aspose.Words.Saving.ExportHeadersFootersMode.None;
doc1.Save(@“D:\FileTest\Dev-1428html.html”, options);
Aspose.Words.Document doc2 = new Aspose.Words.Document(@“D:\FileTest\Dev-1428html.html”);
doc2.Save(@“D:\FileTest\Dev1428HTMLTOWord.docx”, Aspose.Words.SaveFormat.Docx);

issue screen shot:
Word issue doc.png (101.9 KB)

Sample Document:
Sample doc.zip (28.9 KB)

@thiru1711,

We have managed to reproduce this issue on our end and logged it with ID WORDSNET-20695. Your forum thread has been linked to this issue and you will be notified as soon as it will get resolved in future. Sorry for the inconvenience.

hi @awais.hafeez,
Any update above issue,

@thiru1711,

I am afraid, WORDSNET-20695 is currently pending for analysis and is in the queue. We will inform you via this forum thread as soon as this issue will get resolved in future or any more updates may be available. We apologize for any inconvenience.