You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2012/02/08 20:05:23 UTC

DO NOT REPLY [Bug 52626] New: Cannot Set Default Row Height of Sheet with sheet.defaultRowHeight()

https://issues.apache.org/bugzilla/show_bug.cgi?id=52626

             Bug #: 52626
           Summary: Cannot Set Default Row Height of Sheet with
                    sheet.defaultRowHeight()
           Product: POI
           Version: 3.7
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: fitrah.pro@gmail.com
    Classification: Unclassified


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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 52626] Cannot Set Default Row Height of Sheet with sheet.defaultRowHeight()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52626

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         OS/Version|                            |All

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org