~ubuntu-branches/ubuntu/gutsy/gnumeric/gutsy-201105201701

« back to all changes in this revision

Viewing changes to src/sheet-filter.h

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2007-03-08 16:16:45 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070308161645-uotkhmwywh7dkur4
Tags: 1.7.8-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
 
#ifndef GNUMERIC_FILTER_H
3
 
#define GNUMERIC_FILTER_H
 
2
#ifndef GNM_SHEET_FILTER_H
 
3
#define GNM_SHEET_FILTER_H
4
4
 
5
5
#include "gnumeric.h"
6
6
 
7
7
typedef enum {
8
8
        GNM_FILTER_UNUSED       = -1,
9
9
 
10
 
        GNM_FILTER_OP_EQUAL     = 0,
 
10
        GNM_FILTER_OP_EQUAL     = 0,    /* exact match, no regecxp */
11
11
        GNM_FILTER_OP_GT,
12
12
        GNM_FILTER_OP_LT,
13
13
        GNM_FILTER_OP_GTE,
14
14
        GNM_FILTER_OP_LTE,
15
 
        GNM_FILTER_OP_NOT_EQUAL,
 
15
        GNM_FILTER_OP_NOT_EQUAL,        /* exact match, no regecxp */
16
16
 
17
17
        GNM_FILTER_OP_BLANKS            = 0x20,
18
18
        GNM_FILTER_OP_NON_BLANKS        = 0x21,
 
19
 
19
20
        GNM_FILTER_OP_TOP_N             = 0x30,
20
21
        GNM_FILTER_OP_BOTTOM_N          = 0x31,
21
22
        GNM_FILTER_OP_TOP_N_PERCENT     = 0x32,
23
24
        GNM_FILTER_OP_BOTTOM_MASK       = 0x01,
24
25
        GNM_FILTER_OP_PERCENT_MASK      = 0x02,
25
26
 
26
 
        /* Added in 1.7.5 */
 
27
        /* Added in 1.7.7 */
27
28
        GNM_FILTER_OP_GT_AVERAGE        = 0x40,
28
29
        GNM_FILTER_OP_LT_AVERAGE        = 0x41,
29
30
        GNM_FILTER_OP_WITHIN_STDDEV     = 0x50,
30
31
        GNM_FILTER_OP_OUTSIDE_STDDEV    = 0x51,
31
32
 
 
33
        GNM_FILTER_OP_MATCH             = 0x60, /* regexp */
 
34
        GNM_FILTER_OP_NO_MATCH          = 0x61, /* regexp */
 
35
 
 
36
        GNM_FILTER_OP_TYPE_OP           = 0x00,
 
37
        GNM_FILTER_OP_TYPE_BLANKS       = 0x20,
 
38
        GNM_FILTER_OP_TYPE_BUCKETS      = 0x30,
 
39
        GNM_FILTER_OP_TYPE_AVERAGE      = 0x40,
 
40
        GNM_FILTER_OP_TYPE_STDDEV       = 0x50,
 
41
        GNM_FILTER_OP_TYPE_MATCH        = 0x60,
32
42
        GNM_FILTER_OP_TYPE_MASK         = 0x70
33
43
} GnmFilterOp;
34
44
 
74
84
                                     gboolean is_cols, gboolean is_insert,
75
85
                                     int start, int count);
76
86
 
77
 
#endif /* GNUMERIC_FILTER_H */
 
87
#endif /* GNM_SHEET_FILTER_H */