xref: /AOO41X/main/dbaccess/source/ui/dlg/queryfilter.src (revision 81d089ae0b6b164818efbaaff21440338527721c)
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        /* ### ACHTUNG: Neuer Text in Resource? Verkn�pfung : Verkn�pfung */
192        Center = TRUE ;
193        Text [ en-US ] = "Operator" ;
194    };
195    FixedLine FL_FIELDS
196    {
197        Pos = MAP_APPFONT ( 6 , 3 ) ;
198        Size = MAP_APPFONT ( 236 , 8 ) ;
199        Text [ en-US ] = "Criteria" ;
200    };
201    OKButton BT_OK
202    {
203        Pos = MAP_APPFONT ( 249 , 6 ) ;
204        Size = MAP_APPFONT ( 50 , 14 ) ;
205        TabStop = TRUE ;
206        DefButton = TRUE ;
207    };
208    CancelButton BT_CANCEL
209    {
210        Pos = MAP_APPFONT ( 249 , 23 ) ;
211        Size = MAP_APPFONT ( 50 , 14 ) ;
212        TabStop = TRUE ;
213    };
214    HelpButton BT_HELP
215    {
216        Pos = MAP_APPFONT ( 249 , 43 ) ;
217        Size = MAP_APPFONT ( 50 , 14 ) ;
218        TabStop = TRUE ;
219    };
220    String STR_NOENTRY
221    {
222        Text [ en-US ] = "- none -" ;
223    };
224    String STR_COMPARE_OPERATORS
225    {
226        Text [ en-US ] = "=;<>;<;<=;>;>=;like;not like;null;not null";
227    };
228};
229
230