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


#1

Hi,

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.

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
  • 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.

testdoc.zip (54.7 KB)
image.PNG (69.2 KB)


#2

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

We apologize for your inconvenience.