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