You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/05/07 16:23:30 UTC

[Bug 56497] New: OutlineLevel will not shift

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

            Bug ID: 56497
           Summary: OutlineLevel will not shift
           Product: POI
           Version: 3.10-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
          Assignee: dev@poi.apache.org
          Reporter: apachebugzilla@lucanet.com

If you have a Row with OutlineLevel and you want to shift Rows, the
Rows will be shift, but not the OutlineLevel:

POIFSFileSystem fileSystem = new POIFSFileSystem(new
FileInputStream("outlinelevel.xls"));

HSSFWorkbook workbook = new HSSFWorkbook(fileSystem);

HSSFSheet sheet = workbook.getSheet("Sheet1");

sheet.shiftRows(1, sheet.getLastRowNum(), 1);

workbook.write(new FileOutputStream("outlinelevel-error.xls"));

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