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
Document convertedDocument = new Document(@“C:\temp\Debug\source.docx”);
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.
I’ve attached test files TestFiles.zip (57.0 KB)