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

           Summary: method groupRow does not work
           Product: POI
           Version: 3.2-FINAL
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: regression
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=22855)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22855)
excel file

reroducing step:
1. I'm created src.xls file in Excel and after that 
2. I'm create HSSFWorkbook on the basis of existing excel file
3. group some row
4. I'm open new dst.xls and group row id absent. 

This is bug. src.xls in attach


simple code:
public class Test {

    public static void main(String[] args) throws Exception {

       HSSFWorkbook(StreamUtil.getInputStream("c:\\src.xls"));
       HSSFSheet sheet = wb.getSheetAt(0);
       sheet.groupRow(5,10); // <-- look here
       final FileOutputStream out = new FileOutputStream(new
File("C:\\dst.xls"));
       try {
            wb.write(out);
        } finally {
            out.close();
        }
    }
}


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