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