Hi,
I am having some issues with the formatting between spaces and tabs when converting a docx to html. Firstly, when the document is in word, the tabs all line up giving a nice consistent point at which columns of text line up at. After converting to html the second column becomes jagged since all the tabs become the same size instead of lining up at a certain point. Is it possible to get it to perform that same as in word?
The second issue is where we have a table with a single column and several elements of data separated by a single space. After converting to html the spaces are replaced by tabs which cause the data to be unnecessarily spread out, sometimes spilling onto the next row. How do I stop this from happening?
I have attached a sample docx and our test harness to assist.
Thanks in advance,
Chris
Hi Chris,
Thanks for your inquiry.
-
The problem occurs because currently, Aspose.Words outputs tables as a sequence of white spaces. That is why position of tables in the original Word document and output HTML can be different.
We will consider to improve outputting tabs and tab positions in HTML. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved. -
I managed to reproduce the problem on my side. We will let you know once the problem is resolved.
Best regards,
The issues you have found earlier (filed as WORDSNET-3903) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
The issues you have found earlier (filed as WORDSNET-1035) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(17)