xref: /AOO41X/main/cui/source/dialogs/SpellDialog.src (revision cc39123a9f0ac29872cce29fc5952f27dc83376a)
10e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
19cdf0e10cSrcweir *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23*cc39123aSmseidel
24cdf0e10cSrcweir// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include <cuires.hrc>
26cdf0e10cSrcweir#include "helpid.hrc"
27cdf0e10cSrcweir#include "SpellDialog.hrc"
28cdf0e10cSrcweir// pragma ----------------------------------------------------------------
29cdf0e10cSrcweir
30cdf0e10cSrcweir// RID_SVXDLG_SPELLCHECK -------------------------------------------------
31cdf0e10cSrcweir
32cdf0e10cSrcweirModelessDialog RID_SVXDLG_SPELLCHECK
33cdf0e10cSrcweir{
34cdf0e10cSrcweir	HelpId = HID_SPELLCHECK ;
35cdf0e10cSrcweir	Size = MAP_APPFONT ( 270, 188 ) ;
36cdf0e10cSrcweir	OutputSize = TRUE ;
37cdf0e10cSrcweir	Closeable = TRUE ;
38cdf0e10cSrcweir	SVLook = TRUE ;
39cdf0e10cSrcweir	Hide = TRUE ;
40cdf0e10cSrcweir	Text [ en-US ] = "Spellcheck: " ;
41cdf0e10cSrcweir
42cdf0e10cSrcweir	Moveable = TRUE ;
43cdf0e10cSrcweir
44cdf0e10cSrcweir	FixedImage IMG_VENDOR
45cdf0e10cSrcweir	{
46cdf0e10cSrcweir		Pos = MAP_APPFONT ( 0, 0 ) ;
47cdf0e10cSrcweir		Size = MAP_APPFONT ( 270, 21 ) ;
48cdf0e10cSrcweir		Hide = TRUE ;
49cdf0e10cSrcweir	};
50cdf0e10cSrcweir
51cdf0e10cSrcweir	FixedText FT_LANGUAGE
52cdf0e10cSrcweir	{
53cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6, 8 ) ;
54cdf0e10cSrcweir		Size = MAP_APPFONT ( 100, 8 ) ;
55cdf0e10cSrcweir		Text [ en-US ] = "Text languag~e" ;
56cdf0e10cSrcweir	};
57cdf0e10cSrcweir	ListBox LB_LANGUAGE
58cdf0e10cSrcweir	{
59cdf0e10cSrcweir		HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_LANGUAGE" ;
60cdf0e10cSrcweir		Pos = MAP_APPFONT ( 110, 6 ) ;
61cdf0e10cSrcweir		Size = MAP_APPFONT ( 93, 55 ) ;
62cdf0e10cSrcweir		Border = TRUE ;
63cdf0e10cSrcweir		Sort = TRUE ;
64cdf0e10cSrcweir		DropDown = TRUE ;
65cdf0e10cSrcweir	};
66cdf0e10cSrcweir	FixedText FT_NOTINDICT
67cdf0e10cSrcweir	{
68cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6, 26 ) ;
69cdf0e10cSrcweir		Size = MAP_APPFONT ( 120, 8 ) ;
70cdf0e10cSrcweir		Text [ en-US ] = "~Not in dictionary" ;
71cdf0e10cSrcweir	};
72cdf0e10cSrcweir
73cdf0e10cSrcweir	MultiLineEdit ED_NEWWORD
74cdf0e10cSrcweir	{
75cdf0e10cSrcweir		HelpID = "cui:MultiLineEdit:RID_SVXDLG_SPELLCHECK:ED_NEWWORD" ;
76cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6, 37 ) ;
77cdf0e10cSrcweir		Size = MAP_APPFONT ( 197, 48 ) ;
78cdf0e10cSrcweir		Border = TRUE ;
79cdf0e10cSrcweir		VScroll = TRUE ;
80cdf0e10cSrcweir		IgnoreTab = TRUE ;
81cdf0e10cSrcweir	};
82cdf0e10cSrcweir
83cdf0e10cSrcweir	FixedText FT_SUGGESTION
84cdf0e10cSrcweir	{
85cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6, 88 ) ;
86cdf0e10cSrcweir		Size = MAP_APPFONT ( 120, 8 ) ;
87cdf0e10cSrcweir		Text [ en-US ] = "~Suggestions" ;
88cdf0e10cSrcweir	};
89cdf0e10cSrcweir	ListBox LB_SUGGESTION
90cdf0e10cSrcweir	{
91cdf0e10cSrcweir		HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_SUGGESTION" ;
92cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6, 99 ) ;
93cdf0e10cSrcweir		Size = MAP_APPFONT ( 197, 48 ) ;
94cdf0e10cSrcweir		Border = TRUE ;
95cdf0e10cSrcweir	};
96cdf0e10cSrcweir
97cdf0e10cSrcweir	CheckBox CB_CHECK_GRAMMAR
98cdf0e10cSrcweir	{
99cdf0e10cSrcweir		HelpID = "cui:CheckBox:RID_SVXDLG_SPELLCHECK:CB_CHECK_GRAMMAR" ;
100cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6, 153 ) ;
101cdf0e10cSrcweir		Size = MAP_APPFONT ( 100, 10 ) ;
102cdf0e10cSrcweir		Text [ en-US ] = "Check ~grammar" ;
103cdf0e10cSrcweir		Hide = TRUE ;
104cdf0e10cSrcweir	};
105cdf0e10cSrcweir
106cdf0e10cSrcweir	PushButton PB_IGNORE
107cdf0e10cSrcweir	{
108cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORE" ;
109cdf0e10cSrcweir		Pos = MAP_APPFONT ( 209, 37 ) ;
110cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
111cdf0e10cSrcweir		Text [ en-US ] = "~Ignore Once" ;
112cdf0e10cSrcweir	};
113cdf0e10cSrcweir
114cdf0e10cSrcweir	PushButton PB_IGNOREALL
115cdf0e10cSrcweir	{
116cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNOREALL" ;
117cdf0e10cSrcweir		Pos = MAP_APPFONT ( 209, 54 ) ;
118cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
119cdf0e10cSrcweir		Text [ en-US ] = "I~gnore All" ;
120cdf0e10cSrcweir	};
121cdf0e10cSrcweir	PushButton PB_IGNORERULE
122cdf0e10cSrcweir	{
123cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORERULE" ;
124cdf0e10cSrcweir		Pos = MAP_APPFONT ( 209, 54 ) ;
125cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
126cdf0e10cSrcweir		Text [ en-US ] = "I~gnore Rule" ;
127cdf0e10cSrcweir		Hide = TRUE ;
128cdf0e10cSrcweir	};
129cdf0e10cSrcweir	MenuButton MB_ADDTODICT
130cdf0e10cSrcweir	{
131cdf0e10cSrcweir		HelpID = "cui:MenuButton:RID_SVXDLG_SPELLCHECK:MB_ADDTODICT" ;
132cdf0e10cSrcweir		Pos = MAP_APPFONT ( 209, 71 ) ;
133cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
134cdf0e10cSrcweir		Text [ en-US ] = "~Add" ;
135cdf0e10cSrcweir	};
136cdf0e10cSrcweir
137cdf0e10cSrcweir	PushButton PB_CHANGE
138cdf0e10cSrcweir	{
139cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGE" ;
140cdf0e10cSrcweir		Pos = MAP_APPFONT ( 209, 99 ) ;
141cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
142cdf0e10cSrcweir		Text [ en-US ] = "~Change" ;
143cdf0e10cSrcweir		DefButton = TRUE ;
144cdf0e10cSrcweir	};
145cdf0e10cSrcweir
146cdf0e10cSrcweir	PushButton PB_CHANGEALL
147cdf0e10cSrcweir	{
148cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGEALL" ;
149cdf0e10cSrcweir		Pos = MAP_APPFONT ( 209, 117 ) ;
150cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
151cdf0e10cSrcweir		Text [ en-US ] = "Change A~ll" ;
152cdf0e10cSrcweir	};
153cdf0e10cSrcweir	PushButton PB_EXPLAIN
154cdf0e10cSrcweir	{
155cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_EXPLAIN" ;
156cdf0e10cSrcweir		Pos = MAP_APPFONT ( 209, 117 ) ;
157cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
158cdf0e10cSrcweir		Hide = TRUE ;
159cdf0e10cSrcweir		Text [ en-US ] = "~Explain..." ;
160cdf0e10cSrcweir	};
161cdf0e10cSrcweir	PushButton PB_AUTOCORR
162cdf0e10cSrcweir	{
163cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_AUTOCORR" ;
164cdf0e10cSrcweir		Pos = MAP_APPFONT ( 209, 134 ) ;
165cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
166cdf0e10cSrcweir		Text [ en-US ] = "AutoCor~rect" ;
167cdf0e10cSrcweir	};
168cdf0e10cSrcweir	GroupBox GB_BACKGROUND
169cdf0e10cSrcweir	{
170cdf0e10cSrcweir		Pos = MAP_APPFONT ( 1, 21 ) ;
171cdf0e10cSrcweir		Size = MAP_APPFONT ( 268, 146 ) ;
172*cc39123aSmseidel		Hide = FALSE ;
173cdf0e10cSrcweir	};
174cdf0e10cSrcweir
175cdf0e10cSrcweir	HelpButton PB_HELP
176cdf0e10cSrcweir	{
177cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6, 170 ) ;
178cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
179cdf0e10cSrcweir	};
180cdf0e10cSrcweir	PushButton PB_OPTIONS
181cdf0e10cSrcweir	{
182cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_OPTIONS" ;
183cdf0e10cSrcweir		Pos = MAP_APPFONT ( 87, 170 ) ;
184cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
185cdf0e10cSrcweir		Text [ en-US ] = "O~ptions..." ;
186cdf0e10cSrcweir	};
187cdf0e10cSrcweir	PushButton PB_UNDO
188cdf0e10cSrcweir	{
189cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_UNDO" ;
190cdf0e10cSrcweir		Pos = MAP_APPFONT ( 148, 170 ) ;
191cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
192cdf0e10cSrcweir		Text [ en-US ] = "~Undo" ;
193cdf0e10cSrcweir	};
194cdf0e10cSrcweir
195cdf0e10cSrcweir	PushButton PB_CLOSE
196cdf0e10cSrcweir	{
197cdf0e10cSrcweir		HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CLOSE" ;
198cdf0e10cSrcweir		Pos = MAP_APPFONT ( 209, 170 ) ;
199cdf0e10cSrcweir		Size = MAP_APPFONT ( 55, 14 ) ;
200cdf0e10cSrcweir		TabStop = TRUE ;
201cdf0e10cSrcweir		Text [ en-US ] = "Cl~ose" ;
202cdf0e10cSrcweir	};
203cdf0e10cSrcweir	String ST_RESUME
204cdf0e10cSrcweir	{
205cdf0e10cSrcweir		Text [ en-US ] = "Resu~me" ;
206cdf0e10cSrcweir	};
207cdf0e10cSrcweir	String ST_NOSUGGESTIONS
208cdf0e10cSrcweir	{
209cdf0e10cSrcweir		Text [en-US] = "(no suggestions)" ;
210cdf0e10cSrcweir	};
211cdf0e10cSrcweir	String ST_SPELLING
212cdf0e10cSrcweir	{
213cdf0e10cSrcweir		Text [ en-US ] = "Spelling: $LANGUAGE ($LOCATION)" ;
214cdf0e10cSrcweir	};
215cdf0e10cSrcweir	String ST_SPELLING_AND_GRAMMAR
216cdf0e10cSrcweir	{
217cdf0e10cSrcweir		Text [ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION)" ;
218cdf0e10cSrcweir	};
219cdf0e10cSrcweir	String ST_SPELLING_AND_GRAMMAR_VENDORNAME
220cdf0e10cSrcweir	{
221cdf0e10cSrcweir		Text [ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION) [$VendorName]" ;
222cdf0e10cSrcweir	};
223cdf0e10cSrcweir	Image IMG_DEFAULT_VENDOR
224cdf0e10cSrcweir	{
225cdf0e10cSrcweir		ImageBitmap = Bitmap {File = "vendor01.png" ;} ;
226cdf0e10cSrcweir	};
227cdf0e10cSrcweir	Image IMG_DEFAULT_VENDOR_HC
228cdf0e10cSrcweir	{
229cdf0e10cSrcweir		ImageBitmap = Bitmap {File = "vendor01h.png" ;} ;
230cdf0e10cSrcweir	};
231cdf0e10cSrcweir};
232*cc39123aSmseidel
233cdf0e10cSrcweir// ********************************************************************** EOF
234