1*0e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0e2af6afSAndrew Rist * distributed with this work for additional information 6*0e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 9*0e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10*0e2af6afSAndrew Rist * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0e2af6afSAndrew Rist * 13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an 15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 17*0e2af6afSAndrew Rist * specific language governing permissions and limitations 18*0e2af6afSAndrew Rist * under the License. 19*0e2af6afSAndrew Rist * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "cuires.hrc" 25cdf0e10cSrcweir#include "thesdlg.hrc" 26cdf0e10cSrcweir#include "helpid.hrc" 27cdf0e10cSrcweir#include <svx/svxids.hrc> // SID_THESAURUS 28cdf0e10cSrcweir 29cdf0e10cSrcweir 30cdf0e10cSrcweir // RID_SVXDLG_THES ------------------------------------------------------- 31cdf0e10cSrcweirModalDialog RID_SVXDLG_THESAURUS 32cdf0e10cSrcweir{ 33cdf0e10cSrcweir HelpId = CMD_SID_THESAURUS ; 34cdf0e10cSrcweir OutputSize = TRUE ; 35cdf0e10cSrcweir Size = MAP_APPFONT ( 235, 230 ) ; 36cdf0e10cSrcweir Text [ en-US ] = "Thesaurus" ; 37cdf0e10cSrcweir SvLook = TRUE ; 38cdf0e10cSrcweir Moveable = TRUE ; 39cdf0e10cSrcweir 40cdf0e10cSrcweir FixedImage IMG_VENDOR 41cdf0e10cSrcweir { 42cdf0e10cSrcweir Pos = MAP_APPFONT ( 0, 0 ) ; 43cdf0e10cSrcweir Size = MAP_APPFONT ( 235, 0 ) ; // correct size will be applied at runtime 44cdf0e10cSrcweir Hide = TRUE; 45cdf0e10cSrcweir }; 46cdf0e10cSrcweir 47cdf0e10cSrcweir ImageButton BTN_LEFT 48cdf0e10cSrcweir { 49cdf0e10cSrcweir HelpID = "cui:ImageButton:RID_SVXDLG_THESAURUS:BTN_LEFT"; 50cdf0e10cSrcweir Pos = MAP_APPFONT ( 5 , 15 ) ; 51cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 14 ) ; 52cdf0e10cSrcweir TABSTOP = TRUE ; 53cdf0e10cSrcweir SYMBOL = IMAGEBUTTON_ARROW_LEFT ; 54cdf0e10cSrcweir }; 55cdf0e10cSrcweir FixedText FT_WORD 56cdf0e10cSrcweir { 57cdf0e10cSrcweir Pos = MAP_APPFONT ( 24 , 5 ) ; 58cdf0e10cSrcweir Size = MAP_APPFONT ( 143 , 8 ) ; 59cdf0e10cSrcweir Text [ en-US ] = "~Current word" ; 60cdf0e10cSrcweir LEFT = TRUE ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir ComboBox CB_WORD 63cdf0e10cSrcweir { 64cdf0e10cSrcweir HelpID = "cui:ComboBox:RID_SVXDLG_THESAURUS:CB_WORD"; 65cdf0e10cSrcweir DropDown = TRUE ; 66cdf0e10cSrcweir Pos = MAP_APPFONT ( 24 , 16 ) ; 67cdf0e10cSrcweir Size = MAP_APPFONT ( 141 , 60 ) ; // have drop down space for several lines 68cdf0e10cSrcweir }; 69cdf0e10cSrcweir MenuButton MB_LANGUAGE 70cdf0e10cSrcweir { 71cdf0e10cSrcweir HelpID = "cui:MenuButton:RID_SVXDLG_THESAURUS:MB_LANGUAGE"; 72cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 16 ) ; 73cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 14 ) ; 74cdf0e10cSrcweir Text [ en-US ] = "~Language" ; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir 77cdf0e10cSrcweir FixedText FT_THES_ALTERNATIVES 78cdf0e10cSrcweir { 79cdf0e10cSrcweir Pos = MAP_APPFONT ( 5 , 33 ) ; 80cdf0e10cSrcweir Size = MAP_APPFONT ( 255 , 8 ) ; 81cdf0e10cSrcweir Text [ en-US ] = "~Alternatives" ; 82cdf0e10cSrcweir LEFT = TRUE ; 83cdf0e10cSrcweir }; 84cdf0e10cSrcweir Control CT_THES_ALTERNATIVES 85cdf0e10cSrcweir { 86cdf0e10cSrcweir HelpID = HID_CT_THES_ALTERNATIVES ; // also needed for automatic testing to find the control 87cdf0e10cSrcweir Pos = MAP_APPFONT ( 5 , 45 ) ; 88cdf0e10cSrcweir Size = MAP_APPFONT ( 225 , 121 ) ; 89cdf0e10cSrcweir Border = TRUE; 90cdf0e10cSrcweir TabStop = TRUE ; 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir 93cdf0e10cSrcweir FixedText FT_REPL 94cdf0e10cSrcweir { 95cdf0e10cSrcweir Pos = MAP_APPFONT ( 5 , 173 ) ; 96cdf0e10cSrcweir Size = MAP_APPFONT ( 255 , 8 ) ; 97cdf0e10cSrcweir Text [ en-US ] = "~Replace with" ; 98cdf0e10cSrcweir LEFT = TRUE ; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir Edit ED_REPL 101cdf0e10cSrcweir { 102cdf0e10cSrcweir HelpID = "cui:Edit:RID_SVXDLG_THESAURUS:ED_REPL"; 103cdf0e10cSrcweir BORDER = TRUE ; 104cdf0e10cSrcweir Pos = MAP_APPFONT ( 5 , 184 ) ; 105cdf0e10cSrcweir Size = MAP_APPFONT ( 225 , 12 ) ; 106cdf0e10cSrcweir LEFT = TRUE ; 107cdf0e10cSrcweir }; 108cdf0e10cSrcweir FixedLine FL_VAR 109cdf0e10cSrcweir { 110cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 200 ) ; 111cdf0e10cSrcweir Size = MAP_APPFONT ( 235 , 8 ) ; 112cdf0e10cSrcweir }; 113cdf0e10cSrcweir 114cdf0e10cSrcweir HelpButton BTN_THES_HELP 115cdf0e10cSrcweir { 116cdf0e10cSrcweir Pos = MAP_APPFONT ( 5 , 210 ) ; 117cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 14 ) ; 118cdf0e10cSrcweir }; 119cdf0e10cSrcweir OkButton BTN_THES_OK 120cdf0e10cSrcweir { 121cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 210 ) ; 122cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 14 ) ; 123cdf0e10cSrcweir Text [ en-US ] = "Replace" ; 124cdf0e10cSrcweir DefButton = TRUE ; 125cdf0e10cSrcweir }; 126cdf0e10cSrcweir CancelButton BTN_THES_CANCEL 127cdf0e10cSrcweir { 128cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 210 ) ; 129cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 14 ) ; 130cdf0e10cSrcweir }; 131cdf0e10cSrcweir 132cdf0e10cSrcweir String STR_ERR_TEXTNOTFOUND 133cdf0e10cSrcweir { 134cdf0e10cSrcweir Text [ en-US ] = "No alternatives found." ; 135cdf0e10cSrcweir }; 136cdf0e10cSrcweir 137cdf0e10cSrcweir Image IMG_DEFAULT_VENDOR 138cdf0e10cSrcweir { 139cdf0e10cSrcweir ImageBitmap = Bitmap { File = "vendor01.png"; }; 140cdf0e10cSrcweir }; 141cdf0e10cSrcweir Image IMG_DEFAULT_VENDOR_HC 142cdf0e10cSrcweir { 143cdf0e10cSrcweir ImageBitmap = Bitmap { File = "vendor01h.png"; }; 144cdf0e10cSrcweir }; 145cdf0e10cSrcweir}; 146cdf0e10cSrcweir 147