[gnumeric] some mapping adjustment in ODF import



commit 9750726baa58171ac931c5e59464d5b10755d59f
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Wed Jun 10 23:44:19 2015 -0600

    some mapping adjustment in ODF import
    
    2015-06-10  Andreas J. Guelzow <aguelzow pyrshep ca>
    
        * openoffice-read.c (oo_func_map_in): some mapping adjustment

 plugins/openoffice/ChangeLog         |    4 ++++
 plugins/openoffice/openoffice-read.c |    6 +++++-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index ee8d041..053243f 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,5 +1,9 @@
 2015-06-10  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+       * openoffice-read.c (oo_func_map_in): some mapping adjustment
+
+2015-06-10  Andreas J. Guelzow <aguelzow pyrshep ca>
+
        * openoffice-read.c (oo_func_map_in): Add some new excel function names
        and handle a potential COM.MICROSOFT. prefix.
 
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 29f7357..940672b 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -12924,10 +12924,14 @@ oo_func_map_in (GnmConventions const *convs, Workbook *scope,
 
 /* The following are known to have appeared (usually with a COM.MICROSOFT prefix. */
 
+               { "BETA.DIST","BETA.DIST" }, /* We need this mapping to satisfy */
+                                            /* the COM.MICROSOFT prefix        */
                { "BETA.INV","BETAINV" },
                { "BINOM.DIST","BINOMDIST" },
                { "BINOM.INV","CRITBINOM" },
+               { "CHISQ.DIST","R.PCHISQ" },
                { "CHISQ.DIST.RT","CHIDIST" },
+               { "CHISQ.INV","R.QCHISQ" },
                { "CHISQ.INV.RT","CHIINV" },
                { "CHISQ.TEST","CHITEST" },
                { "CONFIDENCE.NORM","CONFIDENCE" },
@@ -12943,7 +12947,7 @@ oo_func_map_in (GnmConventions const *convs, Workbook *scope,
                { "LOGNORM.DIST","LOGNORMDIST" },
                { "LOGNORM.INV","LOGINV" },
                { "MODE.SNGL","MODE" },
-               { "NEGBINOM.DIST","NEGBINOMDIST" },
+               /* { "NEGBINOM.DIST","NEGBINOMDIST" }, NEGBINOM.DIST has a cum argument*/
                { "NORM.DIST","NORMDIST" },
                { "NORM.INV","NORMINV" },
                { "NORM.S.INV","NORMSINV" },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]