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

           Summary: Defect in - org.apache.poi.hwpf.model.ListLevel
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Please check List level processing in Class
org.apache.poi.hwpf.model.ListLevel.

I think it needs to be changed to copy character formatting (_grpprlChpx) first
followed by paragraph formatting(_grpprlPapx).

/* Change to copy _grpprlChpx first and then _grpprlPapx */
System.arraycopy(buf, offset, _grpprlChpx, 0, _cbGrpprlChpx);
offset += _cbGrpprlChpx;

System.arraycopy(buf, offset, _grpprlPapx, 0, _cbGrpprlPapx);
offset += _cbGrpprlPapx;

/* Change Ends */

Looks like this bug is carried over from the MS Word (97-2007) Binary File
format specification (page 47-48).

-- 
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