Rotating text in a table are appearing in wrong direction in HTM converting from DOCX



When converting from a DOCX with a table and text inside that is rotated 270° to HTM. The text is rotated wrong in the HTM file.

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

Steps to reproduce:

  • Insert a table into word
  • Add text to the first cell
  • Rotate the text by using Text Direction in the header under Table Tools ->; Layout
  • Rotate the text 270°/ the Text direction is pointing up
  • Convert the document to HTM

You should see in the output HTM document it is now facing another direction compart to the word document.

I have attached a screenshot and test files. Could you please take a look?

Thanks. (54.7 KB)
image.PNG (69.2 KB)



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-19526. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.