Fails to display text in table after Conversion from Word Document to HTML File using C#

Hi,

We found another bug to do with tables and is related to a previous enquiries. DOCX to HTML conversion issue with text direction in table’s cell using C#

First the text position are still in the wrong place when merging and has not been fixed.

The new issue is when we have a table and merge a few cells togther, then add text to the merged cell then convert it to HTML. The text is missing. We tried in both chrome and IE

code:
Document convertedDocument = new Document(@“C:\temp\Debug\source.docx”);
convertedDocument.Save(@“C:\temp\Debug\output1.htm”);

Steps to reproduce:

  • Insert a table into word
  • merge three cells together
  • Add text to that cell
  • Rotate the text by using Text Direction in the header under Table Tools → Layout
  • Rotate the text 90° or 270°/( the Text direction is pointing up or down)
  • Convert the document to HTML

You should see in the output HTML, the text is not appearing for the cells that are merge and for the normal cells they still change position.

I’ve attached a screenshot and test files. Please take a look.

Thanks,

I’ve attached test files TestFiles.zip (57.0 KB)

@ServerSide527

We are investigating this issue and will get back to you soon.

@ServerSide527

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-21554. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.