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