xref: /aoo41x/main/cui/source/dialogs/SpellDialog.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28#include <cuires.hrc>
29#include "helpid.hrc"
30#include "SpellDialog.hrc"
31 // pragma ----------------------------------------------------------------
32
33// RID_SVXDLG_SPELLCHECK -------------------------------------------------
34
35#define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
36
37ModelessDialog RID_SVXDLG_SPELLCHECK
38{
39	HelpId = HID_SPELLCHECK ;
40    Size = MAP_APPFONT( 270, 188 );
41	OutputSize = TRUE;
42	Closeable = TRUE ;
43	SVLook = TRUE;
44    Hide = TRUE;
45    Text [ en-US ] = "Spellcheck: " ;
46
47	Moveable = TRUE ;
48
49    FixedImage IMG_VENDOR
50    {
51        Pos = MAP_APPFONT ( 0, 0 ) ;
52        Size = MAP_APPFONT ( 270, 21  ) ;
53        Hide = TRUE;
54    };
55
56    FixedText FT_LANGUAGE
57    {
58        Pos = MAP_APPFONT(  6, 8 );
59        Size = MAP_APPFONT( 100, 8 );
60        Text [ en-US ] = "Text languag~e" ;
61    };
62    ListBox LB_LANGUAGE
63    {
64        HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_LANGUAGE";
65        Pos = MAP_APPFONT( 110, 6 );
66        Size = MAP_APPFONT( 93, 55 );
67        Border = TRUE;
68        Sort = TRUE;
69        DropDown = TRUE;
70    };
71    FixedText FT_NOTINDICT
72    {
73        Pos = MAP_APPFONT(  6, 26 );
74        Size = MAP_APPFONT( 120, 8 );
75        Text [ en-US ] = "~Not in dictionary" ;
76    };
77
78    MultiLineEdit ED_NEWWORD
79    {
80        HelpID = "cui:MultiLineEdit:RID_SVXDLG_SPELLCHECK:ED_NEWWORD";
81        Pos = MAP_APPFONT( 6, 37 );
82        Size = MAP_APPFONT( 197, 48 );
83        Border = TRUE;
84        VScroll = TRUE;
85        IgnoreTab = TRUE;
86    };
87
88    FixedText FT_SUGGESTION
89    {
90        Pos = MAP_APPFONT( 6, 88 );
91        Size = MAP_APPFONT( 120, 8 );
92        Text [ en-US ] = "~Suggestions" ;
93    };
94    ListBox LB_SUGGESTION
95	{
96        HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_SUGGESTION";
97        Pos = MAP_APPFONT( 6, 99 );
98        Size = MAP_APPFONT( 197, 48 );
99		Border = TRUE;
100	};
101
102    CheckBox CB_CHECK_GRAMMAR
103    {
104        HelpID = "cui:CheckBox:RID_SVXDLG_SPELLCHECK:CB_CHECK_GRAMMAR";
105        Pos = MAP_APPFONT(  6, 153 );
106        Size = MAP_APPFONT( 100, 10 );
107        Text [ en-US ] = "Check ~grammar" ;
108        Hide = TRUE;
109    };
110
111    PushButton PB_IGNORE
112    {
113        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORE";
114        Pos = MAP_APPFONT( 209, 37 );
115        Size = MAP_APPFONT( 55, 14 );
116        Text [ en-US ] = "~Ignore Once" ;
117    };
118
119    PushButton PB_IGNOREALL
120    {
121        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNOREALL";
122        Pos = MAP_APPFONT( 209, 54 );
123        Size = MAP_APPFONT( 55, 14 );
124        Text [ en-US ] = "I~gnore All" ;
125    };
126    PushButton PB_IGNORERULE
127    {
128        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORERULE";
129        Pos = MAP_APPFONT( 209, 54 );
130        Size = MAP_APPFONT( 55, 14 );
131        Text [ en-US ] = "I~gnore Rule" ;
132        Hide = TRUE;
133    };
134    MenuButton MB_ADDTODICT
135    {
136        HelpID = "cui:MenuButton:RID_SVXDLG_SPELLCHECK:MB_ADDTODICT";
137        Pos = MAP_APPFONT( 209, 71 );
138        Size = MAP_APPFONT( 55, 14 );
139        Text [ en-US ] = "~Add" ;
140    };
141
142    PushButton PB_CHANGE
143    {
144        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGE";
145        Pos = MAP_APPFONT( 209, 99 );
146        Size = MAP_APPFONT( 55, 14 );
147        Text [ en-US ] = "~Change" ;
148        DefButton = TRUE ;
149    };
150
151    PushButton PB_CHANGEALL
152    {
153        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGEALL";
154        Pos = MAP_APPFONT( 209, 117 );
155        Size = MAP_APPFONT( 55, 14 );
156        Text [ en-US ] = "Change A~ll" ;
157    };
158    PushButton PB_EXPLAIN
159    {
160        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_EXPLAIN";
161        Pos = MAP_APPFONT( 209, 117 );
162        Size = MAP_APPFONT( 55, 14 );
163        Hide = TRUE;
164        Text [ en-US ] = "~Explain..." ;
165    };
166    PushButton PB_AUTOCORR
167    {
168        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_AUTOCORR";
169        Pos = MAP_APPFONT( 209, 134 );
170        Size = MAP_APPFONT( 55, 14 );
171        Text [ en-US ] = "AutoCor~rect" ;
172    };
173    GroupBox GB_BACKGROUND
174    {
175        Pos = MAP_APPFONT( 1, 21 );
176        Size = MAP_APPFONT( 268, 146 );
177        Hide=TRUE;
178    };
179
180    HelpButton PB_HELP
181    {
182        Pos = MAP_APPFONT( 6, 170 );
183        Size = MAP_APPFONT( 55, 14 );
184    };
185    PushButton PB_OPTIONS
186    {
187        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_OPTIONS";
188        Pos = MAP_APPFONT( 87, 170 );
189        Size = MAP_APPFONT( 55, 14 );
190        Text [ en-US ] = "O~ptions..." ;
191    };
192    PushButton PB_UNDO
193    {
194        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_UNDO";
195        Pos = MAP_APPFONT( 148, 170 );
196        Size = MAP_APPFONT( 55, 14 );
197        Text [ en-US ] = "~Undo" ;
198    };
199
200    PushButton PB_CLOSE
201    {
202        HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CLOSE";
203        Pos = MAP_APPFONT ( 209 , 170 ) ;
204        Size = MAP_APPFONT ( 55 , 14 ) ;
205        TabStop = TRUE ;
206        Text [ en-US ] = "Cl~ose" ;
207    };
208    String ST_RESUME
209    {
210        Text[ en-US ] = "Resu~me";
211    };
212    String ST_NOSUGGESTIONS
213    {
214        Text [en-US] = "(no suggestions)";
215    };
216    String ST_SPELLING
217    {
218        Text[ en-US ] = "Spelling: $LANGUAGE ($LOCATION)";
219    };
220    String ST_SPELLING_AND_GRAMMAR
221    {
222        Text[ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION)";
223    };
224    String ST_SPELLING_AND_GRAMMAR_VENDORNAME
225    {
226        Text[ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION) [$VendorName]";
227    };
228    Image IMG_DEFAULT_VENDOR
229    {
230        ImageBitmap = Bitmap { File = "vendor01.png"; };
231    };
232    Image IMG_DEFAULT_VENDOR_HC
233    {
234        ImageBitmap = Bitmap { File = "vendor01h.png"; };
235    };
236
237};
238 // ********************************************************************** EOF
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258