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