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