Converting HTML with ordered list to DOCX


#1

Hello,

I am using css to numerate items in the list.
After converting to docx, subitems don’t follow the numeration.
How to fix that?

    Document dstDoc = new Document("c:\teste.2docx.html");
    dstDoc.save("c:\\teste.2docx.docx", SaveFormat.DOCX);

Please see attached the files to reproduce the issue.SubitemTest.zip (6.1 KB)


#2

@cpatricio76

We have tested the scenario using the latest version of Aspose.Words for .NET 19.8 and have not found the shared issue. So, please use Aspose.Words for .NET 19.8. We have attached the output DOCX with this post for your kind reference. output.zip (5.4 KB)


#3

@tahir.manzoor

Lastest version of Aspose.Words for Java is 19.7.
Could you please provide a link to download 19.8 ?
https://repository.aspose.com/repo/com/aspose/aspose-words/ It doesn´t have 19.8.


#4

@cpatricio76

We have noticed that you are using Aspose.Words for Java. We 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 WORDSJAVA-2162. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.


#5

@tahir.manzoor

I have a doubt.
Once the Aspose.Words for Java 19.8 is derived from Aspose.Words .NET, the issue will be fixed as soon as 19.8 will be delivered, right?


#6

@cpatricio76

Yes, your understanding is correct. You can check this case with Aspose.Words for Java 19.8 when it is available. Hopefully, new version of Aspose.Words for Java will be available at the end of this week.


#7

@tahir.manzoor

It is working on Aspose.Words for Java 19.8.
Thank you.


#8

The issues you have found earlier (filed as WORDSJAVA-2162) have been fixed in this Aspose.Words for .NET 19.9 update and this Aspose.Words for Java 19.9 update.