1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: srchdlg.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // include ---------------------------------------------------------------
33 #include <svx/dialogs.hrc>
34 #include "srchdlg.hrc"
36 #define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;
38 // Strings ---------------------------------------------------------------
40 String RID_SVXSTR_SEARCH_STYLES
42 Text [ en-US ] = "Including Styles" ;
44 String RID_SVXSTR_SEARCH
46 Text [ en-US ] = "(Search)" ;
48 String RID_SVXSTR_REPLACE
50 Text [ en-US ] = "(Replace)" ;
53 // RID_SVXDLG_SEARCH -----------------------------------------------------
55 ModelessDialog RID_SVXDLG_SEARCH
57 HelpId = SID_SEARCH_DLG ;
61 Size = MAP_APPFONT ( 200 , 155 ) ;
62 Text [ en-US ] = "Find & Replace" ;
66 Pos = MAP_APPFONT ( 6 , 7 ) ;
67 Size = MAP_APPFONT ( 132 , 8 ) ;
68 Text [ en-US ] = "~Search for" ;
72 Pos = MAP_APPFONT ( 6 , 18 ) ;
73 Size = MAP_APPFONT ( 132 , 98 ) ;
80 Pos = MAP_APPFONT ( 6 , 18 ) ;
81 Size = MAP_APPFONT ( 132 , 98 ) ;
87 FixedText FT_SEARCH_ATTR
89 Pos = MAP_APPFONT ( 9 , 35 ) ;
90 Size = MAP_APPFONT ( 129 , 16 ) ;
94 FixedText FT_SEARCH_FORMATS
96 Pos = MAP_APPFONT ( 9 , 35 ) ;
97 Size = MAP_APPFONT ( 129 , 16 ) ;
103 Pos = MAP_APPFONT ( 6 , 54 ) ;
104 Size = MAP_APPFONT ( 132 , 8 ) ;
105 Text [ en-US ] = "Re~place with" ;
109 Pos = MAP_APPFONT ( 6 , 65 ) ;
110 Size = MAP_APPFONT ( 132 , 98 ) ;
117 Pos = MAP_APPFONT ( 6 , 65 ) ;
118 Size = MAP_APPFONT ( 132 , 98 ) ;
124 FixedText FT_REPLACE_ATTR
126 Pos = MAP_APPFONT ( 9 , 82 ) ;
127 Size = MAP_APPFONT ( 129 , 16 ) ;
131 FixedText FT_REPLACE_FORMATS
133 Pos = MAP_APPFONT ( 9 , 82 ) ;
134 Size = MAP_APPFONT ( 129 , 16 ) ;
138 PushButton BTN_SEARCH
140 Pos = MAP_APPFONT ( 144 , 9 ) ;
141 Size = MAP_APPFONT ( 50 , 14 ) ;
142 Text [ en-US ] = "~Find" ;
146 PushButton BTN_SEARCH_ALL
148 Pos = MAP_APPFONT ( 144 , 26 ) ;
149 Size = MAP_APPFONT ( 50 , 14 ) ;
150 Text [ en-US ] = "Find ~All" ;
153 FixedLine FL_SEARCH_COMMAND
155 Pos = MAP_APPFONT ( 141 , 44 ) ;
156 Size = MAP_APPFONT ( 56 , 8 ) ;
158 PushButton BTN_REPLACE
160 Pos = MAP_APPFONT ( 144 , 56 ) ;
161 Size = MAP_APPFONT ( 50 , 14 ) ;
162 Text [ en-US ] = "~Replace" ;
165 PushButton BTN_REPLACE_ALL
167 Pos = MAP_APPFONT ( 144 , 73 ) ;
168 Size = MAP_APPFONT ( 50 , 14 ) ;
169 Text [ en-US ] = "Replace A~ll" ;
172 FixedLine FL_SEARCH_COMPONENT
174 Pos = MAP_APPFONT ( 141 , 91 ) ;
175 Size = MAP_APPFONT ( 56 , 8 ) ;
178 PushButton BTN_COMPONENT_1
180 Pos = MAP_APPFONT ( 144 , 103 ) ;
181 Size = MAP_APPFONT ( 50 , 14 ) ;
185 PushButton BTN_COMPONENT_2
187 Pos = MAP_APPFONT ( 144 , 120 ) ;
188 Size = MAP_APPFONT ( 50 , 14 ) ;
192 CheckBox CB_MATCH_CASE
194 Pos = MAP_APPFONT ( 12 , 101 ) ;
195 Size = MAP_APPFONT ( 126 , 10 ) ;
197 Text [ en-US ] = "Ma~tch case";
199 CheckBox CB_WHOLE_WORDS
201 Pos = MAP_APPFONT ( 12 , 114 ) ;
202 Size = MAP_APPFONT ( 126 , 10 ) ;
203 Text [ en-US ] = "Whole wor~ds only" ;
208 Pos = MAP_APPFONT ( 0 , 124 ) ;
209 Size = MAP_APPFONT ( 200 , 8 ) ;
213 Pos = MAP_APPFONT ( 6 , 135 ) ;
214 Size = MAP_APPFONT ( 50 , 14 ) ;
216 MapUnit = MAP_APPFONT ;
222 Pos = MAP_APPFONT ( 88 , 135 ) ;
223 Size = MAP_APPFONT ( 50 , 14 ) ;
226 CancelButton BTN_CLOSE
228 Pos = MAP_APPFONT ( 144 , 135 ) ;
229 Size = MAP_APPFONT ( 50 , 14 ) ;
230 Text [ en-US ] = "~Close" ;
235 Pos = MAP_APPFONT ( 6 , 152 ) ;
236 Size = MAP_APPFONT ( 191 , 8 ) ;
239 CheckBox CB_SELECTIONS
241 Pos = MAP_APPFONT ( 12 , 163 ) ;
242 Size = MAP_APPFONT ( 126 , 10 ) ;
243 Text [ en-US ] = "Current selection ~only" ;
247 CheckBox CB_BACKWARDS
249 Pos = MAP_APPFONT ( 12 , 176 ) ;
250 Size = MAP_APPFONT ( 126 , 10 ) ;
251 Text [ en-US ] = "Bac~kwards" ;
257 Pos = MAP_APPFONT ( 12 , 189 ) ;
258 Size = MAP_APPFONT ( 126 , 10 ) ;
259 Text [ en-US ] = "Regular e~xpressions" ;
263 CheckBox CB_SIMILARITY
265 Pos = MAP_APPFONT ( 12 , 204 ) ;
266 Size = MAP_APPFONT ( 109 , 10 ) ;
267 Text [ en-US ] = "S~imilarity search" ;
271 PushButton PB_SIMILARITY
273 Pos = MAP_APPFONT ( 124 , 202 ) ;
274 Size = MAP_APPFONT ( 14 , 14 ) ;
281 Pos = MAP_APPFONT ( 12 , 219 ) ;
282 Size = MAP_APPFONT ( 126 , 10 ) ;
283 Text [ en-US ] = "Search for St~yles" ;
289 Pos = MAP_APPFONT ( 12 , 232 ) ;
290 Size = MAP_APPFONT ( 126 , 10 ) ;
292 Text [ en-US ] = "Notes";
294 CheckBox CB_JAP_MATCH_FULL_HALF_WIDTH
296 Pos = MAP_APPFONT ( 12 , 247 ) ;
297 Size = MAP_APPFONT ( 126 , 10 ) ;
299 Text [ en-US ] = "Match character width";
302 CheckBox CB_JAP_SOUNDS_LIKE
304 Pos = MAP_APPFONT ( 12 , 260 ) ;
305 Size = MAP_APPFONT ( 109 , 10 ) ;
307 Text [ en-US ] = "Sounds like (Japanese)";
310 PushButton PB_JAP_OPTIONS
312 Pos = MAP_APPFONT ( 124 , 258 ) ;
313 Size = MAP_APPFONT ( 14 , 14 ) ;
318 PushButton BTN_ATTRIBUTE
320 Pos = MAP_APPFONT ( 144 , 163 ) ;
321 Size = MAP_APPFONT ( 50 , 14 ) ;
322 Text [ en-US ] = "Attri~butes..." ;
326 PushButton BTN_FORMAT
328 Pos = MAP_APPFONT ( 144 , 180 ) ;
329 Size = MAP_APPFONT ( 50 , 14 ) ;
330 Text [ en-US ] = "For~mat..." ;
334 PushButton BTN_NOFORMAT
336 Pos = MAP_APPFONT ( 144 , 197 ) ;
337 Size = MAP_APPFONT ( 50 , 14 ) ;
338 Text [ en-US ] = "~No Format" ;
344 Pos = MAP_APPFONT ( 6 , 272 ) ;
345 Size = MAP_APPFONT ( 191 , 8 ) ;
348 FixedText FT_CALC_SEARCHIN
350 Pos = MAP_APPFONT ( 12 , 285 ) ;
351 Size = MAP_APPFONT ( 60 , 8 ) ;
352 Text [ en-US ] = "~Search in" ;
355 ListBox LB_CALC_SEARCHIN
358 Pos = MAP_APPFONT ( 75 , 283 ) ;
359 Size = MAP_APPFONT ( 63 , 48 ) ;
363 StringList [ en-US ] =
365 < "Formulas" ; Default ; > ;
366 < "Values" ; Default ; > ;
367 < "Notes" ; Default ; > ;
370 FixedText FT_CALC_SEARCHDIR
372 Pos = MAP_APPFONT ( 12 , 300 ) ;
373 Size = MAP_APPFONT ( 60 , 8 ) ;
374 Text [ en-US ] = "~Search direction" ;
377 RadioButton RB_CALC_ROWS
379 Pos = MAP_APPFONT ( 75 , 300 ) ;
380 Size = MAP_APPFONT ( 63 , 10 ) ;
381 Text [ en-US ] = "Ro~ws" ;
384 RadioButton RB_CALC_COLUMNS
386 Pos = MAP_APPFONT ( 75 , 313 ) ;
387 Size = MAP_APPFONT ( 63 , 10 ) ;
388 Text [ en-US ] = "Col~umns" ;
391 CheckBox CB_ALL_SHEETS
393 Pos = MAP_APPFONT ( 12 , 326 ) ;
394 Size = MAP_APPFONT ( 126 , 10 ) ;
395 Text [ en-US ] = "Search in all sheets" ;
401 Text [ en-US ] = "~Entire cells" ;
405 Text [ en-US ] = "More ~Options" ;
409 Text [ en-US ] = "Fewer ~Options" ;
413 // ********************************************************************** EOF