xref: /AOO41X/main/cui/source/dialogs/SpellDialog.src (revision cc39123a9f0ac29872cce29fc5952f27dc83376a)
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 <cuires.hrc>
26#include "helpid.hrc"
27#include "SpellDialog.hrc"
28// pragma ----------------------------------------------------------------
29
30// RID_SVXDLG_SPELLCHECK -------------------------------------------------
31
32ModelessDialog RID_SVXDLG_SPELLCHECK
33{
34    HelpId = HID_SPELLCHECK ;
35    Size = MAP_APPFONT ( 270, 188 ) ;
36    OutputSize = TRUE ;
37    Closeable = TRUE ;
38    SVLook = TRUE ;
39    Hide = TRUE ;
40    Text [ en-US ] = "Spellcheck: " ;
41
42    Moveable = TRUE ;
43
44    FixedImage IMG_VENDOR
45    {
46        Pos = MAP_APPFONT ( 0, 0 ) ;
47        Size = MAP_APPFONT ( 270, 21 ) ;
48        Hide = TRUE ;
49    };
50
51    FixedText FT_LANGUAGE
52    {
53        Pos = MAP_APPFONT ( 6, 8 ) ;
54        Size = MAP_APPFONT ( 100, 8 ) ;
55        Text [ en-US ] = "Text languag~e" ;
56    };
57    ListBox LB_LANGUAGE
58    {
59        HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_LANGUAGE" ;
60        Pos = MAP_APPFONT ( 110, 6 ) ;
61        Size = MAP_APPFONT ( 93, 55 ) ;
62        Border = TRUE ;
63        Sort = TRUE ;
64        DropDown = TRUE ;
65    };
66    FixedText FT_NOTINDICT
67    {
68        Pos = MAP_APPFONT ( 6, 26 ) ;
69        Size = MAP_APPFONT ( 120, 8 ) ;
70        Text [ en-US ] = "~Not in dictionary" ;
71    };
72
73    MultiLineEdit ED_NEWWORD
74    {
75        HelpID = "cui:MultiLineEdit:RID_SVXDLG_SPELLCHECK:ED_NEWWORD" ;
76        Pos = MAP_APPFONT ( 6, 37 ) ;
77        Size = MAP_APPFONT ( 197, 48 ) ;
78        Border = TRUE ;
79        VScroll = TRUE ;
80        IgnoreTab = TRUE ;
81    };
82
83    FixedText FT_SUGGESTION
84    {
85        Pos = MAP_APPFONT ( 6, 88 ) ;
86        Size = MAP_APPFONT ( 120, 8 ) ;
87        Text [ en-US ] = "~Suggestions" ;
88    };
89    ListBox LB_SUGGESTION
90    {
91        HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_SUGGESTION" ;
92        Pos = MAP_APPFONT ( 6, 99 ) ;
93        Size = MAP_APPFONT ( 197, 48 ) ;
94        Border = TRUE ;
95    };
96
97    CheckBox CB_CHECK_GRAMMAR
98    {
99        HelpID = "cui:CheckBox:RID_SVXDLG_SPELLCHECK:CB_CHECK_GRAMMAR" ;
100        Pos = MAP_APPFONT ( 6, 153 ) ;
101        Size = MAP_APPFONT ( 100, 10 ) ;
102        Text [ en-US ] = "Check ~grammar" ;
103        Hide = TRUE ;
104    };
105
106    PushButton PB_IGNORE
107    {
108        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORE" ;
109        Pos = MAP_APPFONT ( 209, 37 ) ;
110        Size = MAP_APPFONT ( 55, 14 ) ;
111        Text [ en-US ] = "~Ignore Once" ;
112    };
113
114    PushButton PB_IGNOREALL
115    {
116        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNOREALL" ;
117        Pos = MAP_APPFONT ( 209, 54 ) ;
118        Size = MAP_APPFONT ( 55, 14 ) ;
119        Text [ en-US ] = "I~gnore All" ;
120    };
121    PushButton PB_IGNORERULE
122    {
123        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORERULE" ;
124        Pos = MAP_APPFONT ( 209, 54 ) ;
125        Size = MAP_APPFONT ( 55, 14 ) ;
126        Text [ en-US ] = "I~gnore Rule" ;
127        Hide = TRUE ;
128    };
129    MenuButton MB_ADDTODICT
130    {
131        HelpID = "cui:MenuButton:RID_SVXDLG_SPELLCHECK:MB_ADDTODICT" ;
132        Pos = MAP_APPFONT ( 209, 71 ) ;
133        Size = MAP_APPFONT ( 55, 14 ) ;
134        Text [ en-US ] = "~Add" ;
135    };
136
137    PushButton PB_CHANGE
138    {
139        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGE" ;
140        Pos = MAP_APPFONT ( 209, 99 ) ;
141        Size = MAP_APPFONT ( 55, 14 ) ;
142        Text [ en-US ] = "~Change" ;
143        DefButton = TRUE ;
144    };
145
146    PushButton PB_CHANGEALL
147    {
148        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGEALL" ;
149        Pos = MAP_APPFONT ( 209, 117 ) ;
150        Size = MAP_APPFONT ( 55, 14 ) ;
151        Text [ en-US ] = "Change A~ll" ;
152    };
153    PushButton PB_EXPLAIN
154    {
155        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_EXPLAIN" ;
156        Pos = MAP_APPFONT ( 209, 117 ) ;
157        Size = MAP_APPFONT ( 55, 14 ) ;
158        Hide = TRUE ;
159        Text [ en-US ] = "~Explain..." ;
160    };
161    PushButton PB_AUTOCORR
162    {
163        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_AUTOCORR" ;
164        Pos = MAP_APPFONT ( 209, 134 ) ;
165        Size = MAP_APPFONT ( 55, 14 ) ;
166        Text [ en-US ] = "AutoCor~rect" ;
167    };
168    GroupBox GB_BACKGROUND
169    {
170        Pos = MAP_APPFONT ( 1, 21 ) ;
171        Size = MAP_APPFONT ( 268, 146 ) ;
172        Hide = FALSE ;
173    };
174
175    HelpButton PB_HELP
176    {
177        Pos = MAP_APPFONT ( 6, 170 ) ;
178        Size = MAP_APPFONT ( 55, 14 ) ;
179    };
180    PushButton PB_OPTIONS
181    {
182        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_OPTIONS" ;
183        Pos = MAP_APPFONT ( 87, 170 ) ;
184        Size = MAP_APPFONT ( 55, 14 ) ;
185        Text [ en-US ] = "O~ptions..." ;
186    };
187    PushButton PB_UNDO
188    {
189        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_UNDO" ;
190        Pos = MAP_APPFONT ( 148, 170 ) ;
191        Size = MAP_APPFONT ( 55, 14 ) ;
192        Text [ en-US ] = "~Undo" ;
193    };
194
195    PushButton PB_CLOSE
196    {
197        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CLOSE" ;
198        Pos = MAP_APPFONT ( 209, 170 ) ;
199        Size = MAP_APPFONT ( 55, 14 ) ;
200        TabStop = TRUE ;
201        Text [ en-US ] = "Cl~ose" ;
202    };
203    String ST_RESUME
204    {
205        Text [ en-US ] = "Resu~me" ;
206    };
207    String ST_NOSUGGESTIONS
208    {
209        Text [en-US] = "(no suggestions)" ;
210    };
211    String ST_SPELLING
212    {
213        Text [ en-US ] = "Spelling: $LANGUAGE ($LOCATION)" ;
214    };
215    String ST_SPELLING_AND_GRAMMAR
216    {
217        Text [ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION)" ;
218    };
219    String ST_SPELLING_AND_GRAMMAR_VENDORNAME
220    {
221        Text [ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION) [$VendorName]" ;
222    };
223    Image IMG_DEFAULT_VENDOR
224    {
225        ImageBitmap = Bitmap {File = "vendor01.png" ;} ;
226    };
227    Image IMG_DEFAULT_VENDOR_HC
228    {
229        ImageBitmap = Bitmap {File = "vendor01h.png" ;} ;
230    };
231};
232
233// ********************************************************************** EOF
234