Free Support Forum - aspose.com

List "Strangeness" (MS Word -> HTML)

Hi,

When we convert the attached MSWord document to HTML using Aspose Word for Java 4.0.1, we noticed that the ordered list is changed from:

  1. Line 1
  2. Line 2
  3. Line3
  4. (no "4."
  5. One
  6. Two
  7. Three
To (with a line break between #3 & #4):

  1. Line 1
  2. Line 2
  3. Line3
  4. One
  5. Two
  6. Three
I’ve set all lists within the document to use the default bullets. Any thoughts on what we’re seeing here and maybe a solution?

Thanks for all of your help!
Dave

Opps, Just realized that I forgot to upload the doc. Please find it attached to this message.

Hi Dave,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Actually, I cannot see any lists with seven items in your document. I can see only list like the following:

New Numbered List

1. Line 1

2. Line 2

3. Line3

4. One

5. Two

6. Three

And the same list I can see in the output HTML. Maybe you attached wrong document.

Best regards.

Right document - Sorry, I realize that my message was confusing. The problem that my client is complaining about is that in the generated HTML, the list isn’t an HTML List (i.e. using

  1. <./li>…
tags). What is generated is somewhat a visual representation, but not actually using the html list tags.

Below are the tags we are seeing, notice that there are no html list tags, only paragraph & span tags.


New Numbered List



1.
     
Item 1



2.
     
Item 2



3.
     
Item 3



 



5.
     
One



6.
     
Two



7.
     
Three


Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Yes, lists are output to HTML like this. This was done to output list numbering better. As you may know, there is no native method in HTML to output multilevel lists.

We will consider adding an option, which controls how lists are exported to HTML. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.

Best regards.

The issues you have found earlier (filed as WORDSNET-1170) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(11)