This Topic is related to a previous enquriy. There seems to be another problem with rotated text. DOCX to HTML conversion issue with text direction in table's cell using C#
When converting from a Docx to HTML, with a table and the text inside is rotated 90° or 270°. It moves the text to a different location inside the table cell.
We use Aspose word 20.9
var convertedDocument = new Aspose.Words.Document(@“C:\temp\Debug\RotatedTextSource.docx”);
Steps to reproduce:
- Insert a table into word
- Add text to a 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 in a different location in the table cell to the source Docx.
I’ve attached a screenshot and test files. Please take a look.
ExampleDocument.zip (105.8 KB)