Hi Eike,
ODFF1.2 has a HYPGEOMDIST function with 4 mandatory and an optional 5th argument (cumulative),
Excel has a HYPGEOMDIST with 4 mandatory arguments and a HYPGEOM.DIST with 5 mandatory arguments.
All 3 are the same (apart from (non)cumulative calculation).
To fix tdf102498, and to simplify the current code, I want to use one
ScInterpreter::ScHypGeomDist() function for all, and
-save in ODF as HYPGEOMDIST;
-save in Excel as HYPGEOMDIST in case of 4 arguments and HYPGEOM.DIST in case of 5 arguments.
That means I have to change the opcode ocHypGeomDist to ocHypGeomDist_MS when saving to Excel
format.
I remember that this can be done somewhere, but I forgot in which source file/function that is to
take place.
Do you know or have a hint?
Winfried
Context
- Calc HYPGEOMDIST: conditionally changing function opcode when saving to Excel format · Winfried Donkers
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.