xref: /aoo41x/main/svx/source/dialog/srchdlg.src (revision 09a1d057)
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 ---------------------------------------------------------------
25
26#include <svx/dialogs.hrc>
27#include "srchdlg.hrc"
28#include <sfx2/sfxcommands.h>
29
30#define MASKCOLOR   MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;
31
32 // Strings ---------------------------------------------------------------
33
34String RID_SVXSTR_SEARCH_STYLES
35{
36	Text [ en-US ] = "Including Styles" ;
37};
38String RID_SVXSTR_SEARCH
39{
40	Text [ en-US ] = "(Search)" ;
41};
42String RID_SVXSTR_REPLACE
43{
44	Text [ en-US ] = "(Replace)" ;
45};
46
47 // RID_SVXDLG_SEARCH -----------------------------------------------------
48
49ModelessDialog RID_SVXDLG_SEARCH
50{
51	HelpId = CMD_SID_SEARCH_DLG ;
52	OutputSize = TRUE ;
53	Hide = TRUE ;
54	SvLook = TRUE ;
55    Size = MAP_APPFONT ( 200 , 155 ) ;
56	Text [ en-US ] = "Find & Replace" ;
57	Moveable = TRUE ;
58	FixedText FT_SEARCH
59	{
60		Pos = MAP_APPFONT ( 6 , 7 ) ;
61        Size = MAP_APPFONT ( 132 , 8 ) ;
62		Text [ en-US ] = "~Search for" ;
63	};
64	ComboBox ED_SEARCH
65	{
66	    HelpID = "svx:ComboBox:RID_SVXDLG_SEARCH:ED_SEARCH";
67        Pos = MAP_APPFONT ( 6 , 18 ) ;
68        Size = MAP_APPFONT ( 132 , 98 ) ;
69		TabStop = TRUE ;
70		DropDown = TRUE ;
71	};
72	ListBox LB_SEARCH
73	{
74	    HelpID = "svx:ListBox:RID_SVXDLG_SEARCH:LB_SEARCH";
75		Border = TRUE ;
76        Pos = MAP_APPFONT ( 6 , 18 ) ;
77        Size = MAP_APPFONT ( 132 , 98 ) ;
78		TabStop = TRUE ;
79		DropDown = TRUE ;
80		Hide = TRUE ;
81		Sort = TRUE ;
82	};
83	FixedText FT_SEARCH_ATTR
84	{
85        Pos = MAP_APPFONT ( 9 , 35 ) ;
86        Size = MAP_APPFONT ( 129 , 16 ) ;
87		WordBreak = TRUE ;
88		Hide = TRUE ;
89	};
90    FixedText FT_SEARCH_FORMATS
91	{
92        Pos = MAP_APPFONT ( 9 , 35 ) ;
93        Size = MAP_APPFONT ( 129 , 16 ) ;
94        WordBreak = TRUE ;
95		Hide = TRUE ;
96	};
97	FixedText FT_REPLACE
98	{
99        Pos = MAP_APPFONT ( 6 , 54 ) ;
100        Size = MAP_APPFONT ( 132 , 8 ) ;
101		Text [ en-US ] = "Re~place with" ;
102	};
103	ComboBox ED_REPLACE
104	{
105	    HelpID = "svx:ComboBox:RID_SVXDLG_SEARCH:ED_REPLACE";
106        Pos = MAP_APPFONT ( 6 , 65 ) ;
107        Size = MAP_APPFONT ( 132 , 98 ) ;
108		TabStop = TRUE ;
109		DropDown = TRUE ;
110	};
111	ListBox LB_REPLACE
112	{
113	    HelpID = "svx:ListBox:RID_SVXDLG_SEARCH:LB_REPLACE";
114		Border = TRUE ;
115        Pos = MAP_APPFONT ( 6 , 65 ) ;
116        Size = MAP_APPFONT ( 132 , 98 ) ;
117		TabStop = TRUE ;
118		DropDown = TRUE ;
119		Hide = TRUE ;
120		Sort = TRUE ;
121	};
122	FixedText FT_REPLACE_ATTR
123	{
124        Pos = MAP_APPFONT ( 9 , 82 ) ;
125        Size = MAP_APPFONT ( 129 , 16 ) ;
126		WordBreak = TRUE ;
127		Hide = TRUE ;
128	};
129	FixedText FT_REPLACE_FORMATS
130	{
131        Pos = MAP_APPFONT ( 9 , 82 ) ;
132        Size = MAP_APPFONT ( 129 , 16 ) ;
133        WordBreak = TRUE ;
134		Hide = TRUE ;
135	};
136    PushButton BTN_SEARCH
137    {
138        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:BTN_SEARCH";
139        Pos = MAP_APPFONT ( 144 , 9 ) ;
140        Size = MAP_APPFONT ( 50 , 14 ) ;
141        Text [ en-US ] = "~Find" ;
142        TabStop = TRUE ;
143        DefButton = TRUE ;
144    };
145    PushButton BTN_SEARCH_ALL
146    {
147        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:BTN_SEARCH_ALL";
148        Pos = MAP_APPFONT ( 144 , 26 ) ;
149        Size = MAP_APPFONT ( 50 , 14 ) ;
150        Text [ en-US ] = "Find ~All" ;
151        TabStop = TRUE ;
152    };
153    FixedLine FL_SEARCH_COMMAND
154    {
155        Pos = MAP_APPFONT ( 141 , 44 ) ;
156        Size = MAP_APPFONT ( 56 , 8 ) ;
157    };
158    PushButton BTN_REPLACE
159    {
160        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:BTN_REPLACE";
161        Pos = MAP_APPFONT ( 144 , 56 ) ;
162        Size = MAP_APPFONT ( 50 , 14 ) ;
163        Text [ en-US ] = "~Replace" ;
164        TabStop = TRUE ;
165    };
166    PushButton BTN_REPLACE_ALL
167    {
168        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:BTN_REPLACE_ALL";
169        Pos = MAP_APPFONT ( 144 , 73 ) ;
170        Size = MAP_APPFONT ( 50 , 14 ) ;
171        Text [ en-US ] = "Replace A~ll" ;
172        TabStop = TRUE ;
173    };
174    FixedLine FL_SEARCH_COMPONENT
175    {
176        Pos = MAP_APPFONT ( 141 , 91 ) ;
177        Size = MAP_APPFONT ( 56 , 8 ) ;
178        Hide = TRUE;
179    };
180    PushButton BTN_COMPONENT_1
181    {
182        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:BTN_COMPONENT_1";
183        Pos = MAP_APPFONT ( 144 , 103 ) ;
184        Size = MAP_APPFONT ( 50 , 14 ) ;
185        TabStop = TRUE ;
186        Hide = TRUE;
187    };
188    PushButton BTN_COMPONENT_2
189    {
190        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:BTN_COMPONENT_2";
191        Pos = MAP_APPFONT ( 144 , 120 ) ;
192        Size = MAP_APPFONT ( 50 , 14 ) ;
193        TabStop = TRUE ;
194        Hide = TRUE;
195    };
196    CheckBox CB_MATCH_CASE
197    {
198        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_MATCH_CASE";
199        Pos = MAP_APPFONT ( 12 , 101 ) ;
200        Size = MAP_APPFONT ( 126 , 10 ) ;
201        TabStop = TRUE ;
202        Text [ en-US ] = "Ma~tch case";
203    };
204    CheckBox CB_WHOLE_WORDS
205    {
206        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_WHOLE_WORDS";
207        Pos = MAP_APPFONT ( 12 , 114 ) ;
208        Size = MAP_APPFONT ( 126 , 10 ) ;
209        Text [ en-US ] = "Whole wor~ds only" ;
210        TabStop = TRUE ;
211    };
212    FixedLine FL_BUTTONS
213    {
214        Pos = MAP_APPFONT ( 0 , 124 ) ;
215        Size = MAP_APPFONT ( 200 , 8 ) ;
216    };
217    MoreButton BTN_MORE
218    {
219        HelpID = "svx:MoreButton:RID_SVXDLG_SEARCH:BTN_MORE";
220        Pos = MAP_APPFONT ( 6 , 135 ) ;
221        Size = MAP_APPFONT ( 50 , 14 ) ;
222        TabStop = TRUE ;
223        MapUnit = MAP_APPFONT ;
224        Delta = 174 ;
225        State = FALSE ;
226    };
227    HelpButton BTN_HELP
228    {
229        Pos = MAP_APPFONT ( 88 , 135 ) ;
230        Size = MAP_APPFONT ( 50 , 14 ) ;
231        TabStop = TRUE ;
232    };
233    CancelButton BTN_CLOSE
234    {
235        Pos = MAP_APPFONT ( 144 , 135 ) ;
236        Size = MAP_APPFONT ( 50 , 14 ) ;
237        Text [ en-US ] = "~Close" ;
238        TabStop = TRUE ;
239    };
240    FixedLine FL_OPTIONS
241    {
242        Pos = MAP_APPFONT ( 6 , 152 ) ;
243        Size = MAP_APPFONT ( 191 , 8 ) ;
244        Hide = TRUE ;
245    };
246    CheckBox CB_SELECTIONS
247    {
248        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_SELECTIONS";
249        Pos = MAP_APPFONT ( 12 , 163 ) ;
250        Size = MAP_APPFONT ( 126 , 10 ) ;
251        Text [ en-US ] = "C~urrent selection only" ;
252        TabStop = TRUE ;
253        Hide = TRUE ;
254    };
255    CheckBox CB_BACKWARDS
256	{
257        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_BACKWARDS";
258        Pos = MAP_APPFONT ( 12 , 176 ) ;
259        Size = MAP_APPFONT ( 126 , 10 ) ;
260		Text [ en-US ] = "Bac~kwards" ;
261		TabStop = TRUE ;
262        Hide = TRUE ;
263	};
264    CheckBox CB_REGEXP
265    {
266        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_REGEXP";
267        Pos = MAP_APPFONT ( 12 , 189 ) ;
268        Size = MAP_APPFONT ( 126 , 10 ) ;
269        Text [ en-US ] = "Regular e~xpressions" ;
270        TabStop = TRUE ;
271        Hide = TRUE ;
272    };
273    CheckBox CB_SIMILARITY
274    {
275        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_SIMILARITY";
276        Pos = MAP_APPFONT ( 12 , 204 ) ;
277        Size = MAP_APPFONT ( 109 , 10 ) ;
278        Text [ en-US ] = "S~imilarity search" ;
279        TabStop = TRUE ;
280        Hide = TRUE ;
281    };
282    PushButton PB_SIMILARITY
283    {
284        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:PB_SIMILARITY";
285        Pos = MAP_APPFONT ( 124 , 202 ) ;
286        Size = MAP_APPFONT ( 14 , 14 ) ;
287        Text = "~..." ;
288        TabStop = TRUE ;
289        Hide = TRUE ;
290    };
291    CheckBox CB_LAYOUTS
292    {
293        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_LAYOUTS";
294        Pos = MAP_APPFONT ( 12 , 219 ) ;
295        Size = MAP_APPFONT ( 126 , 10 ) ;
296        Text [ en-US ] = "Search for St~yles" ;
297        TabStop = TRUE ;
298        Hide = TRUE ;
299    };
300    CheckBox CB_NOTES
301    {
302        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_NOTES";
303        Pos = MAP_APPFONT ( 12 , 232 ) ;
304        Size = MAP_APPFONT ( 126 , 10 ) ;
305        TabStop = TRUE ;
306        Text [ en-US ] = "Notes";
307    };
308    CheckBox CB_JAP_MATCH_FULL_HALF_WIDTH
309	{
310        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_JAP_MATCH_FULL_HALF_WIDTH";
311        Pos = MAP_APPFONT ( 12 , 247 ) ;
312        Size = MAP_APPFONT ( 126 , 10 ) ;
313		TabStop = TRUE ;
314		Text [ en-US ] = "Match character width";
315        Hide = TRUE ;
316	};
317	CheckBox CB_JAP_SOUNDS_LIKE
318	{
319	    HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_JAP_SOUNDS_LIKE";
320        Pos = MAP_APPFONT ( 12 , 260 ) ;
321        Size = MAP_APPFONT ( 109 , 10 ) ;
322		TabStop = TRUE ;
323		Text [ en-US ] = "Sounds like (Japanese)";
324        Hide = TRUE ;
325	};
326	PushButton PB_JAP_OPTIONS
327	{
328	    HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:PB_JAP_OPTIONS";
329        Pos = MAP_APPFONT ( 124 , 258 ) ;
330		Size = MAP_APPFONT ( 14 , 14 ) ;
331		Text = "..." ;
332		TabStop = TRUE ;
333        Hide = TRUE ;
334	};
335    PushButton BTN_ATTRIBUTE
336    {
337        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:BTN_ATTRIBUTE";
338        Pos = MAP_APPFONT ( 144 , 163 ) ;
339        Size = MAP_APPFONT ( 50 , 14 ) ;
340        Text [ en-US ] = "Attri~butes..." ;
341        TabStop = TRUE ;
342        Hide = TRUE ;
343    };
344    PushButton BTN_FORMAT
345    {
346        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:BTN_FORMAT";
347        Pos = MAP_APPFONT ( 144 , 180 ) ;
348        Size = MAP_APPFONT ( 50 , 14 ) ;
349        Text [ en-US ] = "For~mat..." ;
350        TabStop = TRUE ;
351        Hide = TRUE ;
352    };
353    PushButton BTN_NOFORMAT
354    {
355        HelpID = "svx:PushButton:RID_SVXDLG_SEARCH:BTN_NOFORMAT";
356        Pos = MAP_APPFONT ( 144 , 197 ) ;
357        Size = MAP_APPFONT ( 50 , 14 ) ;
358        Text [ en-US ] = "~No Format" ;
359        TabStop = TRUE ;
360        Hide = TRUE ;
361    };
362    FixedLine FL_CALC
363    {
364        Pos = MAP_APPFONT ( 6 , 272 ) ;
365        Size = MAP_APPFONT ( 191 , 8 ) ;
366        Hide = TRUE ;
367    };
368    FixedText FT_CALC_SEARCHIN
369    {
370        Pos = MAP_APPFONT ( 12 , 285 ) ;
371        Size = MAP_APPFONT ( 60 , 8 ) ;
372        Text [ en-US ] = "Search i~n" ;
373        Hide = TRUE ;
374    };
375    ListBox LB_CALC_SEARCHIN
376    {
377        HelpID = "svx:ListBox:RID_SVXDLG_SEARCH:LB_CALC_SEARCHIN";
378        Border = TRUE ;
379        Pos = MAP_APPFONT ( 75 , 283 ) ;
380        Size = MAP_APPFONT ( 63 , 48 ) ;
381        TabStop = TRUE ;
382        DropDown = TRUE ;
383        Hide = TRUE ;
384        StringList [ en-US ] =
385        {
386            < "Formulas" ; Default ; > ;
387            < "Values" ; Default ; > ;
388            < "Notes" ; Default ; > ;
389        };
390    };
391    FixedText FT_CALC_SEARCHDIR
392    {
393        Pos = MAP_APPFONT ( 12 , 300 ) ;
394        Size = MAP_APPFONT ( 60 , 8 ) ;
395        Text [ en-US ] = "Search ~direction" ;
396        Hide = TRUE ;
397    };
398    RadioButton RB_CALC_ROWS
399	{
400        HelpID = "svx:RadioButton:RID_SVXDLG_SEARCH:RB_CALC_ROWS";
401        Pos = MAP_APPFONT ( 75 , 300 ) ;
402        Size = MAP_APPFONT ( 63 , 10 ) ;
403		Text [ en-US ] = "Ro~ws" ;
404		Hide = TRUE ;
405	};
406    RadioButton RB_CALC_COLUMNS
407	{
408        HelpID = "svx:RadioButton:RID_SVXDLG_SEARCH:RB_CALC_COLUMNS";
409        Pos = MAP_APPFONT ( 75 , 313 ) ;
410        Size = MAP_APPFONT ( 63 , 10 ) ;
411		Text [ en-US ] = "Colu~mns" ;
412		Hide = TRUE ;
413	};
414    CheckBox CB_ALL_SHEETS
415    {
416        HelpID = "svx:CheckBox:RID_SVXDLG_SEARCH:CB_ALL_SHEETS";
417        Pos = MAP_APPFONT ( 12 , 326 ) ;
418        Size = MAP_APPFONT ( 126 , 10 ) ;
419        Text [ en-US ] = "Search in all sheets" ;
420        Hide = TRUE ;
421    };
422
423    String STR_WORDCALC
424	{
425		Text [ en-US ] = "~Entire cells" ;
426	};
427    String STR_MORE_BTN
428    {
429        Text [ en-US ] = "More ~Options" ;
430    };
431    String STR_LESS_BTN
432    {
433        Text [ en-US ] = "Fewer ~Options" ;
434    };
435};
436
437 // ********************************************************************** EOF
438
439