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