https://issues.apache.org/bugzilla/show_bug.cgi?id=54422
Bug ID: 54422
Summary: HSSFCellStyle::setWrapText seems to be broken in 3.8
Product: POI
Version: 3.8
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Created attachment 29854
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29854&action=edit
produced with poi-3.6
I recently went from using poi-3.2 to poi-3.8, and the behavior of
HSSFCellSTyle::setWrapText seems to have changed. Excel used to auto-size the
height of the row in order to display all the wrapping text the first time you
opened the xls. Now it doesn't. If you manually resize the row height, the
wrapping text shows up.
I tried backing off to poi-3.6, and setWrapText seems to work there like it
used to in 3.2.
I'm attaching 2 documents - both generated with the same code, but one using
poi-3.6 and one using poi-3.8. The column headers (light gray row 8) wrap in
the 3.6 version, but don't wrap in the 3.8 version.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]