xref: /trunk/main/cui/source/options/optdict.src (revision af7f2cbf3d6a5481a2f45e7fae5e85a32449c47d)
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 ---------------------------------------------------------------
25#include <sfx2/sfx.hrc>
26#include "helpid.hrc"
27#include <cuires.hrc>
28#include "optdict.hrc"
29// pragma ----------------------------------------------------------------
30
31// RID_SFXDLG_NEWDICT ----------------------------------------------------
32ModalDialog RID_SFXDLG_NEWDICT
33{
34    HelpId = HID_OPTIONS_DICT_NEW ;
35    OutputSize = TRUE ;
36    SVLook = TRUE ;
37    Size = MAP_APPFONT ( 213, 66 ) ;
38    Moveable = TRUE ;
39    Text [ en-US ] = "New Dictionary" ;
40    FixedText FT_DICTNAME
41    {
42        Pos = MAP_APPFONT ( 11, 15 ) ;
43        Size = MAP_APPFONT ( 40, 10 ) ;
44        Text [ en-US ] = "~Name" ;
45        LeftLabel = TRUE ;
46    };
47    Edit ED_DICTNAME
48    {
49        HelpID = "cui:Edit:RID_SFXDLG_NEWDICT:ED_DICTNAME" ;
50        Border = TRUE ;
51        Pos = MAP_APPFONT ( 55, 14 ) ;
52        Size = MAP_APPFONT ( 90, 12 ) ;
53        MaxTextLength = 32 ;
54    };
55    FixedText FT_DICTLANG
56    {
57        Pos = MAP_APPFONT ( 12, 30 ) ;
58        Size = MAP_APPFONT ( 40, 10 ) ;
59        Text [ en-US ] = "~Language" ;
60        LeftLabel = TRUE ;
61    };
62    ListBox LB_DICTLANG
63    {
64        HelpID = "cui:ListBox:RID_SFXDLG_NEWDICT:LB_DICTLANG" ;
65        Border = TRUE ;
66        Pos = MAP_APPFONT ( 55, 30 ) ;
67        Size = MAP_APPFONT ( 90, 66 ) ;
68        DropDown = TRUE ;
69    };
70    CheckBox BTN_EXCEPT
71    {
72        HelpID = "cui:CheckBox:RID_SFXDLG_NEWDICT:BTN_EXCEPT" ;
73        Pos = MAP_APPFONT ( 12, 44 ) ;
74        Size = MAP_APPFONT ( 57, 10 ) ;
75        Text [ en-US ] = "~Exception (-)" ;
76    };
77    FixedLine GB_NEWDICT
78    {
79        Pos = MAP_APPFONT ( 6, 3 ) ;
80        Size = MAP_APPFONT ( 145, 8 ) ;
81        Text [ en-US ] = "Dictionary" ;
82    };
83    OKButton BTN_NEWDICT_OK
84    {
85        Pos = MAP_APPFONT ( 157, 6 ) ;
86        Size = MAP_APPFONT ( 50, 14 ) ;
87        Disable = TRUE ;
88        DefButton = TRUE ;
89    };
90    CancelButton BTN_NEWDICT_ESC
91    {
92        Pos = MAP_APPFONT ( 157, 23 ) ;
93        Size = MAP_APPFONT ( 50, 14 ) ;
94    };
95    HelpButton BTN_NEWDICT_HLP
96    {
97        Pos = MAP_APPFONT ( 157, 43 ) ;
98        Size = MAP_APPFONT ( 50, 14 ) ;
99    };
100};
101
102// RID_SFXDLG_EDITDICT ---------------------------------------------------
103ModalDialog RID_SFXDLG_EDITDICT
104{
105    HelpId = HID_OPTIONS_DICT_EDIT ;
106    OutputSize = TRUE ;
107    SVLook = TRUE ;
108    Size = MAP_APPFONT ( 270, 161 ) ;
109    Text [ en-US ] = "Edit Custom Dictionary" ;
110
111    Moveable = TRUE ;
112    FixedText FT_BOOK
113    {
114        Pos = MAP_APPFONT ( 12, 10 ) ;
115        Size = MAP_APPFONT ( 86, 10 ) ;
116        Text [ en-US ] = "~Book" ;
117    };
118    ListBox LB_ALLDICTS
119    {
120        HelpID = "cui:ListBox:RID_SFXDLG_EDITDICT:LB_ALLDICTS" ;
121        Border = TRUE ;
122        Pos = MAP_APPFONT ( 82, 9 ) ;
123        Size = MAP_APPFONT ( 121, 62 ) ;
124        DropDown = TRUE ;
125    };
126    FixedText FT_DICTLANG
127    {
128        Pos = MAP_APPFONT ( 12, 26 ) ;
129        Size = MAP_APPFONT ( 86, 10 ) ;
130        Text [ en-US ] = "~Language" ;
131    };
132    ListBox LB_DICTLANG
133    {
134        HelpID = "cui:ListBox:RID_SFXDLG_EDITDICT:LB_DICTLANG" ;
135        Border = TRUE ;
136        Pos = MAP_APPFONT ( 82, 25 ) ;
137        Size = MAP_APPFONT ( 121, 66 ) ;
138        DropDown = TRUE ;
139    };
140
141    FixedLine GB_EDITDICTS
142    {
143        Pos = MAP_APPFONT ( 1, 1 ) ;
144        Size = MAP_APPFONT ( 268, 138 ) ;
145        Hide = TRUE ;
146    };
147
148    FixedText FT_WORD
149    {
150        Pos = MAP_APPFONT ( 13, 46 ) ;
151        Size = MAP_APPFONT ( 40, 8 ) ;
152        Text [ en-US ] = "~Word" ;
153    };
154    Edit ED_WORD
155    {
156        HelpID = "cui:Edit:RID_SFXDLG_EDITDICT:ED_WORD" ;
157        Pos = MAP_APPFONT ( 12, 56 ) ;
158        Size = MAP_APPFONT ( 71, 12 ) ;
159        Border = TRUE ;
160        TabStop = TRUE ;
161    };
162    FixedText FT_REPLACE
163    {
164        Pos = MAP_APPFONT ( 84, 46 ) ;
165        Size = MAP_APPFONT ( 60, 8 ) ;
166        Text [ en-US ] = "Replace ~By:" ;
167    };
168
169    Edit ED_REPLACE
170    {
171        HelpID = "cui:Edit:RID_SFXDLG_EDITDICT:ED_REPLACE" ;
172        Pos = MAP_APPFONT ( 83, 56 ) ;
173        Size = MAP_APPFONT ( 120, 12 ) ;
174        Border = TRUE ;
175        TabStop = TRUE ;
176    };
177
178    PushButton PB_NEW_REPLACE
179    {
180        HelpID = "cui:PushButton:RID_SFXDLG_EDITDICT:PB_NEW_REPLACE" ;
181        Pos = MAP_APPFONT ( 209, 56 ) ;
182        Size = MAP_APPFONT ( 55, 12 ) ;
183        TabStop = TRUE ;
184        Text [ en-US ] = "~New" ;
185    };
186    PushButton PB_DELETE_REPLACE
187    {
188        HelpID = "cui:PushButton:RID_SFXDLG_EDITDICT:PB_DELETE_REPLACE" ;
189        Pos = MAP_APPFONT ( 209, 71 ) ;
190        Size = MAP_APPFONT ( 55, 12 ) ;
191        TabStop = TRUE ;
192        Text [ en-US ] = "~Delete" ;
193    };
194    Control TLB_REPLACE
195    {
196        HelpId = HID_OPTIONS_DICT_EDIT_ENTRIES_LIST ;
197        Pos = MAP_APPFONT ( 12, 71 ) ;
198        Size = MAP_APPFONT ( 191, 58 ) ;
199        Border = TRUE ;
200        TabStop = TRUE ;
201    };
202    String STR_MODIFY
203    {
204        Text [ en-US ] = "~Replace" ;
205    };
206
207
208    HelpButton BTN_EDITHELP
209    {
210        Pos = MAP_APPFONT ( 145, 143 ) ;
211        Size = MAP_APPFONT ( 55, 14 ) ;
212    };
213
214    CancelButton BTN_EDITCLOSE
215    {
216        Pos = MAP_APPFONT ( 209, 143 ) ;
217        Size = MAP_APPFONT ( 55, 14 ) ;
218        Text [ en-US ] = "~Close" ;
219    };
220};
221
222// Strings ---------------------------------------------------------------
223String RID_SVXSTR_OPT_DOUBLE_DICTS
224{
225    Text [ en-US ] = "The specified name already exists.\nPlease enter a new name." ;
226};
227// RID_SFXQB_SET_LANGUAGE ------------------------------------------------
228QueryBox RID_SFXQB_SET_LANGUAGE
229{
230    Buttons = WB_YES_NO ;
231    DefButton = WB_DEF_NO ;
232    Message [ en-US ] = "Do you want to change the '%1' dictionary language?" ;
233};
234
235// ********************************************************************** EOF
236