1 /* 2 * analysis-auto-expression.h: 3 * 4 * Author: 5 * Andreas J. Guelzow <aguelzow@pyrshep.ca> 6 * 7 * (C) Copyright 2009 by Andreas J. Guelzow <aguelzow@pyrshep.ca> 8 * 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, see <https://www.gnu.org/licenses/>. 22 */ 23 24 25 #ifndef ANALYSIS_AUTO_EXPRESSION_H 26 #define ANALYSIS_AUTO_EXPRESSION_H 27 28 #include <gnumeric.h> 29 #include <numbers.h> 30 #include <tools/dao.h> 31 #include <tools/tools.h> 32 #include <tools/analysis-tools.h> 33 #include <sheet.h> 34 35 typedef struct { 36 analysis_tools_data_generic_t base; 37 gboolean multiple; 38 gboolean below; 39 GnmFunc *func; 40 } analysis_tools_data_auto_expression_t; 41 42 gboolean analysis_tool_auto_expression_engine (GOCmdContext *gcc, 43 data_analysis_output_t *dao, 44 gpointer specs, 45 analysis_tool_engine_t selector, 46 gpointer result); 47 48 #endif 49