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