https://issues.apache.org/bugzilla/show_bug.cgi?id=48018

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |3.5-FINAL

--- Comment #4 from [email protected] 2009-10-20 11:48:56 UTC ---
There is another related bug in Class ListTables which causes discrepancy in
the way MS Word displays multiple lists in a document. Most of the time Word
replaces bullets of 2nd and subsequent lists in the document, with bullets
retrieved from the first LSTF/LVLF records. 

This seems to occur due to re-ordering of ListData(LSTF/LVLF) when it is read
into a HashMap (_listMap) in ListTables constructor method and then written
back to the word document in method writeListDataTo(). 

Even though the  MS Word (97-2007) Binary File format specification (Paragraph
List Formatting, page 48, point 3) states that the LSTF record will be
identified with "List id" from corresponding LFO record by searching, this
doesn't seem to happen inside Word, still there is some dependency on the
original order of LSTF/LVLF records.  

This is fixed in the attached ListTables.java source with the use of a
ArrayList (_ListArr) in the Constructor and writeListDataTo methods in place of
the HashMap (_ListMap).

Also attached is the changed ListLevel.java (method toByteArray()) source for
fixing the Character/Paragraph formatting errors.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to