1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_sheet_FilterOperator2_idl__
25#define __com_sun_star_sheet_FilterOperator2_idl__
26
27//=============================================================================
28
29module com {  module sun {  module star {  module sheet {
30
31//=============================================================================
32
33/** specifies the type of a single condition in a filter descriptor.
34
35    <p>This constants group extends the <type>FilterOperator</type> enum by
36    additional filter operators.</p>
37
38    @since OpenOffice 3.2
39 */
40published constants FilterOperator2
41{
42
43    //-------------------------------------------------------------------------
44
45    /** selects empty entries.
46     */
47    const long EMPTY = 0;
48
49    //-------------------------------------------------------------------------
50
51    /** selects non-empty entries.
52     */
53    const long NOT_EMPTY = 1;
54
55    //-------------------------------------------------------------------------
56
57    /** value has to be equal to the specified value.
58     */
59    const long EQUAL = 2;
60
61    //-------------------------------------------------------------------------
62
63    /** value must not be equal to the specified value.
64     */
65    const long NOT_EQUAL = 3;
66
67    //-------------------------------------------------------------------------
68
69    /** value has to be greater than the specified value.
70     */
71    const long GREATER = 4;
72
73    //-------------------------------------------------------------------------
74
75    /** value has to be greater than or equal to the specified value.
76     */
77    const long GREATER_EQUAL = 5;
78
79    //-------------------------------------------------------------------------
80
81    /** value has to be less than the specified value.
82     */
83    const long LESS = 6;
84
85    //-------------------------------------------------------------------------
86
87    /** value has to be less than or equal to the specified value.
88     */
89    const long LESS_EQUAL = 7;
90
91    //-------------------------------------------------------------------------
92
93    /** selects a specified number of entries with the greatest values.
94     */
95    const long TOP_VALUES = 8;
96
97    //-------------------------------------------------------------------------
98
99    /** selects a specified percentage of entries with the greatest values.
100     */
101    const long TOP_PERCENT = 9;
102
103    //-------------------------------------------------------------------------
104
105    /** selects a specified number of entries with the lowest values.
106     */
107    const long BOTTOM_VALUES = 10;
108
109    //-------------------------------------------------------------------------
110
111    /** selects a specified percentage of entries with the lowest values.
112     */
113    const long BOTTOM_PERCENT = 11;
114
115    //-------------------------------------------------------------------------
116
117    /** selects contains entries.
118     */
119    const long CONTAINS = 12;
120
121    //-------------------------------------------------------------------------
122
123    /** selects does-not-contain entries.
124     */
125    const long DOES_NOT_CONTAIN = 13;
126
127    //-------------------------------------------------------------------------
128
129    /** selects begins-with entries.
130     */
131    const long BEGINS_WITH = 14;
132
133    //-------------------------------------------------------------------------
134
135    /** selects does-not-begin-with entries.
136     */
137    const long DOES_NOT_BEGIN_WITH = 15;
138    //-------------------------------------------------------------------------
139
140    /** selects ends-with entries.
141     */
142    const long ENDS_WITH = 16;
143
144    //-------------------------------------------------------------------------
145
146    /** selects does-not-end-with entries.
147     */
148    const long DOES_NOT_END_WITH = 17;
149
150};
151
152//=============================================================================
153
154}; }; }; };
155
156#endif
157
158