xref: /AOO42X/main/dbaccess/source/ui/dlg/queryfilter.src (revision 11f42e0a25627e4727784ddcdcee3298be414648)
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 DBAUI_QUERYFILTER_HRC
25#include "queryfilter.hrc"
26#endif
27#include "dbaccess_helpid.hrc"
28
29/*
30#define STRLST_AND_OR \
31    StringList [ en-US ] = \
32    {\
33        < "AND" ; Default ; > ; \
34        < "OR" ; Default ;  > ; \
35    };\
36*/
37
38ModalDialog DLG_FILTERCRIT
39{
40    OutputSize = TRUE ;
41    Hide = TRUE ;
42    SVLook = TRUE ;
43    Size = MAP_APPFONT ( 303, 76 ) ;
44    /* These strings are equal to the toolbox bubble helptext from MID_SBA_QRY_FILTERCRIT in toolbox.hrc */
45    Text [ en-US ] ="Standard Filter" ;
46
47    Moveable = TRUE ;
48    Closeable = TRUE ;
49    HelpId = HID_DLG_FILTERCRIT ;
50    ListBox LB_WHEREFIELD1
51    {
52        HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHEREFIELD1" ;
53        Border = TRUE ;
54        Pos = MAP_APPFONT ( 60, 25 ) ;
55        Size = MAP_APPFONT ( 60, 90 ) ;
56        TabStop = TRUE ;
57        DropDown = TRUE ;
58    };
59    ListBox LB_WHERECOMP1
60    {
61        HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOMP1" ;
62        Border = TRUE ;
63        Pos = MAP_APPFONT ( 124, 25 ) ;
64        Size = MAP_APPFONT ( 49, 72 ) ;
65        TabStop = TRUE ;
66        DDExtraWidth = TRUE ;
67        DropDown = TRUE ;
68        CurPos = 0 ;
69    };
70    Edit ET_WHEREVALUE1
71    {
72        HelpID = "dbaccess:Edit:DLG_FILTERCRIT:ET_WHEREVALUE1" ;
73        Border = TRUE ;
74        Pos = MAP_APPFONT ( 177, 25 ) ;
75        Size = MAP_APPFONT ( 60, 12 ) ;
76        TabStop = TRUE ;
77    };
78    ListBox LB_WHERECOND2
79    {
80        HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOND2" ;
81        Border = TRUE ;
82        Pos = MAP_APPFONT ( 15, 41 ) ;
83        Size = MAP_APPFONT ( 41, 36 ) ;
84        TabStop = TRUE ;
85        DropDown = TRUE ;
86        CurPos = 0 ;
87//      STRLST_AND_OR
88        StringList [ en-US ] =
89        {
90            < "AND" ; Default ; > ;
91            < "OR" ; Default ;  > ;
92        };
93    };
94    ListBox LB_WHEREFIELD2
95    {
96        HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHEREFIELD2" ;
97        Border = TRUE ;
98        Pos = MAP_APPFONT ( 60, 41 ) ;
99        Size = MAP_APPFONT ( 60, 90 ) ;
100        TabStop = TRUE ;
101        DropDown = TRUE ;
102    };
103    ListBox LB_WHERECOMP2
104    {
105        HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOMP2" ;
106        Border = TRUE ;
107        Pos = MAP_APPFONT ( 124, 41 ) ;
108        Size = MAP_APPFONT ( 49, 72 ) ;
109        TabStop = TRUE ;
110        DropDown = TRUE ;
111        DDExtraWidth = TRUE ;
112        CurPos = 0 ;
113    };
114    Edit ET_WHEREVALUE2
115    {
116        HelpID = "dbaccess:Edit:DLG_FILTERCRIT:ET_WHEREVALUE2" ;
117        Border = TRUE ;
118        Pos = MAP_APPFONT ( 177, 41 ) ;
119        Size = MAP_APPFONT ( 60, 12 ) ;
120        TabStop = TRUE ;
121    };
122    ListBox LB_WHERECOND3
123    {
124        HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOND3" ;
125        Border = TRUE ;
126        Pos = MAP_APPFONT ( 15, 57 ) ;
127        Size = MAP_APPFONT ( 41, 36 ) ;
128        TabStop = TRUE ;
129        DropDown = TRUE ;
130        CurPos = 0 ;
131//      STRLST_AND_OR
132        StringList [ en-US ] =
133        {
134            < "AND" ; Default ; > ;
135            < "OR" ; Default ;  > ;
136        };
137    };
138    ListBox LB_WHEREFIELD3
139    {
140        HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHEREFIELD3" ;
141        Border = TRUE ;
142        Pos = MAP_APPFONT ( 60, 57 ) ;
143        Size = MAP_APPFONT ( 60, 90 ) ;
144        TabStop = TRUE ;
145        DropDown = TRUE ;
146    };
147    ListBox LB_WHERECOMP3
148    {
149        HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOMP3" ;
150        Border = TRUE ;
151        Pos = MAP_APPFONT ( 124, 57 ) ;
152        Size = MAP_APPFONT ( 49, 72 ) ;
153        TabStop = TRUE ;
154        DropDown = TRUE ;
155        DDExtraWidth = TRUE ;
156        CurPos = 0 ;
157    };
158    Edit ET_WHEREVALUE3
159    {
160        HelpID = "dbaccess:Edit:DLG_FILTERCRIT:ET_WHEREVALUE3" ;
161        Border = TRUE ;
162        Pos = MAP_APPFONT ( 177, 57 ) ;
163        Size = MAP_APPFONT ( 60, 12 ) ;
164        TabStop = TRUE ;
165    };
166    FixedText FT_WHEREFIELD
167    {
168        Pos = MAP_APPFONT ( 60, 14 ) ;
169        Size = MAP_APPFONT ( 60, 8 ) ;
170        Center = TRUE ;
171        Text [ en-US ] = "Field name" ;
172    };
173    FixedText FT_WHERECOMP
174    {
175        Pos = MAP_APPFONT ( 124, 14 ) ;
176        Size = MAP_APPFONT ( 50, 8 ) ;
177        Center = TRUE ;
178        Text [ en-US ] = "Condition" ;
179    };
180    FixedText FT_WHEREVALUE
181    {
182        Pos = MAP_APPFONT ( 177, 14 ) ;
183        Size = MAP_APPFONT ( 60, 8 ) ;
184        Center = TRUE ;
185        Text [ en-US ] = "Value" ;
186    };
187    FixedText FT_WHEREOPER
188    {
189        Pos = MAP_APPFONT ( 15, 14 ) ;
190        Size = MAP_APPFONT ( 40, 8 ) ;
191        Center = TRUE ;
192        Text [ en-US ] = "Operator" ;
193    };
194    FixedLine FL_FIELDS
195    {
196        Pos = MAP_APPFONT ( 6, 3 ) ;
197        Size = MAP_APPFONT ( 236, 8 ) ;
198        Text [ en-US ] = "Criteria" ;
199    };
200    OKButton BT_OK
201    {
202        Pos = MAP_APPFONT ( 249, 6 ) ;
203        Size = MAP_APPFONT ( 50, 14 ) ;
204        TabStop = TRUE ;
205        DefButton = TRUE ;
206    };
207    CancelButton BT_CANCEL
208    {
209        Pos = MAP_APPFONT ( 249, 23 ) ;
210        Size = MAP_APPFONT ( 50, 14 ) ;
211        TabStop = TRUE ;
212    };
213    HelpButton BT_HELP
214    {
215        Pos = MAP_APPFONT ( 249, 43 ) ;
216        Size = MAP_APPFONT ( 50, 14 ) ;
217        TabStop = TRUE ;
218    };
219    String STR_NOENTRY
220    {
221        Text [ en-US ] = "- none -" ;
222    };
223    String STR_COMPARE_OPERATORS
224    {
225        Text [ en-US ] = "=;<>;<;<=;>;>=;like;not like;null;not null" ;
226    };
227};
228
229// ********************************************************************** EOF
230