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