ASF Bugzilla – Attachment 4165 Details for
Bug 15324
[PATCH] Cell Styles are not applied to formula records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to HSSF Cell to not over-write XF Style Information
HSSFCell.java.diff (text/plain), 1.00 KB, created by
Danny Mui
on 2002-12-13 17:16:54 UTC
(
hide
)
Description:
Patch to HSSF Cell to not over-write XF Style Information
Filename:
MIME Type:
Creator:
Danny Mui
Created:
2002-12-13 17:16:54 UTC
Size:
1.00 KB
patch
obsolete
>Index: src/java/org/apache/poi/hssf/usermodel/HSSFCell.java >=================================================================== >RCS file: /home/cvspublic/jakarta-poi/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java,v >retrieving revision 1.19 >diff -u -r1.19 HSSFCell.java >--- src/java/org/apache/poi/hssf/usermodel/HSSFCell.java 28 Nov 2002 19:32:52 -0000 1.19 >+++ src/java/org/apache/poi/hssf/usermodel/HSSFCell.java 13 Dec 2002 16:55:41 -0000 >@@ -706,7 +706,9 @@ > FormulaRecordAggregate rec = (FormulaRecordAggregate) record; > rec.getFormulaRecord().setOptions(( short ) 2); > rec.getFormulaRecord().setValue(0); >- rec.setXFIndex(( short ) 0x0f); >+ >+ //only set to default if there is no extended format index already set >+ if (rec.getXFIndex() == (short)0) rec.setXFIndex(( short ) 0x0f); > FormulaParser fp = new FormulaParser(formula+";",book); > fp.parse(); > Ptg[] ptg = fp.getRPNPtg();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15324
:
4144
|
4164
| 4165