Bug 56497

Summary: OutlineLevel will not shift
Product: POI Reporter: apachebugzilla
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED LATER    
Severity: normal    
Priority: P2    
Version: 3.10-dev   
Target Milestone: ---   
Hardware: PC   
OS: All   
Bug Depends on:    
Bug Blocks: 46742    

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
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"));
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.