I’m having problems getting MS Word numbered list into HTML content.
I have the attached sample program and a sample “Original.doc”.
I’ve observed that if you run the program as-is, the generated HTML does have
However, if you un-comment the commented lines and replace the call convertDocumentToHTML(w_Doc) at line 15 with convertDocumentToHTML(w_TempDoc), the generated HTML does not have
The interesting part though is that if you open the generated JustASection.doc in MS Word, MS Word shows the numbered list. It might as well be that MS Word “manages” to show it as a list, but it isn’t really a list in the output JustASection.doc.
My requirement is that the HTML content I get after saving JustASection.doc as HTML should have
Is it a bug in the importNode API or is something wrong my code?
(1) I’ve also tried doing a w_TempDoc.updateFields(), but in vain.
(2) I don’t remember which version of Aspose I downloaded back in Feb 2010, but the MANIFEST.MF file has the following content:
Specification-Title: Aspose.Words for Java
Implementation-Title: Aspose.Words for Java
Specification-Vendor: Aspose Pty Ltd
Implementation-Vendor: Aspose Pty Ltd
Copyright: Copyright 2003-2009 Aspose Pty Ltd