~ubuntu-branches/ubuntu/quantal/gnumeric/quantal

« back to all changes in this revision

Viewing changes to src/parse-util.h

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2009-06-07 11:10:47 UTC
  • mfrom: (1.1.19 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090607111047-l3rtbzfjxvmi1kx0
Tags: 1.9.8-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Promoted gnumeric-doc to Recommends in gnumeric package for help to be
    installed automatically
  - gnumeric-gtk is a transitional package
  - gnumeric conflicts with gnumeric-gtk << 1.8.3-3ubuntu1
  - call initltool-update in po*
  - remove psiconv support (psiconv is in universe):
    o debian/control: remove B-D on libpsiconv-dev
    o debian/rules: don't pass --with-psiconv to ./configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
char const *col_name  (int col);
11
11
char const *cols_name (int start_col, int end_col);
12
 
char const *col_parse (char const *str, int *res, unsigned char *relative);
 
12
char const *col_parse (char const *str, GnmSheetSize const *ss,
 
13
                       int *res, unsigned char *relative);
13
14
 
14
15
char const *row_name  (int row);
15
16
char const *rows_name (int start_row, int end_col);
16
 
char const *row_parse (char const *str, int *res, unsigned char *relative);
 
17
char const *row_parse (char const *str, GnmSheetSize const *ss,
 
18
                       int *res, unsigned char *relative);
17
19
 
18
20
char const *cellpos_as_string   (GnmCellPos const *pos);
19
 
char const *cellpos_parse       (char const *cell_str, GnmCellPos *res,
20
 
                                 gboolean strict);
 
21
char const *cellpos_parse       (char const *cell_str, GnmSheetSize const *ss,
 
22
                                 GnmCellPos *res, gboolean strict);
21
23
void        cellref_as_string   (GnmConventionsOut *out,
22
24
                                 GnmCellRef const *cell_ref,
23
25
                                 gboolean no_sheetname);
24
 
char const *cellref_parse       (GnmCellRef *out, char const *in,
25
 
                                 GnmCellPos const *pos);
 
26
char const *cellref_parse       (GnmCellRef *out, GnmSheetSize const *ss,
 
27
                                 char const *in, GnmCellPos const *pos);
26
28
 
27
29
void        rangeref_as_string  (GnmConventionsOut *out,
28
30
                                 GnmRangeRef const *ref);
31
33
                                 GnmConventions const *convs);
32
34
                                 /* GError **err); */
33
35
 
34
 
char const *sheetref_parse      (char const *start, Sheet **sheet,
35
 
                                 Workbook const *wb, gboolean allow_3d);
36
 
 
37
36
char const *cell_coord_name     (int col, int row);
38
37
char const *cell_name           (GnmCell const *cell);
39
38
 
154
153
                                        Workbook *scope,
155
154
                                        char const *name,
156
155
                                        GnmExprList *args);
 
156
                Workbook *(*external_wb) (GnmConventions const *convs,
 
157
                                         Workbook *ref_wb,
 
158
                                         char const *unquoted_name);
157
159
        } input;
158
160
 
159
161
/* Export specific functions ----------------------------------- */
160
162
        struct {
 
163
                int decimal_digits;
 
164
 
161
165
                gboolean translated;
162
166
 
163
167
                void (*string)    (GnmConventionsOut *out,
191
195
                                      GnmConventions const *convs,
192
196
                                      GnmParseError *error);
193
197
 
194
 
GnmExprTop const *gnm_expr_parse_str_simple (char const *str,
195
 
                                             GnmParsePos const *pp);
196
 
 
197
198
/* Is this string potentially the start of an expression */
198
199
char const *gnm_expr_char_start_p (char const *c);
199
200
 
201
202
                                      char const *text,
202
203
                                      GnmValue **val,
203
204
                                      GnmExprTop const **texpr,
204
 
                                      GOFormat *current_format,
 
205
                                      GOFormat const *current_format,
205
206
                                      GODateConventions const *date_conv);
206
207
 
207
208
GString *gnm_expr_conv_quote (GnmConventions const *conv, char const *str);