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