Free Support Forum -

Vertical Text is rendered incorrectly after DOCX to HTML conversion using .NET


The reason for this issue is to ask if there is any configuration to be able to normalize the height of the combined rows when we convert a doc to html, I attach the document with the specific case.
If not exist that configuration will be able to see the resolution in a next version?


issue.PNG (6.0 KB)
original document.PNG (5.0 KB)


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output HTML file that shows the undesired behavior.
  • Please attach the expected output HTML file that shows the desired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

We cannot provide the console application due to privacy policies but we can provide the corresponding lines of code in which you can see a simple call to the conversion method, the parameters used in the options variable are detailed below:

    "ExportPageSetup" : "false",
    "ExportPageMargins" : "false",
    "ExportTocPageNumbers" : "false",
    "ExportImagesAsBase64" : "true",
    "ExportFontsAsBase64" : "true",
    "ExportHeadersFootersMode" : "1",
    "ExportRelativeFontSize" : "true",
    "ExportTextBoxAsSvg" : "true",
    "ExportTextInputFormFieldAsText" : "true",
    "PrettyFormat" : "true"

rowspan (291.5 KB)

The version of the library is aspose-words-20.9-jdk17


Please note that Aspose.Words mimics the behavior of MS Word. If you convert your document to HTML using MS Word, the vertical text become horizontal. Please check the attached image for detail. ms word.png (37.1 KB)

However, we have logged a new feature request as WORDSNET-21755 in our issue tracking system to keep the vertical text alignment in output HTML. We will check the possibility of implementation of this feature and inform you via this forum thread once there is an update available on it.

The behavior is not the same, ms word turns horizontal the text but aspose maintains the vertical alignment, the issue is related with de size of the field because its smaller than the content and that provoke an exceed of width in the colummn.

We attach the documents relationated to this comment.

Regards. (23.7 KB)


Please note that HTML and Word file formats are quite different. So, sometimes it is hard to achieve 100% fidelity.

The HTML output generated by Aspose.Words and MS Word is not not same as MS Word render the DOCX. We will inform you via this forum thread once there is an update available on your issue.


seeing the issue title i need to fix that, the issue occurs in Java not in .Net, have you change that and apply the changes to the ticket WORDSNET-21755?

Best regards.


Please note that the latest version of Aspose.Words for Java is completely auto-ported from .NET, i.e. we do not write code for Aspose.Words for Java; it is generated out automatically from C# code of Aspose.Words for .NET. In your case, the issue which was logged with WORDSNET prefix, would be auto resolved for Java variant of Aspose.Words. Your problem (WORDSNET-21755) will be fixed in ‘Aspose.Words for Java’ as soon as the linked issue will get resolved.


we understand the situation and we will wait the resolution of the current ticket when this occurs.

Best regards.


We will be sure to inform you via this forum thread once this feature is implement. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.