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 "cuires.hrc" 23#include "thesdlg.hrc" 24#include "helpid.hrc" 25#include <svx/svxids.hrc> // SID_THESAURUS 26 27// RID_SVXDLG_THES ------------------------------------------------------- 28ModalDialog RID_SVXDLG_THESAURUS 29{ 30 HelpId = CMD_SID_THESAURUS ; 31 OutputSize = TRUE ; 32 Size = MAP_APPFONT ( 235, 230 ) ; 33 Text [ en-US ] = "Thesaurus" ; 34 SvLook = TRUE ; 35 Moveable = TRUE ; 36 37 FixedImage IMG_VENDOR 38 { 39 Pos = MAP_APPFONT ( 0, 0 ) ; 40 Size = MAP_APPFONT ( 235, 0 ) ; // correct size will be applied at runtime 41 Hide = TRUE ; 42 }; 43 44 ImageButton BTN_LEFT 45 { 46 HelpID = "cui:ImageButton:RID_SVXDLG_THESAURUS:BTN_LEFT" ; 47 Pos = MAP_APPFONT ( 5, 15 ) ; 48 Size = MAP_APPFONT ( 14, 14 ) ; 49 TABSTOP = TRUE ; 50 SYMBOL = IMAGEBUTTON_ARROW_LEFT ; 51 }; 52 FixedText FT_WORD 53 { 54 Pos = MAP_APPFONT ( 24, 5 ) ; 55 Size = MAP_APPFONT ( 143, 8 ) ; 56 Text [ en-US ] = "~Current word" ; 57 LEFT = TRUE ; 58 }; 59 ComboBox CB_WORD 60 { 61 HelpID = "cui:ComboBox:RID_SVXDLG_THESAURUS:CB_WORD" ; 62 DropDown = TRUE ; 63 Pos = MAP_APPFONT ( 24, 16 ) ; 64 Size = MAP_APPFONT ( 141, 60 ) ; // have drop down space for several lines 65 }; 66 MenuButton MB_LANGUAGE 67 { 68 HelpID = "cui:MenuButton:RID_SVXDLG_THESAURUS:MB_LANGUAGE" ; 69 Pos = MAP_APPFONT ( 170, 16 ) ; 70 Size = MAP_APPFONT ( 60, 14 ) ; 71 Text [ en-US ] = "~Language" ; 72 }; 73 74 FixedText FT_THES_ALTERNATIVES 75 { 76 Pos = MAP_APPFONT ( 5, 33 ) ; 77 Size = MAP_APPFONT ( 255, 8 ) ; 78 Text [ en-US ] = "~Alternatives" ; 79 LEFT = TRUE ; 80 }; 81 Control CT_THES_ALTERNATIVES 82 { 83 HelpID = HID_CT_THES_ALTERNATIVES ; // also needed for automatic testing to find the control 84 Pos = MAP_APPFONT ( 5, 45 ) ; 85 Size = MAP_APPFONT ( 225, 121 ) ; 86 Border = TRUE ; 87 TabStop = TRUE ; 88 }; 89 90 FixedText FT_REPL 91 { 92 Pos = MAP_APPFONT ( 5, 173 ) ; 93 Size = MAP_APPFONT ( 255, 8 ) ; 94 Text [ en-US ] = "~Replace with" ; 95 LEFT = TRUE ; 96 }; 97 Edit ED_REPL 98 { 99 HelpID = "cui:Edit:RID_SVXDLG_THESAURUS:ED_REPL" ; 100 Border = TRUE ; 101 Pos = MAP_APPFONT ( 5, 184 ) ; 102 Size = MAP_APPFONT ( 225, 12 ) ; 103 LEFT = TRUE ; 104 }; 105 FixedLine FL_VAR 106 { 107 Pos = MAP_APPFONT ( 0, 200 ) ; 108 Size = MAP_APPFONT ( 235, 8 ) ; 109 }; 110 111 HelpButton BTN_THES_HELP 112 { 113 Pos = MAP_APPFONT ( 5, 210 ) ; 114 Size = MAP_APPFONT ( 60, 14 ) ; 115 }; 116 OkButton BTN_THES_OK 117 { 118 Pos = MAP_APPFONT ( 105, 210 ) ; 119 Size = MAP_APPFONT ( 60, 14 ) ; 120 Text [ en-US ] = "Replace" ; 121 DefButton = TRUE ; 122 }; 123 CancelButton BTN_THES_CANCEL 124 { 125 Pos = MAP_APPFONT ( 170, 210 ) ; 126 Size = MAP_APPFONT ( 60, 14 ) ; 127 }; 128 129 String STR_ERR_TEXTNOTFOUND 130 { 131 Text [ en-US ] = "No alternatives found." ; 132 }; 133 134 Image IMG_DEFAULT_VENDOR 135 { 136 ImageBitmap = Bitmap {File = "vendor01.png" ;} ; 137 }; 138 Image IMG_DEFAULT_VENDOR_HC 139 { 140 ImageBitmap = Bitmap {File = "vendor01h.png" ;} ; 141 }; 142}; 143 144// ********************************************************************** EOF 145