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 2008/12/30 08:24:03 UTC
DO NOT REPLY [Bug 46447] New: Applying style with big font does not
update row height attributes
https://issues.apache.org/bugzilla/show_bug.cgi?id=46447
Summary: Applying style with big font does not update row height
attributes
Product: POI
Version: 3.5-dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: antti.koskimaki@joinex.com
Created an attachment (id=23062)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23062)
source and excel to re-produce the bug
If I apply style with large font to cell, i.e. "insert large text", the
resulting excel does have row tall enough to contain the text (font) but
row.getHeight() still returns original height value.
This happens even after reading the excel back (so it's consistent, nothing
magic there either :=)
But, after saving the resulted excel with Excel (2003) and reading THAT back to
POI, the height-attributes are set to match the font, as expected.
Tested with latest r729456 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=729456 ) Source and excels to reproduce attached.
--
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 46447] Applying style with big font does not
update row height attributes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46447
--- Comment #1 from Antti Koskimäki <an...@joinex.com> 2009-01-07 01:38:39 PST ---
> resulting excel does have row tall enough to contain the text (font) but
> row.getHeight() still returns original height value.
Another case related to here; if I have cell having "wrap text" option set, and
row was therefore stretched, the getHeight() returns that stretched size, even
after replacing the row contents with something that fits in "single height".
I.e. the height value is not (re-)set here either.
--
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