Bug 46446 - shiftRows does not move row heights
Summary: shiftRows does not move row heights
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.5-dev
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2008-12-29 22:48 UTC by Antti Koskimäki
Modified: 2009-01-06 10:12 UTC (History)
0 users

source and excel to re-produce the bug (7.32 KB, application/zip)
2008-12-29 22:48 UTC, Antti Koskimäki

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koskimäki 2008-12-29 22:48:15 UTC
Created attachment 23061 [details]
source and excel to re-produce the bug

When inserting rows with shiftRows, the row height does not get copied along the rows. This leads to having row contents and row heights out of sync.

See the attached excel, and source to re-produce.
Comment 1 Antti Koskimäki 2008-12-29 22:50:20 UTC
Tested with latest r729456 
Comment 2 Yegor Kozlov 2009-01-06 10:12:04 UTC
We have an overridden shiftRows for that:
    public void shiftRows( int startRow, int endRow, int n, boolean copyRowHeight, boolean resetOriginalRowHeight);