poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46186] method groupRow does not work
Date Tue, 11 Nov 2008 16:32:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46186





--- Comment #2 from Dmitry Smirnov <dsmirnov@topsbi.ru>  2008-11-11 08:32:22 PST ---
this is excel file was created in 2003 excel sp3 and save as microsoft excel
97...
Im tested it on poi 3.2 version.
For  poi version 3.0.1 groupRow working fine.

sorry for bad test, this is better
 public static void main(String[] args) throws Exception {
        HSSFWorkbook wb = new HSSFWorkbook(new FileInputStream("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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message