Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


For tdf102498 read tdf102948...

Winfried

Van: LibreOffice [mailto:libreoffice-bounces@lists.freedesktop.org] Namens Winfried Donkers
Verzonden: dinsdag 4 oktober 2016 12:51
Aan: libreoffice@lists.freedesktop.org; Eike Rathke (erack@redhat.com)
Onderwerp: Calc HYPGEOMDIST: conditionally changing function opcode when saving to Excel format

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


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.