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 2014/09/22 17:24:48 UTC
[Bug 57003] New: [patch] Implement FIXED function
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Bug ID: 57003
Summary: [patch] Implement FIXED function
Product: POI
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: POI Overall
Assignee: dev@poi.apache.org
Reporter: patrick.zimmermann@haltec.de
Created attachment 32042
--> https://issues.apache.org/bugzilla/attachment.cgi?id=32042&action=edit
FIXED.diff - the patch
- Add an implementation for the FIXED function including tests.
- Correct a typo.
- Cosmetic: Remove "nonexistent gaps" in function array.
The implementation is currently hard-wired to the US way of formatting numbers,
e.g. 1,234.56 As far as I know this is true for the rest of POI also at the
moment.
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Patrick Zimmermann <pa...@haltec.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #32186|0 |1
is obsolete| |
--- Comment #7 from Patrick Zimmermann <pa...@haltec.de> ---
Created attachment 32194
--> https://issues.apache.org/bugzilla/attachment.cgi?id=32194&action=edit
fixed.diff - patch with XLS based test (unborked)
Recreated the diff. This time only my own changes are included.
As before, the xls file needs to be included manually under
test-data/spreadsheet/FixedFunctionTestCaseData.xls
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Patrick Zimmermann <pa...@haltec.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #5 from Patrick Zimmermann <pa...@haltec.de> ---
The added XLS file shows the expected values in both Excel 2003 and Excel 2013.
I don't have any other Excel Versions available to see. If someone else does,
feel free to have a look.
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Patrick Zimmermann <pa...@haltec.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Dominik Stadler <do...@gmx.at> ---
Thanks, this is applied now via r1637361 in time for 3.11beta3, I reported a
bug for OpenOffice to discuss the difference in required parameters at
https://issues.apache.org/ooo/show_bug.cgi?id=125837
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Patrick Zimmermann <pa...@haltec.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #8 from Patrick Zimmermann <pa...@haltec.de> ---
Corrected patch provided.
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
--- Comment #4 from Patrick Zimmermann <pa...@haltec.de> ---
Created attachment 32187
--> https://issues.apache.org/bugzilla/attachment.cgi?id=32187&action=edit
FixedFunctionTestCaseData.xls
This is the XLS file needed for the patch. Place it in /test-data/spreadsheet/
I viewed this XLS file in Excel 2003 and Excel 2013 and in both it looks
correct.
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #6 from Dominik Stadler <do...@gmx.at> ---
The new patch contains many more changes, looks like changes done to trunk
lately are somehow included in your patch, can you roll it once more with an
up-to-date working copy?
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Patrick Zimmermann <pa...@haltec.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Patrick Zimmermann <pa...@haltec.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #32042|0 |1
is obsolete| |
--- Comment #3 from Patrick Zimmermann <pa...@haltec.de> ---
Created attachment 32186
--> https://issues.apache.org/bugzilla/attachment.cgi?id=32186&action=edit
fixed.diff - patch with XLS based test
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Patrick Zimmermann <pa...@haltec.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Patrick Zimmermann <pa...@haltec.de> ---
I don't know where the information in functionMetadata.txt comes from, but in
Excel 2013 and Excel 2003 the FIXED function takes 1-3 arguments. I took the
best guess I had and changed the FIXED spec in BIFF4 and left the one in BIFF2
untouched. I don't know if this is correct nor how to verify this.
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Patrick Zimmermann <pa...@haltec.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|POI Overall |HSSF
--
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
[Bug 57003] [patch] Implement FIXED function
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57003
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
It would be good to have sample workbooks from those Excel versions to verify
that it works correctly with the different behavior in those versions.
--
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