1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: optcolor.src,v $
10 * $Revision: 1.47.196.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 // include ---------------------------------------------------------------
31 #include <sfx2/sfx.hrc>
33 #include <svx/dialogs.hrc>
34 #include "optcolor.hrc"
35 // pragma ----------------------------------------------------------------
37 TabPage RID_SVXPAGE_COLORCONFIG
39 HelpId = HID_OPTIONS_COLORCONFIG ;
43 Size = MAP_APPFONT ( 260 , 185 ) ;
44 FixedLine FL_COLORSCHEME
46 Pos = MAP_APPFONT ( 6 , 3 ) ;
47 Size = MAP_APPFONT ( 248 , 8 ) ;
48 Text [ en-US ] = "Color scheme";
50 FixedText FT_COLORSCHEME
52 Pos = MAP_APPFONT ( 12 , 16 ) ;
53 Size = MAP_APPFONT ( 50 , 8 ) ;
54 Text [ en-US ] = "Scheme";
56 ListBox LB_COLORSCHEME
58 Pos = MAP_APPFONT ( 65 , 14 ) ;
59 Size = MAP_APPFONT ( 77 , 58 ) ;
64 PushButton PB_SAVESCHEME
66 Pos = MAP_APPFONT ( 145, 13 ) ;
67 Size = MAP_APPFONT ( 50 , 14 ) ;
68 Text [ en-US ] = "Save...";
70 PushButton PB_DELETESCHEME
72 Pos = MAP_APPFONT ( 198 , 13 ) ;
73 Size = MAP_APPFONT ( 50 , 14 ) ;
74 Text [ en-US ] = "Delete";
76 FixedLine FL_CUSTOMCOLORS
78 Pos = MAP_APPFONT ( 6 , 34 ) ;
79 Size = MAP_APPFONT ( 248 , 8 ) ;
81 Text [ en-US ] = "Custom colors";
83 Control CT_COLORCONFIG
85 Pos = MAP_APPFONT ( 12 , 45 ) ;
86 Size = MAP_APPFONT ( 236 , 134 ) ;
92 Pos = MAP_APPFONT ( 228 , 10 ) ;
93 Size = MAP_APPFONT ( 8 , 124 ) ;
98 Text [ en-US ] = "On";
102 Text [ en-US ] = "User interface elements";
106 Text [ en-US ] = "Color setting";
110 Text [ en-US ] = "Preview";
115 // misc defines to shorten defining of standard elements
117 #define FT_SEP_SIZE Size = MAP_APPFONT ( _FT_WIDTH , 8 )
118 #define FT_SIZE Size = MAP_APPFONT ( _FT_WIDTH , _FT_HEIGHT )
119 #define LB_SIZE Size = MAP_APPFONT ( _LB_WIDTH , _LB_HEIGHT )
120 #define WN_SIZE Size = MAP_APPFONT ( _WN_WIDTH , _WN_HEIGHT )
121 #define CB_SIZE Size = MAP_APPFONT ( _CB_WIDTH , _FT_HEIGHT )
123 // combination of position and size
124 #define POS_SIZE( POSX, LINENUM, CONTRL_SIZE ) Pos = MAP_APPFONT ( POSX , LINENUM * _LINE_HEIGHT ) ; CONTRL_SIZE
126 // ... for special types
127 #define FT_SEP_POS_SIZE( LINENUM ) POS_SIZE( 14, LINENUM, FT_SEP_SIZE )
128 #define FT_POS_SIZE( LINENUM ) POS_SIZE( _FT_XPOS, LINENUM, FT_SIZE )
129 #define LB_POS_SIZE( LINENUM ) POS_SIZE( _LB_XPOS, LINENUM, LB_SIZE )
130 #define WN_POS_SIZE( LINENUM ) POS_SIZE( _WN_XPOS, LINENUM, WN_SIZE )
131 #define CB_POS_SIZE( LINENUM ) POS_SIZE( _CB_XPOS, LINENUM, CB_SIZE )
133 // combination of a listbox (color chooser) and window (color preview)
134 #define LB_WN( ID_POST, LINENUM ) ListBox LB_#ID_POST{LB_POS_SIZE(LINENUM);DropDown=TRUE;};Window WN_#ID_POST{WN_POS_SIZE(LINENUM);Border=TRUE;};
137 Pos = MAP_APPFONT ( 0 , 10 ) ;
138 Size = MAP_APPFONT ( 228 , 124 ) ;
139 DialogControl = TRUE;
143 FT_SEP_POS_SIZE( 0 );
144 Text [ en-US ] = "General";
147 FixedText FT_DOCCOLOR
150 Text [ en-US ] = "Document background";
157 Text [ en-US ] = "Text boundaries";
161 FixedText FT_APPBACKGROUND
164 Text [ en-US ] = "Application background";
166 LB_WN( APPBACKGROUND, 3 )
168 CheckBox CB_OBJECTBOUNDARIES
171 Text [ en-US ] = "Object boundaries";
173 LB_WN( OBJECTBOUNDARIES, 4 )
175 CheckBox CB_TABLEBOUNDARIES
178 Text [ en-US ] = "Table boundaries";
180 LB_WN( TABLEBOUNDARIES, 5 )
182 FixedText FT_FONTCOLOR
185 Text [ en-US ] = "Font color";
187 LB_WN( FONTCOLOR, 6 )
192 Text [ en-US ] = "Unvisited links";
196 CheckBox CB_LINKSVISITED
199 Text [ en-US ] = "Visited links";
201 LB_WN( LINKSVISITED, 8 )
206 Text [ en-US ] = "AutoSpellcheck";
210 FixedText FT_SMARTTAGS
213 Text [ en-US ] = "Smart Tags";
215 LB_WN( SMARTTAGS, 10 )
219 FT_SEP_POS_SIZE( 11 );
220 Text [ en-US ] = "Text Document";
223 FixedText FT_WRITERTEXTGRID
226 Text [ en-US ] = "Grid";
228 LB_WN( WRITERTEXTGRID, 12 )
230 CheckBox CB_WRITERFIELDSHADINGS
233 Text [ en-US ] = "Field shadings";
235 LB_WN( WRITERFIELDSHADINGS, 13 )
237 CheckBox CB_WRITERIDXSHADINGS
240 Text [ en-US ] = "Index and table shadings";
242 LB_WN( WRITERIDXSHADINGS, 14 )
245 FixedText FT_WRITERSCRIPTINDICATOR
248 Text [ en-US ] = "Script indicator";
250 LB_WN( WRITERSCRIPTINDICATOR, 15 )
252 CheckBox CB_WRITERSECTIONBOUNDARIES
255 Text [ en-US ] = "Section boundaries";
257 LB_WN( WRITERSECTIONBOUNDARIES, 16 )
259 FixedText FT_WRITERPAGEBREAKS
262 Text [ en-US ] = "Page and column breaks";
264 LB_WN( WRITERPAGEBREAKS, 17 )
266 FixedText FT_WRITERDIRECTCURSOR
269 Text [ en-US ] = "Direct cursor";
271 LB_WN( WRITERDIRECTCURSOR, 18 )
275 FT_SEP_POS_SIZE( 19 );
276 Text [ en-US ] = "HTML Document";
279 FixedText FT_HTMLSGML
282 Text [ en-US ] = "SGML syntax highlighting";
284 LB_WN( HTMLSGML, 20 )
286 FixedText FT_HTMLCOMMENT
289 Text [ en-US ] = "Comment highlighting";
291 LB_WN( HTMLCOMMENT, 21 )
293 FixedText FT_HTMLKEYWORD
296 Text [ en-US ] = "Keyword highlighting";
298 LB_WN( HTMLKEYWORD, 22 )
300 FixedText FT_HTMLUNKNOWN
303 Text [ en-US ] = "Text";
305 LB_WN( HTMLUNKNOWN, 23 )
309 FT_SEP_POS_SIZE( 24 );
310 Text [ en-US ] = "Spreadsheet";
313 FixedText FT_CALCGRID
316 Text [ en-US ] = "Grid lines";
318 LB_WN( CALCGRID, 25 )
320 FixedText FT_CALCPAGEBREAK
323 Text [ en-US ] = "Page breaks";
325 LB_WN( CALCPAGEBREAK, 26 )
327 FixedText FT_CALCPAGEBREAKMANUAL
330 Text [ en-US ] = "Manual page breaks";
332 LB_WN( CALCPAGEBREAKMANUAL, 27 )
334 FixedText FT_CALCPAGEBREAKAUTO
337 Text [ en-US ] = "Automatic page breaks";
339 LB_WN( CALCPAGEBREAKAUTO, 28)
341 FixedText FT_CALCDETECTIVE
344 Text [ en-US ] = "Detective";
346 LB_WN( CALCDETECTIVE, 29 )
348 FixedText FT_CALCDETECTIVEERROR
351 Text [ en-US ] = "Detective error";
353 LB_WN( CALCDETECTIVEERROR, 30 )
355 FixedText FT_CALCREFERENCE
358 Text [ en-US ] = "References";
360 LB_WN( CALCREFERENCE, 31 )
362 FixedText FT_CALCNOTESBACKGROUND
365 Text [ en-US ] = "Notes background";
367 LB_WN( CALCNOTESBACKGROUND, 32 )
371 FT_SEP_POS_SIZE( 33 );
372 Text [ en-US ] = "Drawing / Presentation";
375 FixedText FT_DRAWGRID
378 Text [ en-US ] = "Grid";
380 LB_WN( DRAWGRID, 34 )
384 FT_SEP_POS_SIZE( 35 );
385 Text [ en-US ] = "Basic Syntax Highlighting";
388 FixedText FT_BASICIDENTIFIER
391 Text [ en-US ] = "Identifier";
393 LB_WN( BASICIDENTIFIER, 36 )
395 FixedText FT_BASICCOMMENT
398 Text [ en-US ] = "Comment";
400 LB_WN( BASICCOMMENT, 37 )
402 FixedText FT_BASICNUMBER
405 Text [ en-US ] = "Number";
407 LB_WN( BASICNUMBER, 38)
409 FixedText FT_BASICSTRING
412 Text [ en-US ] = "String";
414 LB_WN( BASICSTRING, 39 )
416 FixedText FT_BASICOPERATOR
419 Text [ en-US ] = "Operator";
421 LB_WN( BASICOPERATOR, 40 )
423 FixedText FT_BASICKEYWORD
426 Text [ en-US ] = "Reserved expression";
428 LB_WN( BASICKEYWORD, 41 )
430 FixedText FT_BASICERROR
433 Text [ en-US ] = "Error";
435 LB_WN( BASICERROR, 42 )
437 FixedText FT_SQL_COMMAND
439 FT_SEP_POS_SIZE( 43 );
440 Text [ en-US ] = "SQL Syntax Highlighting";
443 FixedText FT_SQLIDENTIFIER
446 Text [ en-US ] = "Identifier";
448 LB_WN( SQLIDENTIFIER, 44 )
450 FixedText FT_SQLNUMBER
453 Text [ en-US ] = "Number";
455 LB_WN( SQLNUMBER, 45 )
457 FixedText FT_SQLSTRING
460 Text [ en-US ] = "String";
462 LB_WN( SQLSTRING, 46 )
464 FixedText FT_SQLOPERATOR
467 Text [ en-US ] = "Operator";
469 LB_WN( SQLOPERATOR, 47 )
471 FixedText FT_SQLKEYWORD
474 Text [ en-US ] = "Keyword";
476 LB_WN( SQLKEYWORD, 48 )
478 FixedText FT_SQLPARAMETER
481 Text [ en-US ] = "Parameter";
483 LB_WN( SQLPARAMETER, 49 )
485 FixedText FT_SQLCOMMENT
488 Text [ en-US ] = "Comment";
490 LB_WN( SQLCOMMENT, 50 )
494 Text [ en-US ] = "Colorsettings of the Extensions";
496 String ST_SPELL_CHECK_HIGHLIGHTING
498 Text [ en-US ] = "Spell check highlighting";
500 String ST_GRAMMAR_CHECK_HIGHLIGHTING
502 Text [ en-US ] = "Grammar check highlighting";
507 QueryBox RID_SVXQB_DELETE_COLOR_CONFIG
509 Buttons = WB_YES_NO ;
510 DefButton = WB_DEF_NO ;
511 Message [ en-US ] = "Do you really want to delete the color scheme?" ;
513 String RID_SVXSTR_COLOR_CONFIG_DELETE
515 Text [ en-US ] = "Color Scheme Deletion" ;
517 String RID_SVXSTR_COLOR_CONFIG_SAVE1
519 Text [ en-US ] = "Save scheme" ;
521 String RID_SVXSTR_COLOR_CONFIG_SAVE2
523 Text [ en-US ] = "Name of color scheme" ;