Bug 15324 - [PATCH] Cell Styles are not applied to formula records
Summary: [PATCH] Cell Styles are not applied to formula records
Status: VERIFIED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-12 18:15 UTC by Danny Mui
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Test Java Main program to generate a styled formula cell (1.81 KB, text/plain)
2002-12-12 18:16 UTC, Danny Mui
Details
unit test to validate this bug (3.21 KB, patch)
2002-12-13 17:16 UTC, Danny Mui
Details | Diff
Patch to HSSF Cell to not over-write XF Style Information (1.00 KB, patch)
2002-12-13 17:16 UTC, Danny Mui
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Mui 2002-12-12 18:15:27 UTC
Cells that contain formulas do not render their associated styles.  I'm
currently looking through FormulaRecord.serialize but can't make heads or tails
out of it yet.

Any ideas?
Comment 1 Danny Mui 2002-12-12 18:16:25 UTC
Created attachment 4144 [details]
Test Java Main program to generate a styled formula cell
Comment 2 Danny Mui 2002-12-13 17:16:27 UTC
Created attachment 4164 [details]
unit test to validate this bug
Comment 3 Danny Mui 2002-12-13 17:16:54 UTC
Created attachment 4165 [details]
Patch to HSSF Cell to not over-write XF Style Information
Comment 4 Avik Sengupta 2002-12-21 07:13:12 UTC
Assigned to myself, will commit. 
Comment 5 Avik Sengupta 2002-12-25 17:35:59 UTC
Applied. Thanks Danny -- for the patch, for bugging us to get it applied and for
the unit test. 
Comment 6 Danny Mui 2002-12-26 21:20:04 UTC
Looks good, thanks.