Bug 52626 - Cannot Set Default Row Height of Sheet with sheet.defaultRowHeight()
Summary: Cannot Set Default Row Height of Sheet with sheet.defaultRowHeight()
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.7-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 19:05 UTC by fitrah.pro
Modified: 2012-02-12 11:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fitrah.pro 2012-02-08 19:05:23 UTC
I'm using Apache POI 3.7 with Spring MVC 3.1.

I've tried sheet.setDefaultRowHeight((short) 100) and sheet.setDefaultRowHeightInPoints(100)

but that doesn't work.

What exactly are those methods used for?

Thank you.
Comment 1 Yegor Kozlov 2012-02-12 11:18:41 UTC
It was a bug. POI wrote the value of default row height but did not set a special flag that tells Excel to use it: without this flag Excel ignores the overridden height and uses the default. 

The problem should be fixed in r1243240

Yegor