| /************************************************************** |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| *************************************************************/ |
| |
| |
| |
| #include "cuires.hrc" |
| #include "thesdlg.hrc" |
| #include "helpid.hrc" |
| #include <svx/svxids.hrc> // SID_THESAURUS |
| |
| |
| // RID_SVXDLG_THES ------------------------------------------------------- |
| ModalDialog RID_SVXDLG_THESAURUS |
| { |
| HelpId = CMD_SID_THESAURUS ; |
| OutputSize = TRUE ; |
| Size = MAP_APPFONT ( 235, 230 ) ; |
| Text [ en-US ] = "Thesaurus" ; |
| SvLook = TRUE ; |
| Moveable = TRUE ; |
| |
| FixedImage IMG_VENDOR |
| { |
| Pos = MAP_APPFONT ( 0, 0 ) ; |
| Size = MAP_APPFONT ( 235, 0 ) ; // correct size will be applied at runtime |
| Hide = TRUE; |
| }; |
| |
| ImageButton BTN_LEFT |
| { |
| HelpID = "cui:ImageButton:RID_SVXDLG_THESAURUS:BTN_LEFT"; |
| Pos = MAP_APPFONT ( 5 , 15 ) ; |
| Size = MAP_APPFONT ( 14 , 14 ) ; |
| TABSTOP = TRUE ; |
| SYMBOL = IMAGEBUTTON_ARROW_LEFT ; |
| }; |
| FixedText FT_WORD |
| { |
| Pos = MAP_APPFONT ( 24 , 5 ) ; |
| Size = MAP_APPFONT ( 143 , 8 ) ; |
| Text [ en-US ] = "~Current word" ; |
| LEFT = TRUE ; |
| }; |
| ComboBox CB_WORD |
| { |
| HelpID = "cui:ComboBox:RID_SVXDLG_THESAURUS:CB_WORD"; |
| DropDown = TRUE ; |
| Pos = MAP_APPFONT ( 24 , 16 ) ; |
| Size = MAP_APPFONT ( 141 , 60 ) ; // have drop down space for several lines |
| }; |
| MenuButton MB_LANGUAGE |
| { |
| HelpID = "cui:MenuButton:RID_SVXDLG_THESAURUS:MB_LANGUAGE"; |
| Pos = MAP_APPFONT ( 170 , 16 ) ; |
| Size = MAP_APPFONT ( 60 , 14 ) ; |
| Text [ en-US ] = "~Language" ; |
| }; |
| |
| FixedText FT_THES_ALTERNATIVES |
| { |
| Pos = MAP_APPFONT ( 5 , 33 ) ; |
| Size = MAP_APPFONT ( 255 , 8 ) ; |
| Text [ en-US ] = "~Alternatives" ; |
| LEFT = TRUE ; |
| }; |
| Control CT_THES_ALTERNATIVES |
| { |
| HelpID = HID_CT_THES_ALTERNATIVES ; // also needed for automatic testing to find the control |
| Pos = MAP_APPFONT ( 5 , 45 ) ; |
| Size = MAP_APPFONT ( 225 , 121 ) ; |
| Border = TRUE; |
| TabStop = TRUE ; |
| }; |
| |
| FixedText FT_REPL |
| { |
| Pos = MAP_APPFONT ( 5 , 173 ) ; |
| Size = MAP_APPFONT ( 255 , 8 ) ; |
| Text [ en-US ] = "~Replace with" ; |
| LEFT = TRUE ; |
| }; |
| Edit ED_REPL |
| { |
| HelpID = "cui:Edit:RID_SVXDLG_THESAURUS:ED_REPL"; |
| BORDER = TRUE ; |
| Pos = MAP_APPFONT ( 5 , 184 ) ; |
| Size = MAP_APPFONT ( 225 , 12 ) ; |
| LEFT = TRUE ; |
| }; |
| FixedLine FL_VAR |
| { |
| Pos = MAP_APPFONT ( 0 , 200 ) ; |
| Size = MAP_APPFONT ( 235 , 8 ) ; |
| }; |
| |
| HelpButton BTN_THES_HELP |
| { |
| Pos = MAP_APPFONT ( 5 , 210 ) ; |
| Size = MAP_APPFONT ( 60 , 14 ) ; |
| }; |
| OkButton BTN_THES_OK |
| { |
| Pos = MAP_APPFONT ( 105 , 210 ) ; |
| Size = MAP_APPFONT ( 60 , 14 ) ; |
| Text [ en-US ] = "Replace" ; |
| DefButton = TRUE ; |
| }; |
| CancelButton BTN_THES_CANCEL |
| { |
| Pos = MAP_APPFONT ( 170 , 210 ) ; |
| Size = MAP_APPFONT ( 60 , 14 ) ; |
| }; |
| |
| String STR_ERR_TEXTNOTFOUND |
| { |
| Text [ en-US ] = "No alternatives found." ; |
| }; |
| |
| Image IMG_DEFAULT_VENDOR |
| { |
| ImageBitmap = Bitmap { File = "vendor01.png"; }; |
| }; |
| Image IMG_DEFAULT_VENDOR_HC |
| { |
| ImageBitmap = Bitmap { File = "vendor01h.png"; }; |
| }; |
| }; |
| |