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