1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef DBAUI_QUERYFILTER_HRC
29 #include "queryfilter.hrc"
31 #include "dbaccess_helpid.hrc"
33 ModalDialog DLG_FILTERCRIT
38 Size = MAP_APPFONT ( 303 , 76 ) ;
39 /* These strings are equal to the toolbox bubble helptext from MID_SBA_QRY_FILTERCRIT in toolbox.hrc */
40 Text [ en-US ] ="Standard Filter";
44 HelpId = HID_DLG_FILTERCRIT ;
45 ListBox LB_WHEREFIELD1
47 HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHEREFIELD1";
49 Pos = MAP_APPFONT ( 60 , 25 ) ;
50 Size = MAP_APPFONT ( 60 , 90 ) ;
56 HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOMP1";
58 Pos = MAP_APPFONT ( 124 , 25 ) ;
59 Size = MAP_APPFONT ( 49 , 72 ) ;
67 HelpID = "dbaccess:Edit:DLG_FILTERCRIT:ET_WHEREVALUE1";
69 Pos = MAP_APPFONT ( 177 , 25 ) ;
70 Size = MAP_APPFONT ( 60 , 12 ) ;
75 HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOND2";
77 Pos = MAP_APPFONT ( 15 , 41 ) ;
78 Size = MAP_APPFONT ( 41 , 36 ) ;
82 StringList [ en-US ] =
84 < "AND" ; Default ; > ;
85 < "OR" ; Default ; > ;
88 ListBox LB_WHEREFIELD2
90 HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHEREFIELD2";
92 Pos = MAP_APPFONT ( 60 , 41 ) ;
93 Size = MAP_APPFONT ( 60 , 90 ) ;
99 HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOMP2";
101 Pos = MAP_APPFONT ( 124 , 41 ) ;
102 Size = MAP_APPFONT ( 49 , 72 ) ;
105 DDExtraWidth = TRUE ;
110 HelpID = "dbaccess:Edit:DLG_FILTERCRIT:ET_WHEREVALUE2";
112 Pos = MAP_APPFONT ( 177 , 41 ) ;
113 Size = MAP_APPFONT ( 60 , 12 ) ;
116 ListBox LB_WHERECOND3
118 HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOND3";
120 Pos = MAP_APPFONT ( 15 , 57 ) ;
121 Size = MAP_APPFONT ( 41 , 36 ) ;
125 StringList [ en-US ] =
127 < "AND" ; Default ; > ;
128 < "OR" ; Default ; > ;
131 ListBox LB_WHEREFIELD3
133 HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHEREFIELD3";
135 Pos = MAP_APPFONT ( 60 , 57 ) ;
136 Size = MAP_APPFONT ( 60 , 90 ) ;
140 ListBox LB_WHERECOMP3
142 HelpID = "dbaccess:ListBox:DLG_FILTERCRIT:LB_WHERECOMP3";
144 Pos = MAP_APPFONT ( 124 , 57 ) ;
145 Size = MAP_APPFONT ( 49 , 72 ) ;
148 DDExtraWidth = TRUE ;
153 HelpID = "dbaccess:Edit:DLG_FILTERCRIT:ET_WHEREVALUE3";
155 Pos = MAP_APPFONT ( 177 , 57 ) ;
156 Size = MAP_APPFONT ( 60 , 12 ) ;
159 FixedText FT_WHEREFIELD
161 Pos = MAP_APPFONT ( 60 , 14 ) ;
162 Size = MAP_APPFONT ( 60 , 8 ) ;
164 Text [ en-US ] = "Field name" ;
166 FixedText FT_WHERECOMP
168 Pos = MAP_APPFONT ( 124 , 14 ) ;
169 Size = MAP_APPFONT ( 50 , 8 ) ;
171 Text [ en-US ] = "Condition" ;
173 FixedText FT_WHEREVALUE
175 Pos = MAP_APPFONT ( 177 , 14 ) ;
176 Size = MAP_APPFONT ( 60 , 8 ) ;
178 Text [ en-US ] = "Value" ;
180 FixedText FT_WHEREOPER
182 Pos = MAP_APPFONT ( 15 , 14 ) ;
183 Size = MAP_APPFONT ( 40 , 8 ) ;
185 Text [ en-US ] = "Operator" ;
189 Pos = MAP_APPFONT ( 6 , 3 ) ;
190 Size = MAP_APPFONT ( 236 , 8 ) ;
191 Text [ en-US ] = "Criteria" ;
195 Pos = MAP_APPFONT ( 249 , 6 ) ;
196 Size = MAP_APPFONT ( 50 , 14 ) ;
200 CancelButton BT_CANCEL
202 Pos = MAP_APPFONT ( 249 , 23 ) ;
203 Size = MAP_APPFONT ( 50 , 14 ) ;
208 Pos = MAP_APPFONT ( 249 , 43 ) ;
209 Size = MAP_APPFONT ( 50 , 14 ) ;
214 Text [ en-US ] = "- none -" ;
216 String STR_COMPARE_OPERATORS
218 Text [ en-US ] = "=;<>;<;<=;>;>=;like;not like;null;not null";