1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
28 // include ------------------------------------------------------------------
30 #include "optlingu.hrc"
33 #include <svtools/controldims.hrc>
34 #include <sfx2/sfx.hrc>
37 // RID_SVXDLG_EDIT_MODULES ---------------------------------------------------
39 ModalDialog RID_SVXDLG_EDIT_MODULES
41 HelpID = HID_EDIT_MODULES ;
44 Size = MAP_APPFONT ( 240 , 197 ) ;
45 Text [ en-US ] = "Edit Modules";
47 FixedLine FL_EDIT_MODULES_OPTIONS
49 Pos = MAP_APPFONT ( RSC_SP_FLGR_INNERBORDER_LEFT , RSC_SP_FLGR_INNERBORDER_TOP ) ;
50 Size = MAP_APPFONT ( 240 - 2*RSC_SP_FLGR_INNERBORDER_LEFT , RSC_CD_FIXEDLINE_HEIGHT ) ;
51 Text [ en-US ] = "Options";
53 FixedText FT_EDIT_MODULES_LANGUAGE
56 Pos = MAP_APPFONT ( 12 , 16 ) ;
57 Size = MAP_APPFONT ( 68 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
58 Text [ en-US ] = "Language";
60 ListBox LB_EDIT_MODULES_LANGUAGE
62 HelpID = "cui:ListBox:RID_SVXDLG_EDIT_MODULES:LB_EDIT_MODULES_LANGUAGE";
64 Pos = MAP_APPFONT ( 83 , 14 ) ;
65 Size = MAP_APPFONT ( 95 , 80 ) ;
69 Control CLB_EDIT_MODULES_MODULES
71 Pos = MAP_APPFONT ( 12 , 32 ) ;
72 Size = MAP_APPFONT ( 166 , 120 ) ;
76 PushButton PB_EDIT_MODULES_PRIO_UP
78 HelpID = "cui:PushButton:RID_SVXDLG_EDIT_MODULES:PB_EDIT_MODULES_PRIO_UP";
79 Pos = MAP_APPFONT ( 184 , 32 ) ;
80 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
82 Text [ en-US ] = "Move Up";
84 PushButton PB_EDIT_MODULES_PRIO_DOWN
86 HelpID = "cui:PushButton:RID_SVXDLG_EDIT_MODULES:PB_EDIT_MODULES_PRIO_DOWN";
87 Pos = MAP_APPFONT ( 184 , 49 ) ;
88 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
90 Text [ en-US ] = "Move Down";
92 PushButton PB_EDIT_MODULES_PRIO_BACK
94 HelpID = "cui:PushButton:RID_SVXDLG_EDIT_MODULES:PB_EDIT_MODULES_PRIO_BACK";
95 Pos = MAP_APPFONT ( 184 , 66 ) ;
96 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
98 Text [ en-US ] = "~Back";
100 FixedText FT_EDIT_MODULES_NEWDICTSLINK
103 Pos = MAP_APPFONT ( 12 , 155 ) ;
104 Size = MAP_APPFONT ( 169 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
105 Text [ en-US ] = "~Get more dictionaries online...";
107 FixedLine FL_EDIT_MODULES_BUTTONS
109 Pos = MAP_APPFONT ( 0 , 166 ) ;
110 Size = MAP_APPFONT ( 240 , RSC_CD_FIXEDLINE_HEIGHT ) ;
114 Pos = MAP_APPFONT ( 12, 177 ) ;
115 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
119 Pos = MAP_APPFONT ( 184 , 177 ) ;
120 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
121 Text [ en-US ] = "Close";
126 Text [ en-US ] = "Spelling";
130 Text [ en-US ] = "Hyphenation";
134 Text [ en-US ] = "Thesaurus";
138 Text [ en-US ] = "Grammar";
142 // RID_SVXDLG_LNG_ED_NUM_PREBREAK -------------------------------------------
144 ModalDialog RID_SVXDLG_LNG_ED_NUM_PREBREAK
146 HelpID = HID_LNGDLG_NUM_PREBREAK ;
149 Size = MAP_APPFONT ( 155 , 43 ) ;
150 Text [ en-US ] = "Hyphenation";
151 FixedLine FL_NUMVAL_PREBREAK
153 Pos = MAP_APPFONT ( 6 , 3 ) ;
154 Size = MAP_APPFONT ( 87 , 8 ) ;
156 OKButton BT_OK_PREBREAK
158 Pos = MAP_APPFONT ( 99 , 6 ) ;
159 Size = MAP_APPFONT ( 50 , 14 ) ;
163 CancelButton BT_CANCEL_PREBREAK
165 Pos = MAP_APPFONT ( 99 , 23 ) ;
166 Size = MAP_APPFONT ( 50 , 14 ) ;
169 NumericField ED_PREBREAK
171 HelpID = "cui:NumericField:RID_SVXDLG_LNG_ED_NUM_PREBREAK:ED_PREBREAK";
173 Pos = MAP_APPFONT ( 56 , 14 ) ;
174 Size = MAP_APPFONT ( 31 , 12 ) ;
183 String STR_NUM_PRE_BREAK_DLG
185 Text [ en-US ] = "Characters before break";
187 String STR_NUM_POST_BREAK_DLG
189 Text [ en-US ] = "Characters after break";
191 String STR_NUM_MIN_WORDLEN_DLG
193 Text [ en-US ] = "Minimal word length";
197 // RID_SFXPAGE_LINGU --------------------------------------------------------
199 TabPage RID_SFXPAGE_LINGU
201 HelpId = HID_OPTIONS_LINGU ;
204 Size = MAP_APPFONT ( 260 , 185 ) ;
205 Text [ en-US ] = "Options";
206 FixedLine FL_LINGUISTIC
208 Pos = MAP_APPFONT ( 6 , 3 ) ;
209 Size = MAP_APPFONT ( 248 , 8 ) ;
210 Text [ en-US ] = "Writing aids";
212 FixedText FT_LINGU_MODULES
215 Pos = MAP_APPFONT ( 12 , 14 ) ;
216 Size = MAP_APPFONT ( 175 , 8 ) ;
217 Text [ en-US ] = "Available language modules";
219 Control CLB_LINGU_MODULES
221 Pos = MAP_APPFONT ( 12 , 25 ) ;
222 Size = MAP_APPFONT ( 182 , 30 ) ;
226 PushButton PB_LINGU_MODULES_EDIT
228 HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_MODULES_EDIT";
229 Pos = MAP_APPFONT ( 198 , 25 ) ;
230 Size = MAP_APPFONT ( 50 , 14 ) ;
232 Text [ en-US ] = "~Edit...";
234 FixedText FT_LINGU_DICS
237 Pos = MAP_APPFONT ( 12 , 59 ) ;
238 Size = MAP_APPFONT ( 175 , 8 ) ;
239 Text [ en-US ] = "User-defined dictionaries";
241 Control CLB_LINGU_DICS
243 Pos = MAP_APPFONT ( 12 , 70 ) ;
244 Size = MAP_APPFONT ( 182 , 48 ) ;
248 PushButton PB_LINGU_DICS_NEW_DIC
250 HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_DICS_NEW_DIC";
251 Pos = MAP_APPFONT ( 198 , 70 ) ;
252 Size = MAP_APPFONT ( 50 , 14 ) ;
254 Text [ en-US ] = "~New...";
256 PushButton PB_LINGU_DICS_EDIT_DIC
258 HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_DICS_EDIT_DIC";
259 Pos = MAP_APPFONT ( 198 , 87 ) ;
260 Size = MAP_APPFONT ( 50 , 14 ) ;
262 Text [ en-US ] = "Ed~it...";
264 PushButton PB_LINGU_DICS_DEL_DIC
266 HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_DICS_DEL_DIC";
267 Pos = MAP_APPFONT ( 198 , 104 ) ;
268 Size = MAP_APPFONT ( 50 , 14 ) ;
270 Text [ en-US ] = "~Delete";
272 FixedText FT_LINGU_OPTIONS
275 Pos = MAP_APPFONT ( 12 , 122 ) ;
276 Size = MAP_APPFONT ( 175 , 8 ) ;
277 Text [ en-US ] = "~Options";
279 Control CLB_LINGU_OPTIONS
281 Pos = MAP_APPFONT ( 12 , 133 ) ;
282 Size = MAP_APPFONT ( 182 , 46 ) ;
286 PushButton PB_LINGU_OPTIONS_EDIT
288 HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_OPTIONS_EDIT";
289 Pos = MAP_APPFONT ( 198 , 133 ) ;
290 Size = MAP_APPFONT ( 50 , 14 ) ;
292 Text [ en-US ] = "Edi~t...";
294 FixedText FT_LINGU_OPTIONS_MOREDICTS
298 Pos = MAP_APPFONT ( 12 , 182 ) ;
299 Size = MAP_APPFONT ( 182 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
300 Text [ en-US ] = "~Get more dictionaries online...";
303 String STR_CAPITAL_WORDS
305 Text [ en-US ] = "Check uppercase words";
307 String STR_WORDS_WITH_DIGITS
309 Text [ en-US ] = "Check words with numbers ";
311 String STR_CAPITALIZATION
313 Text [ en-US ] = "Check capitalization";
315 String STR_SPELL_SPECIAL
317 Text [ en-US ] = "Check special regions";
319 String STR_SPELL_AUTO
321 Text [ en-US ] = "Check spelling as you type";
323 String STR_GRAMMAR_AUTO
325 Text [ en-US ] = "Check grammar as you type";
327 String STR_NUM_MIN_WORDLEN
329 Text [ en-US ] = "Minimal number of characters for hyphenation: ";
331 String STR_NUM_PRE_BREAK
333 Text [ en-US ] = "Characters before line break: ";
335 String STR_NUM_POST_BREAK
337 Text [ en-US ] = "Characters after line break: ";
341 Text [ en-US ] = "Hyphenate without inquiry";
343 String STR_HYPH_SPECIAL
345 Text [ en-US ] = "Hyphenate special regions";
347 String STR_LINGU_MODULES_EDIT
349 Text [ en-US ] = "Edit Available language modules";
351 String STR_LINGU_DICS_EDIT_DIC
353 Text [ en-US ] = "Edit User-defined dictionaries";
355 String STR_LINGU_OPTIONS_EDIT
357 Text [ en-US ] = "Edit Options";
359 // ------ IAccessibility2 implementation 2009.
361 // end: TabPage RID_SFXPAGE_LINGU
363 // RID_SFXQB_DELDICT --------------------------------------------------------
364 QueryBox RID_SFXQB_DELDICT
366 Buttons = WB_YES_NO ;
367 DefButton = WB_DEF_NO ;
368 Message [ en-US ] = "Do you want to delete the dictionary?" ;
370 // ******************************************************************* EOF