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