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