Bug 46446

Summary: shiftRows does not move row heights
Product: POI Reporter: Antti Koskimäki <antti.koskimaki>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: 3.5-dev   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: source and excel to re-produce the 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);


Yegor