[Bug 46447] Applying style with big font does not update row height attributes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 46447] Applying style with big font does not update row height attributes

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=46447

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INFORMATIONPROVIDED

--- Comment #2 from Dominik Stadler <[hidden email]> ---
As far as I see you are not adjusting the height of the row anywhere and Apache
POI does not try to auto-size row-height based on fonts used in any cell.

So by specifying the row-height via

row.setHeightInPoints((short)30);

before writing the file you should be able to get the expected behavior.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]