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