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