xref: /trunk/main/cui/source/dialogs/fmsearch.src (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28#include "fmsearch.hrc"
29#include "helpid.hrc"
30
31ModalDialog RID_SVXDLG_SEARCHFORM
32{
33    OutputSize = TRUE;
34    SVLook = TRUE;
35    Size = MAP_APPFONT( 300, 253 );
36    Text [ en-US ] = "Record Search";
37    Moveable = TRUE;
38    HelpId = HID_FM_DLG_SEARCH;
39
40    FixedLine FL_SEARCHFOR
41    {
42        Pos = MAP_APPFONT( 6, 8 );
43        Size = MAP_APPFONT( 232, 8 );
44        Text [ en-US ] = "Search for";
45    };
46    RadioButton RB_SEARCHFORTEXT
47    {
48        HelpID = "cui:RadioButton:RID_SVXDLG_SEARCHFORM:RB_SEARCHFORTEXT";
49        Pos = MAP_APPFONT( 12, 23 );
50        Size = MAP_APPFONT( 50, 10 );
51        Group = TRUE;
52        Text [ en-US ] = "~Text";
53    };
54    RadioButton RB_SEARCHFORNULL
55    {
56        HelpID = "cui:RadioButton:RID_SVXDLG_SEARCHFORM:RB_SEARCHFORNULL";
57        Pos = MAP_APPFONT( 12, 36 );
58        Size = MAP_APPFONT( 207, 10 );
59        Text [ en-US ] = "Field content is ~NULL";
60    };
61    RadioButton RB_SEARCHFORNOTNULL
62    {
63        HelpID = "cui:RadioButton:RID_SVXDLG_SEARCHFORM:RB_SEARCHFORNOTNULL";
64        Pos = MAP_APPFONT( 12, 49 );
65        Size = MAP_APPFONT( 207, 10 );
66        Text [ en-US ] = "Field content is not NU~LL";
67    };
68    ComboBox CMB_SEARCHTEXT
69    {
70        Border = TRUE;
71        Pos = MAP_APPFONT( 65, 20 );
72        Size = MAP_APPFONT( 154, 80 );
73        DropDown = TRUE;
74        TabStop = TRUE;
75        HelpId = HID_SEARCH_TEXT;
76    };
77
78    FixedLine FL_WHERE
79    {
80        Pos = MAP_APPFONT( 6, 65 );
81        Size = MAP_APPFONT( 232, 8 );
82        Text [ en-US ] = "Where to search";
83    };
84    FixedText FT_FORM
85    {
86        Pos = MAP_APPFONT( 12, 77 );
87        Size = MAP_APPFONT( 87, 10 );
88        Text [ en-US ] = "Form";
89    };
90    ListBox LB_FORM
91    {
92        HelpID = "cui:ListBox:RID_SVXDLG_SEARCHFORM:LB_FORM";
93        Border = TRUE;
94        Pos = MAP_APPFONT( 110, 76 );
95        Size = MAP_APPFONT( 109, 60 );
96        TabStop = TRUE;
97        DropDown = TRUE;
98    };
99    RadioButton RB_ALLFIELDS
100    {
101        Pos = MAP_APPFONT( 24, 91 );
102        Size = MAP_APPFONT( 75, 10 );
103        TabStop = TRUE;
104        HelpId = HID_SEARCH_ALLFIELDS;
105        Text [ en-US ] = "All Fields";
106    };
107    RadioButton RB_SINGLEFIELD
108    {
109        HelpID = "cui:RadioButton:RID_SVXDLG_SEARCHFORM:RB_SINGLEFIELD";
110        Pos = MAP_APPFONT( 24, 106 );
111        Size = MAP_APPFONT( 75, 10 );
112        Text [ en-US ] = "Single field";
113    };
114    ListBox LB_FIELD
115    {
116        Border = TRUE;
117        Pos = MAP_APPFONT( 110, 105 );
118        Size = MAP_APPFONT( 109, 60 );
119        TabStop = TRUE;
120        DropDown = TRUE;
121        HelpId = HID_SEARCH_FIELDSELECTION;
122    };
123    FixedLine FL_OPTIONS
124    {
125        Pos = MAP_APPFONT( 6, 126 );
126        Size = MAP_APPFONT( 288, 8 );
127        Text [ en-US ] = "Settings";
128    };
129    FixedText FT_POSITION
130    {
131        Pos = MAP_APPFONT( 12, 138 );
132        Size = MAP_APPFONT( 87, 8 );
133        Text [ en-US ] = "Position";
134    };
135    ListBox LB_POSITION
136    {
137        Border = TRUE;
138        Pos = MAP_APPFONT( 110, 136 );
139        Size = MAP_APPFONT( 109, 60 );
140        TabStop = TRUE;
141        DropDown = TRUE;
142        HelpId = HID_SEARCH_POSITION;
143    };
144    CheckBox CB_USEFORMATTER
145    {
146        Pos = MAP_APPFONT( 12, 158 );
147        Size = MAP_APPFONT( 90, 10 );
148        TabStop = TRUE;
149        HelpId = HID_SEARCH_FORMATTER;
150        Text [ en-US ] = "Apply field format";
151    };
152    CheckBox CB_CASE
153    {
154        Pos = MAP_APPFONT( 12, 171 );
155        Size = MAP_APPFONT( 90, 20 );
156        TabStop = TRUE;
157        WordBreak = TRUE;
158        HelpId = HID_SEARCH_CASE;
159        Text [ en-US ] = "Match case";
160    };
161    CheckBox CB_BACKWARD
162    {
163        Pos = MAP_APPFONT( 105, 158 );
164        Size = MAP_APPFONT( 85, 10 );
165        TabStop = TRUE;
166        HelpId = HID_SEARCH_BACKWARD;
167        Text [ en-US ] = "Search backwards";
168    };
169    CheckBox CB_STARTOVER
170    {
171        Pos = MAP_APPFONT( 105, 171 );
172        Size = MAP_APPFONT( 85, 10 );
173        TabStop = TRUE;
174        HelpId = HID_SEARCH_STARTOVER;
175        Text [ en-US ] = "From Beginning";
176    };
177    CheckBox CB_WILDCARD
178    {
179        Pos = MAP_APPFONT( 190, 158 );
180        Size = MAP_APPFONT( 100, 10 );
181        TabStop = TRUE;
182        HelpId = HID_SEARCH_WILDCARD;
183        Text [ en-US ] = "Wildcard expression";
184    };
185    CheckBox CB_REGULAR
186    {
187        Pos = MAP_APPFONT( 190, 171 );
188        Size = MAP_APPFONT( 100, 10 );
189        TabStop = TRUE;
190        HelpId = HID_SEARCH_REGULAR;
191        Text [ en-US ] = "Regular expression";
192    };
193    CheckBox CB_APPROX
194    {
195        Pos = MAP_APPFONT( 190, 184 );
196        Size = MAP_APPFONT( 84, 20 );
197        TabStop = TRUE;
198        WordBreak = TRUE;
199        HelpId = HID_SEARCH_APPROX;
200        Text [ en-US ] = "Similarity Search";
201    };
202    PushButton PB_APPROXSETTINGS
203    {
204        Pos = MAP_APPFONT( 275, 182 );
205        Size = MAP_APPFONT( 14, 14 );
206        TabStop = TRUE ;
207        HelpId = HID_SEARCH_APPROXSETTINGS;
208        Text [ en-US ] = "...";
209    };
210    CheckBox CB_HALFFULLFORMS
211    {
212        HelpID = "cui:CheckBox:RID_SVXDLG_SEARCHFORM:CB_HALFFULLFORMS";
213        Pos = MAP_APPFONT( 105, 209 );
214        Size = MAP_APPFONT( 85, 10 );
215        TabStop = TRUE ;
216        Text [ en-US ] = "Match character width" ;
217    };
218    CheckBox CB_SOUNDSLIKECJK
219    {
220        HelpID = "cui:CheckBox:RID_SVXDLG_SEARCHFORM:CB_SOUNDSLIKECJK";
221        Pos = MAP_APPFONT( 190, 209 );
222        Size = MAP_APPFONT( 84, 10 );
223        TabStop = TRUE ;
224        Text [ en-US ] = "Sounds like (Japanese)";
225    };
226    PushButton PB_SOUNDSLIKESETTINGS
227    {
228        HelpID = "cui:PushButton:RID_SVXDLG_SEARCHFORM:PB_SOUNDSLIKESETTINGS";
229        Pos = MAP_APPFONT( 275, 207 );
230        Size = MAP_APPFONT( 14, 14 );
231        TabStop = TRUE ;
232        Text [ en-US ] = "..." ;
233    };
234    FixedLine FL_STATE
235    {
236        Pos = MAP_APPFONT( 6, 222 );
237        Size = MAP_APPFONT( 288, 8 );
238        Text [ en-US ] = "State";
239    };
240    FixedText FT_RECORDLABEL
241    {
242        Pos = MAP_APPFONT( 12, 232 );
243        Size = MAP_APPFONT( 45, 10 );
244        Text [ en-US ] = "Record :";
245    };
246    FixedText FT_RECORD
247    {
248        Pos = MAP_APPFONT( 60, 232 );
249        Size = MAP_APPFONT( 30, 10 );
250        UniqueId = UID_SEARCH_RECORDSTATUS;
251    };
252    FixedText FT_HINT
253    {
254        Pos = MAP_APPFONT( 99, 232 );
255        Size = MAP_APPFONT( 190, 10 );
256    };
257    PushButton PB_SEARCH
258    {
259        Pos = MAP_APPFONT( 244, 6 );
260        Size = MAP_APPFONT( 50, 14 );
261        TabStop = TRUE;
262        DefButton = TRUE;
263        HelpId = HID_SEARCH_BTN_SEARCH;
264        Text [ en-US ] = "Search";
265    };
266    CancelButton 1
267    {
268        Pos = MAP_APPFONT( 244, 26 );
269        Size = MAP_APPFONT( 50, 14 );
270        HelpId = HID_SEARCH_BTN_CLOSE;
271        TabStop = TRUE;
272        Text [ en-US ] = "~Close";
273    };
274    HelpButton 1
275    {
276        Pos = MAP_APPFONT( 244, 46 );
277        Size = MAP_APPFONT( 50, 14 );
278        TabStop = TRUE;
279        Text [ en-US ] = "~Help";
280    };
281};
282
283String RID_STR_SEARCH_ANYWHERE
284{
285    Text [ en-US ] = "anywhere in the field";
286};
287
288String RID_STR_SEARCH_BEGINNING
289{
290    Text [ en-US ] = "beginning of field";
291};
292
293String RID_STR_SEARCH_END
294{
295    Text [ en-US ] = "end of field";
296};
297
298String RID_STR_SEARCH_WHOLE
299{
300    Text [ en-US ] = "entire field";
301};
302
303String RID_STR_FROM_TOP
304{
305    Text [ en-US ] = "From top";
306};
307String RID_STR_FROM_BOTTOM
308{
309    Text [ en-US ] = "From bottom";
310};
311
312ErrorBox RID_SVXERR_SEARCH_NORECORD
313{
314    Buttons = WB_OK;
315    Message [ en-US ] = "No records corresponding to your data found.";
316};
317
318ErrorBox RID_SVXERR_SEARCH_GENERAL_ERROR
319{
320    Buttons = WB_OK;
321    Message [ en-US ] = "An unknown error occurred. The search could not be finished.";
322};
323
324String RID_STR_OVERFLOW_FORWARD
325{
326    Text [ en-US ] = "Overflow, search continued at the beginning";
327};
328
329String RID_STR_OVERFLOW_BACKWARD
330{
331    Text [ en-US ] = "Overflow, search continued at the end";
332};
333
334String RID_STR_SEARCH_COUNTING
335{
336    Text [ en-US ] = "counting records";
337};
338