Bug 46119 - fix shift rows
Summary: fix shift rows
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.5-dev
Hardware: PC Mac OS X 10.4
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-29 08:02 UTC by Gisella Bronzetti
Modified: 2008-10-30 02:43 UTC (History)
0 users



Attachments
patch shift rows (5.52 KB, patch)
2008-10-29 08:02 UTC, Gisella Bronzetti
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gisella Bronzetti 2008-10-29 08:02:38 UTC
Created attachment 22787 [details]
patch shift rows

this patch fix the method XSSFSheet.shiftRows()
the problem was that on shifting rows  cells reference remaining unchanged.

before patch

- <row r="2">
- <c r="C6" t="n">
  <v>3.0</v> 
  </c>
  </row>
- <row r="3">
- <c r="D7" t="n">
  <v>4.0</v> 
  </c>
  </row>



after patch

- <row r="2" spans="3:5">
- <c r="C2">
  <v>3</v> 
  </c>
  </row>
- <row r="3" spans="3:5">
- <c r="D3">
  <v>4</v> 
  </c>
  </row>
Comment 1 Yegor Kozlov 2008-10-30 02:43:29 UTC
Applied in r709126

Thanks,
Yegor