DOCX to HTML conversion issue with text direction in table's cell using C#

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)

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

Hi @tahir.manzoor

Is there any updates on the fix for this issue?

@ServerSide527

Currently, your issue is pending for analysis and is in the queue. Once we complete the analysis of your issue, we will then be able to provide you an estimate.

The issues you have found earlier (filed as WORDSNET-19526) have been fixed in this Aspose.Words for .NET 20.6 update and this Aspose.Words for Java 20.6 update.