xref: /AOO41X/main/cui/source/options/optcolor.src (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
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 <sfx2/sfx.hrc>
29#include "helpid.hrc"
30#include <cuires.hrc>
31#include "optcolor.hrc"
32 // pragma ----------------------------------------------------------------
33
34TabPage RID_SVXPAGE_COLORCONFIG
35{
36    HelpId = HID_OPTIONS_COLORCONFIG ;
37    OutputSize = TRUE ;
38    SVLook = TRUE ;
39	Hide = TRUE ;
40	Size = MAP_APPFONT ( 260 , 185 ) ;
41    FixedLine FL_COLORSCHEME
42    {
43        Pos = MAP_APPFONT ( 6 , 3 ) ;
44        Size = MAP_APPFONT ( 248 , 8 ) ;
45    	Text [ en-US ] = "Color scheme";
46	};
47    FixedText FT_COLORSCHEME
48    {
49        Pos = MAP_APPFONT ( 12 , 16 ) ;
50        Size = MAP_APPFONT ( 50 , 8 ) ;
51    	Text [ en-US ] = "Scheme";
52	};
53    ListBox LB_COLORSCHEME
54    {
55        HelpID = "cui:ListBox:RID_SVXPAGE_COLORCONFIG:LB_COLORSCHEME";
56        Pos = MAP_APPFONT ( 65 , 14 ) ;
57        Size = MAP_APPFONT ( 77 , 58 ) ;
58        Border = TRUE;
59        Sort = TRUE;
60        DropDown = TRUE;
61    };
62    PushButton PB_SAVESCHEME
63    {
64        HelpID = "cui:PushButton:RID_SVXPAGE_COLORCONFIG:PB_SAVESCHEME";
65        Pos = MAP_APPFONT ( 145, 13 ) ;
66        Size = MAP_APPFONT ( 50 , 14 ) ;
67    	Text [ en-US ] = "Save...";
68	};
69    PushButton PB_DELETESCHEME
70    {
71        HelpID = "cui:PushButton:RID_SVXPAGE_COLORCONFIG:PB_DELETESCHEME";
72        Pos = MAP_APPFONT ( 198 , 13 ) ;
73        Size = MAP_APPFONT ( 50 , 14 ) ;
74    	Text [ en-US ] = "Delete";
75	};
76    FixedLine FL_CUSTOMCOLORS
77    {
78        Pos = MAP_APPFONT ( 6 , 34 ) ;
79        Size = MAP_APPFONT ( 248 , 8 ) ;
80
81    	Text [ en-US ] = "Custom colors";
82	};
83    Control CT_COLORCONFIG
84    {
85        Pos = MAP_APPFONT ( 12 , 45 ) ;
86        Size = MAP_APPFONT ( 236 , 134 ) ;
87        Border = TRUE;
88        DialogControl = TRUE;
89        OutputSize = TRUE ;
90        ScrollBar VB_VSCROLL
91        {
92            Pos = MAP_APPFONT ( 228 , 10 ) ;
93            Size = MAP_APPFONT ( 8 , 124 ) ;
94            VScroll = TRUE;
95        };
96        String ST_ON
97        {
98        	Text [ en-US ] = "On";
99		};
100        String ST_UIELEM
101        {
102        	Text [ en-US ] = "User interface elements";
103		};
104        String ST_COLSET
105        {
106        	Text [ en-US ] = "Color setting";
107		};
108        String ST_PREVIEW
109        {
110        	Text [ en-US ] = "Preview";
111		};
112        Window WN_SCROLL
113        {
114
115// misc defines to shorten defining of standard elements
116// standard sizes
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 )
122
123// combination of position and size
124#define POS_SIZE( POSX, LINENUM, CONTRL_SIZE )	Pos = MAP_APPFONT ( POSX , LINENUM * _LINE_HEIGHT ) ; CONTRL_SIZE
125
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 )
132
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;};
135
136			OutputSize = TRUE ;
137			Pos = MAP_APPFONT ( 0 , 10 ) ;
138			Size = MAP_APPFONT ( 228 , 124 ) ;
139			DialogControl = TRUE;
140
141			FixedText FT_GENERAL
142			{
143				FT_SEP_POS_SIZE( 0 );
144				Text [ en-US ] = "General";
145			};
146
147			FixedText FT_DOCCOLOR
148			{
149				FT_POS_SIZE( 1 );
150				Text [ en-US ] = "Document background";
151			};
152			LB_WN( DOCCOLOR, 1 )
153
154			CheckBox CB_DOCBOUND
155			{
156			    HelpID = "cui:CheckBox:RID_SVXPAGE_COLORCONFIG:CB_DOCBOUND";
157				CB_POS_SIZE( 2 );
158				Text [ en-US ] = "Text boundaries";
159			};
160			LB_WN( DOCBOUND, 2 )
161
162			FixedText FT_APPBACKGROUND
163			{
164				FT_POS_SIZE( 3 );
165				Text [ en-US ] = "Application background";
166			};
167			LB_WN( APPBACKGROUND, 3 )
168
169			CheckBox CB_OBJECTBOUNDARIES
170			{
171			    HelpID = "cui:CheckBox:RID_SVXPAGE_COLORCONFIG:CB_OBJECTBOUNDARIES";
172				CB_POS_SIZE( 4 );
173				Text [ en-US ] = "Object boundaries";
174			};
175			LB_WN( OBJECTBOUNDARIES, 4 )
176
177			CheckBox CB_TABLEBOUNDARIES
178			{
179			    HelpID = "cui:CheckBox:RID_SVXPAGE_COLORCONFIG:CB_TABLEBOUNDARIES";
180				CB_POS_SIZE( 5 );
181				Text [ en-US ] = "Table boundaries";
182			};
183			LB_WN( TABLEBOUNDARIES, 5 )
184
185			FixedText FT_FONTCOLOR
186			{
187				FT_POS_SIZE( 6 );
188                Text [ en-US ] = "Font color";
189			};
190			LB_WN( FONTCOLOR, 6 )
191
192			CheckBox CB_LINKS
193			{
194			    HelpID = "cui:CheckBox:RID_SVXPAGE_COLORCONFIG:CB_LINKS";
195				CB_POS_SIZE( 7 );
196                Text [ en-US ] = "Unvisited links";
197			};
198			LB_WN( LINKS, 7 )
199
200			CheckBox CB_LINKSVISITED
201			{
202			    HelpID = "cui:CheckBox:RID_SVXPAGE_COLORCONFIG:CB_LINKSVISITED";
203				CB_POS_SIZE( 8 );
204                Text [ en-US ] = "Visited links";
205			};
206			LB_WN( LINKSVISITED, 8 )
207
208			FixedText FT_SPELL
209			{
210				FT_POS_SIZE( 9 );
211				Text [ en-US ] = "AutoSpellcheck";
212			};
213			LB_WN( SPELL, 9 )
214
215			FixedText FT_SMARTTAGS
216			{
217				FT_POS_SIZE( 10 );
218				Text [ en-US ] = "Smart Tags";
219			};
220			LB_WN( SMARTTAGS, 10 )
221
222			FixedText FT_WRITER
223			{
224				FT_SEP_POS_SIZE( 11 );
225				Text [ en-US ] = "Text Document";
226			};
227
228			FixedText FT_WRITERTEXTGRID
229			{
230				FT_POS_SIZE( 12 );
231				Text [ en-US ] = "Grid";
232			};
233			LB_WN( WRITERTEXTGRID, 12 )
234
235			CheckBox CB_WRITERFIELDSHADINGS
236			{
237			    HelpID = "cui:CheckBox:RID_SVXPAGE_COLORCONFIG:CB_WRITERFIELDSHADINGS";
238				CB_POS_SIZE( 13 );
239				Text [ en-US ] = "Field shadings";
240			};
241			LB_WN( WRITERFIELDSHADINGS, 13 )
242
243			CheckBox CB_WRITERIDXSHADINGS
244			{
245			    HelpID = "cui:CheckBox:RID_SVXPAGE_COLORCONFIG:CB_WRITERIDXSHADINGS";
246				CB_POS_SIZE( 14 );
247				Text [ en-US ] = "Index and table shadings";
248			};
249			LB_WN( WRITERIDXSHADINGS, 14 )
250
251
252			FixedText FT_WRITERSCRIPTINDICATOR
253			{
254				FT_POS_SIZE( 15 );
255				Text [ en-US ] = "Script indicator";
256			};
257			LB_WN( WRITERSCRIPTINDICATOR, 15 )
258
259			CheckBox CB_WRITERSECTIONBOUNDARIES
260			{
261			    HelpID = "cui:CheckBox:RID_SVXPAGE_COLORCONFIG:CB_WRITERSECTIONBOUNDARIES";
262				CB_POS_SIZE( 16 );
263				Text [ en-US ] = "Section boundaries";
264			};
265			LB_WN( WRITERSECTIONBOUNDARIES, 16 )
266
267            FixedText FT_WRITERPAGEBREAKS
268			{
269                FT_POS_SIZE( 17 );
270                Text [ en-US ] = "Page and column breaks";
271			};
272            LB_WN( WRITERPAGEBREAKS, 17 )
273
274            FixedText FT_WRITERDIRECTCURSOR
275			{
276                FT_POS_SIZE( 18 );
277				Text [ en-US ] = "Direct cursor";
278			};
279            LB_WN( WRITERDIRECTCURSOR, 18 )
280
281			FixedText FT_HTML
282			{
283                FT_SEP_POS_SIZE( 19 );
284				Text [ en-US ] = "HTML Document";
285			};
286
287			FixedText FT_HTMLSGML
288			{
289                FT_POS_SIZE( 20 );
290				Text [ en-US ] = "SGML syntax highlighting";
291			};
292            LB_WN( HTMLSGML, 20 )
293
294			FixedText FT_HTMLCOMMENT
295			{
296                FT_POS_SIZE( 21 );
297				Text [ en-US ] = "Comment highlighting";
298			};
299            LB_WN( HTMLCOMMENT, 21 )
300
301			FixedText FT_HTMLKEYWORD
302			{
303                FT_POS_SIZE( 22 );
304				Text [ en-US ] = "Keyword highlighting";
305			};
306            LB_WN( HTMLKEYWORD, 22 )
307
308			FixedText FT_HTMLUNKNOWN
309			{
310                FT_POS_SIZE( 23 );
311				Text [ en-US ] = "Text";
312			};
313            LB_WN( HTMLUNKNOWN, 23 )
314
315			FixedText FT_CALC
316			{
317                FT_SEP_POS_SIZE( 24 );
318				Text [ en-US ] = "Spreadsheet";
319			};
320
321			FixedText FT_CALCGRID
322			{
323                FT_POS_SIZE( 25 );
324				Text [ en-US ] = "Grid lines";
325			};
326            LB_WN( CALCGRID, 25 )
327
328			FixedText FT_CALCPAGEBREAK
329			{
330                FT_POS_SIZE( 26 );
331				Text [ en-US ] = "Page breaks";
332			};
333            LB_WN( CALCPAGEBREAK, 26 )
334
335			FixedText FT_CALCPAGEBREAKMANUAL
336			{
337                FT_POS_SIZE( 27 );
338				Text [ en-US ] = "Manual page breaks";
339			};
340            LB_WN( CALCPAGEBREAKMANUAL, 27 )
341
342			FixedText FT_CALCPAGEBREAKAUTO
343			{
344                FT_POS_SIZE( 28 );
345				Text [ en-US ] = "Automatic page breaks";
346			};
347            LB_WN( CALCPAGEBREAKAUTO, 28)
348
349			FixedText FT_CALCDETECTIVE
350			{
351                FT_POS_SIZE( 29 );
352				Text [ en-US ] = "Detective";
353			};
354            LB_WN( CALCDETECTIVE, 29 )
355
356			FixedText FT_CALCDETECTIVEERROR
357			{
358                FT_POS_SIZE( 30 );
359				Text [ en-US ] = "Detective error";
360			};
361            LB_WN( CALCDETECTIVEERROR, 30 )
362
363			FixedText FT_CALCREFERENCE
364			{
365                FT_POS_SIZE( 31 );
366				Text [ en-US ] = "References";
367			};
368            LB_WN( CALCREFERENCE, 31 )
369
370			FixedText FT_CALCNOTESBACKGROUND
371			{
372                FT_POS_SIZE( 32 );
373				Text [ en-US ] = "Notes background";
374			};
375            LB_WN( CALCNOTESBACKGROUND, 32 )
376
377			FixedText FT_DRAW
378			{
379                FT_SEP_POS_SIZE( 33 );
380				Text [ en-US ] = "Drawing / Presentation";
381			};
382
383			FixedText FT_DRAWGRID
384			{
385                FT_POS_SIZE( 34 );
386				Text [ en-US ] = "Grid";
387			};
388            LB_WN( DRAWGRID, 34 )
389
390            FixedText FT_BASIC
391			{
392                FT_SEP_POS_SIZE( 35 );
393				Text [ en-US ] = "Basic Syntax Highlighting";
394			};
395
396			FixedText FT_BASICIDENTIFIER
397			{
398                FT_POS_SIZE( 36 );
399				Text [ en-US ] = "Identifier";
400			};
401            LB_WN( BASICIDENTIFIER, 36 )
402
403			FixedText FT_BASICCOMMENT
404			{
405                FT_POS_SIZE( 37 );
406				Text [ en-US ] = "Comment";
407			};
408            LB_WN( BASICCOMMENT, 37 )
409
410			FixedText FT_BASICNUMBER
411			{
412                FT_POS_SIZE( 38 );
413				Text [ en-US ] = "Number";
414			};
415            LB_WN( BASICNUMBER, 38)
416
417			FixedText FT_BASICSTRING
418			{
419                FT_POS_SIZE( 39 );
420				Text [ en-US ] = "String";
421			};
422            LB_WN( BASICSTRING, 39 )
423
424			FixedText FT_BASICOPERATOR
425			{
426                FT_POS_SIZE( 40 );
427				Text [ en-US ] = "Operator";
428			};
429            LB_WN( BASICOPERATOR, 40 )
430
431			FixedText FT_BASICKEYWORD
432			{
433                FT_POS_SIZE( 41 );
434				Text [ en-US ] = "Reserved expression";
435			};
436            LB_WN( BASICKEYWORD, 41 )
437
438			FixedText FT_BASICERROR
439			{
440                FT_POS_SIZE( 42 );
441				Text [ en-US ] = "Error";
442			};
443            LB_WN( BASICERROR, 42 )
444
445            FixedText FT_SQL_COMMAND
446			{
447                FT_SEP_POS_SIZE( 43 );
448				Text [ en-US ] = "SQL Syntax Highlighting";
449			};
450
451            FixedText FT_SQLIDENTIFIER
452			{
453                FT_POS_SIZE( 44 );
454				Text [ en-US ] = "Identifier";
455			};
456			LB_WN( SQLIDENTIFIER, 44 )
457
458			FixedText FT_SQLNUMBER
459			{
460                FT_POS_SIZE( 45 );
461				Text [ en-US ] = "Number";
462			};
463			LB_WN( SQLNUMBER, 45 )
464
465			FixedText FT_SQLSTRING
466			{
467                FT_POS_SIZE( 46 );
468				Text [ en-US ] = "String";
469			};
470			LB_WN( SQLSTRING, 46 )
471
472			FixedText FT_SQLOPERATOR
473			{
474                FT_POS_SIZE( 47 );
475				Text [ en-US ] = "Operator";
476			};
477			LB_WN( SQLOPERATOR, 47 )
478
479			FixedText FT_SQLKEYWORD
480			{
481                FT_POS_SIZE( 48 );
482				Text [ en-US ] = "Keyword";
483			};
484			LB_WN( SQLKEYWORD, 48 )
485
486			FixedText FT_SQLPARAMETER
487			{
488                FT_POS_SIZE( 49 );
489				Text [ en-US ] = "Parameter";
490			};
491			LB_WN( SQLPARAMETER, 49 )
492
493			FixedText FT_SQLCOMMENT
494			{
495                FT_POS_SIZE( 50 );
496				Text [ en-US ] = "Comment";
497			};
498			LB_WN( SQLCOMMENT, 50 )
499
500            String ST_EXTENSION
501			{
502        		Text [ en-US ] = "Colorsettings of the Extensions";
503			};
504            String ST_SPELL_CHECK_HIGHLIGHTING
505            {
506                Text [ en-US ] = "Spell check highlighting";
507            };
508            String ST_GRAMMAR_CHECK_HIGHLIGHTING
509            {
510                Text [ en-US ] = "Grammar check highlighting";
511            };
512        };
513    };
514};
515QueryBox RID_SVXQB_DELETE_COLOR_CONFIG
516{
517	Buttons = WB_YES_NO ;
518	DefButton = WB_DEF_NO ;
519    Message [ en-US ] = "Do you really want to delete the color scheme?" ;
520};
521String RID_SVXSTR_COLOR_CONFIG_DELETE
522{
523    Text [ en-US ] = "Color Scheme Deletion" ;
524};
525String RID_SVXSTR_COLOR_CONFIG_SAVE1
526{
527    Text [ en-US ] = "Save scheme" ;
528};
529String RID_SVXSTR_COLOR_CONFIG_SAVE2
530{
531    Text [ en-US ] = "Name of color scheme" ;
532};
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561