Bug 56497 - OutlineLevel will not shift
Summary: OutlineLevel will not shift
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.10-dev
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Blocks: 46742
  Show dependency tree
Reported: 2014-05-07 14:23 UTC by apachebugzilla
Modified: 2016-04-10 10:07 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description apachebugzilla 2014-05-07 14:23:30 UTC
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

HSSFWorkbook workbook = new HSSFWorkbook(fileSystem);

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

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

workbook.write(new FileOutputStream("outlinelevel-error.xls"));
Comment 1 Dominik Stadler 2015-03-18 20:32:04 UTC
Can you also attach the test-xlsx file to allow us to reproduce this?
Comment 2 Dominik Stadler 2016-04-10 10:07:42 UTC
No response and not enough information to actually work on this, thus resolving this issue for now, please reopen with more information if you are still having this issue.