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#include "CellAppearancePropertyPanel.hrc"
23#include <sfx2/sidebar/propertypanel.hrc>
24#include "sc.hrc"
25#include "helpids.h"
26
27#define TOOLBOX_WIDTH		50
28#define TOOLBOX_HEIGHT		15
29
30#define TOOLBOX_WIDTH_2		34
31#define TOOLBOX_HEIGHT_2	30
32
33#define TOOLBOX_BORDER_WIDTH	107
34#define PB_BORDER_MOREBTN		57
35#define POPUPPANEL_MARGIN_SMALL_PIXEL	8
36
37//////////////////////////////////////////////////////////////////////////////
38// the basic propertypanel
39
40Control RID_PROPERTYPANEL_SC_APPEAR
41{
42	OutputSize = TRUE;
43	DialogControl = TRUE;
44	Border = FALSE;
45
46	Size = MAP_APPFONT( PROPERTYPAGE_WIDTH,  SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 +  TEXT_CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL * 2 +  TOOLBOX_HEIGHT_2 + CBOX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT - 2);
47	HelpID = HID_PROPERTYPANEL_SC_CELL_SECTION ;
48	Text [ en-US ] = "Cell Appearance";
49
50	FixedText FT_BK_COLOR
51	{
52		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP );
53		Size = MAP_APPFONT ( PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL * 2 , TEXT_HEIGHT) ;
54		Text [ en-US ] = "~Cell background:";
55	};
56	ToolBox TB_BK_COLOR
57	{
58		SVLook = TRUE ;
59		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL) ;
60		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
61		TabStop = TRUE ;
62		HelpID = HID_PROPERTYPANEL_SC_TBX_BKCOLOR ;
63		Text [ en-US ] = "Cell Background";
64		ItemList =
65		{
66			ToolBoxItem
67			{
68				Identifier = TBI_BK_COLOR ;
69				DropDown = TRUE ;
70				Text [ en-US ] = "Cell background" ;
71				HelpID = HID_PROPERTYPANEL_SC_TBI_BKCOLOR;
72			};
73		};
74	};
75	String STR_QH_BK_COLOR
76	{
77		Text [ en-US ] = "Select the background color of the selected cells." ;
78	};
79	FixedText FT_BORDER
80	{
81		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT +  TEXT_CONTROL_SPACING_VERTICAL + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL);
82		Size = MAP_APPFONT (  PROPERTYPAGE_WIDTH - SECTIONPAGE_MARGIN_HORIZONTAL * 2 , TEXT_HEIGHT) ;
83		Text [ en-US ] = "Cell ~border:";
84	};
85	ToolBox TB_APP_BORDER
86	{
87		SVLook = TRUE ;
88		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 +  TEXT_CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL) ;
89		Size = MAP_APPFONT (TOOLBOX_WIDTH_2 ,TOOLBOX_HEIGHT_2 ) ;
90		TabStop = TRUE ;
91		HelpID = HID_PROPERTYPANEL_SC_TBX_BORDER ;
92		Text [ en-US ] = "Cell Border";
93		ItemList =
94		{
95			ToolBoxItem
96			{
97				Identifier = TBI_BORDER ;
98				DropDown = TRUE ;
99				Text [ en-US ] = "Cell border" ;
100				HelpID = HID_PROPERTYPANEL_SC_TBI_BORDER;
101			};
102		};
103	};
104	String STR_QH_BORDER
105	{
106		Text [ en-US ] = "Specify the borders of the selected cells." ;
107	};
108	ToolBox TB_BORDER_LINE_STYLE
109	{
110		SVLook = TRUE ;
111		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH_2 + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 +  TEXT_CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT  + CONTROL_SPACING_VERTICAL ) ;
112		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT) ;
113		TabStop = TRUE ;
114		HelpID = HID_PROPERTYPANEL_SC_TBX_STYLE ;
115		Text [ en-US ] = "Line Style";
116		ItemList =
117		{
118			ToolBoxItem
119			{
120				Identifier = TBI_LINE_STYLE ;
121				DropDown = TRUE ;
122				Text [ en-US ] = "Line style" ;
123				HelpID = HID_PROPERTYPANEL_SC_TBI_STYLE;
124			};
125		};
126	};
127	String STR_QH_BORDER_LINE_STYLE
128	{
129		Text [ en-US ] = "Select the line style of the borders." ;
130	};
131	ToolBox TB_BORDER_LINE_COLOR
132	{
133		SVLook = TRUE ;
134		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL + TOOLBOX_WIDTH_2 + 3, SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 +  TEXT_CONTROL_SPACING_VERTICAL * 2 + TOOLBOX_HEIGHT * 2  + CONTROL_SPACING_VERTICAL + 3) ;
135		Size = MAP_APPFONT (TOOLBOX_WIDTH ,TOOLBOX_HEIGHT ) ;
136		TabStop = TRUE ;
137		HelpID = HID_PROPERTYPANEL_SC_TBX_LINECOLOR ;
138		Text [ en-US ] = "Line Color";
139		ItemList =
140		{
141			ToolBoxItem
142			{
143				Identifier = TBI_LINE_COLOR ;
144				DropDown = TRUE ;
145				Text [ en-US ] = "Line color" ;
146				HelpID = HID_PROPERTYPANEL_SC_TBI_LINECOLOR;
147			};
148		};
149	};
150	String STR_QH_BORDER_LINE_COLOR
151	{
152		Text [ en-US ] = "Select the line color of the borders." ;
153	};
154	CheckBox CBX_SHOW_GRID
155	{
156		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL , SECTIONPAGE_MARGIN_VERTICAL_TOP + TEXT_HEIGHT * 2 +  TEXT_CONTROL_SPACING_VERTICAL * 2  +  TOOLBOX_HEIGHT + CONTROL_SPACING_VERTICAL * 2 +  TOOLBOX_HEIGHT_2 + 2) ;
157        Size = MAP_APPFONT ( 90 , CBOX_HEIGHT ) ;
158		TabStop = TRUE ;
159		Text [ en-US ] = "Show cell ~grid lines" ;
160		QuickHelpText [ en-US ] = "Show the grid lines of the cells in the entire spreadsheet.";
161		HelpID = HID_PROPERTYPANEL_SC_CBOX_SHOWGRID;
162	};
163
164	Image IMG_BK_COLOR
165	{
166		ImageBitmap = Bitmap{File = "sidebar/fill_color.png";};
167	};
168	Image IMG_CELL_BORDER
169	{
170		ImageBitmap = Bitmap{File = "sidebar/CellBorder.png";};
171		//MaskColor = STD_MASKCOLOR ;
172	};
173	Image IMG_LINE_COLOR
174	{
175		ImageBitmap = Bitmap{File = "sidebar/Line_color.png";};
176	};
177	Image IMG_LINE_STYLE1
178	{
179		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_005.png";};
180	};
181	Image IMG_LINE_STYLE2
182	{
183		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_250.png";};
184	};
185	Image IMG_LINE_STYLE3
186	{
187		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_400.png";};
188	};
189	Image IMG_LINE_STYLE4
190	{
191		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_500.png";};
192	};
193	Image IMG_LINE_STYLE5
194	{
195		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_110.png";};
196	};
197	Image IMG_LINE_STYLE6
198	{
199		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_260.png";};
200	};
201	Image IMG_LINE_STYLE7
202	{
203		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_450.png";};
204	};
205	Image IMG_LINE_STYLE8
206	{
207		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_505.png";};
208	};
209	Image IMG_LINE_STYLE9
210	{
211		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_750.png";};
212	};
213
214	//high contrast
215	Image IMG_BK_COLOR_H
216	{
217		ImageBitmap = Bitmap{File = "sidebar/fill_color_h.png";};
218	};
219	Image IMG_LINE_STYLE1_H
220	{
221		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_005_h.png";};
222	};
223	Image IMG_LINE_STYLE2_H
224	{
225		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_250_h.png";};
226	};
227	Image IMG_LINE_STYLE3_H
228	{
229		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_400_h.png";};
230	};
231	Image IMG_LINE_STYLE4_H
232	{
233		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_500_h.png";};
234	};
235	Image IMG_LINE_STYLE5_H
236	{
237		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_110_h.png";};
238	};
239	Image IMG_LINE_STYLE6_H
240	{
241		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_260_h.png";};
242	};
243	Image IMG_LINE_STYLE7_H
244	{
245		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_450_h.png";};
246	};
247	Image IMG_LINE_STYLE8_H
248	{
249		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_505_h.png";};
250	};
251	Image IMG_LINE_STYLE9_H
252	{
253		ImageBitmap = Bitmap{File = "sidebar/CellBorderLineStyle_750_h.png";};
254	};
255
256};
257
258//////////////////////////////////////////////////////////////////////////////
259// fill color popup
260
261Control RID_POPUPPANEL_CELLAPPEARANCE_FILLCOLOR
262{
263	OutputSize = TRUE;
264	DialogControl = TRUE;
265	Border = FALSE;
266	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
267
268	Control VS_FILLCOLOR
269	{
270		HelpID = HID_PROPERTYPANEL_FILL_COLOR_VS;
271        Hide = TRUE ;
272        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
273        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
274		TabStop = TRUE ;
275		Text [ en-US ] = "Color";
276	};
277
278	String VS_NOFILLCOLOR
279	{
280		Text [ en-US ] = "No Color" ;
281	};
282};
283
284//////////////////////////////////////////////////////////////////////////////
285// line color popup
286
287Control RID_POPUPPANEL_CELLAPPEARANCE_LINECOLOR
288{
289	OutputSize = TRUE;
290	DialogControl = TRUE;
291	Border = FALSE;
292	Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );
293
294	Control VS_LINECOLOR
295	{
296		HelpID = HID_PROPERTYPANEL_LINE_COLOR_VS;
297        Hide = TRUE ;
298        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
299        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
300		TabStop = TRUE ;
301		Text [ en-US ] = "Color";
302	};
303};
304
305//////////////////////////////////////////////////////////////////////////////
306// cell line style popup
307
308Control RID_POPUPPANEL_APPEARANCE_CELL_LINESTYLE
309{
310	OutputSize = TRUE;
311	DialogControl = TRUE;
312	Border = FALSE;
313
314	Size = MAP_APPFONT(
315        POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + 80,
316        13 + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE + 12*9);
317
318	Control VS_STYLE
319	{
320		HelpID = HID_PROPERTYPANEL_SC_STYLE_VS ;
321        Hide = TRUE ;
322        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
323        Size = MAP_APPFONT ( 80  , 12 * 9);
324		TabStop = TRUE ;
325		Text [ en-US ] = "Line Style";
326	};
327	PushButton PB_OPTIONS
328	{
329		HelpID = HID_PROPERTYPANEL_SC_STYLE_PB;
330		Pos = MAP_APPFONT (  POPUPPANEL_MARGIN_LARGE + OFFSET_X , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y + 12 * 9);
331		Size = MAP_APPFONT ( 75 , 12 );
332		TabStop = TRUE;
333		Text [ en-US ] = "~More Options...";
334	};
335	Bitmap	BMP_UNDERLINE_MORE
336	{
337		File = "sidebar/morebutton.png";
338	};
339	Bitmap	BMP_UNDERLINE_MORE_H
340	{
341		File = "sidebar/morebutton_h.png";
342	};
343};
344
345//////////////////////////////////////////////////////////////////////////////
346// cell border style popup
347
348Control RID_POPUPPANEL_APPEARANCE_CELL_BORDERSTYLE
349{
350	OutputSize = TRUE;
351	DialogControl = TRUE;
352	Border = FALSE;
353
354	Size = MAP_PIXEL(  POPUPPANEL_MARGIN_SMALL_PIXEL * 2 + 108,  POPUPPANEL_MARGIN_SMALL_PIXEL * 2  + 138);
355
356	ToolBox TB_BORDER1
357	{
358		SVLook = TRUE ;
359		Pos = MAP_PIXEL(POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL); //MAP_APPFONT (POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 1) ;
360		Size = MAP_PIXEL(TOOLBOX_BORDER_WIDTH, 31); //MAP_APPFONT (TOOLBOX_BORDER_WIDTH ,20) ;
361		TabStop = TRUE ;
362		HelpID = HID_PROPERTYPANEL_SC_BORDER1_TBX;
363		Text [ en-US ] = "Cell Border 1";
364		ItemList =
365		{
366			ToolBoxItem
367			{
368				Identifier = TBI_BORDER1_NONE ;
369				HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_NONE;
370				Text [ en-US ] = "No Border" ;
371			};
372			ToolBoxItem
373			{
374				Identifier = TBI_BORDER1_ALL ;
375				HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_ALL;
376				Text [ en-US ] = "All Borders" ;
377			};
378			ToolBoxItem
379			{
380				Identifier = TBI_BORDER1_OUTER ;
381				HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_OUTER;
382				Text [ en-US ] = "Outside Borders" ;
383			};
384			ToolBoxItem
385			{
386				Identifier = TBI_BORDER1_OUTERBOLD ;
387				HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_OUTERBOLD;
388				Text [ en-US ] = "Thick Box Border" ;
389			};
390		};
391	};
392	FixedLine FL_1
393	{
394		Pos = MAP_PIXEL(POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL + 31); //MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1 , POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 20 + 1) ;
395        Size = MAP_PIXEL(TOOLBOX_BORDER_WIDTH, 8); // MAP_APPFONT ( TOOLBOX_BORDER_WIDTH , 5 ) ;
396	};
397	ToolBox TB_BORDER2
398	{
399		SVLook = TRUE ;
400		Pos = MAP_PIXEL(POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL + 31 + 8); // MAP_APPFONT (POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 20 + 5 + 1) ;
401		Size = MAP_PIXEL (TOOLBOX_BORDER_WIDTH ,61) ;
402		TabStop = TRUE ;
403		HelpID = HID_PROPERTYPANEL_SC_BORDER2_TBX;
404		Text [ en-US ] = "Cell Border 2";
405	};
406	FixedLine FL_2
407	{
408		Pos = MAP_PIXEL(POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL + 31 + 8 + 61); // MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1 , POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 20 + 38 + 5 + 1) ;
409        Size = MAP_PIXEL ( TOOLBOX_BORDER_WIDTH , 8 ) ;
410	};
411	ToolBox TB_BORDER3
412	{
413		SVLook = TRUE ;
414		Pos = MAP_PIXEL(POPUPPANEL_MARGIN_SMALL_PIXEL, POPUPPANEL_MARGIN_SMALL_PIXEL + 31 +8 + 61 + 8); // MAP_APPFONT (POPUPPANEL_MARGIN_SMALL + OFFSET_X + 1, POPUPPANEL_MARGIN_SMALL + OFFSET_Y + 20 + 38 + 10 + 1) ;
415		Size = MAP_PIXEL (TOOLBOX_BORDER_WIDTH ,31) ;
416		TabStop = TRUE ;
417		HelpID = HID_PROPERTYPANEL_SC_BORDER3_TBX;
418		Text [ en-US ] = "Cell Border 3";
419		ItemList =
420		{
421			ToolBoxItem
422			{
423				Identifier = TBI_BORDER3_S1;
424				HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_S1;
425				Text [ en-US ] = "Thick Bottom Border" ;
426			};
427			ToolBoxItem
428			{
429				Identifier = TBI_BORDER3_S2 ;
430				HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_S2;
431				Text [ en-US ] = "Double Bottom Border" ;
432			};
433			ToolBoxItem
434			{
435				Identifier = TBI_BORDER3_S3 ;
436				HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_S3;
437				Text [ en-US ] = "Top and Thick Bottom Borders" ;
438			};
439			ToolBoxItem
440			{
441				Identifier = TBI_BORDER3_S4 ;
442				HelpID = HID_PROPERTYPANEL_SC_BORDER_TBI_S4;
443				Text [ en-US ] = "Top and Double Bottom Borders" ;
444			};
445		};
446	};
447
448	Image IMG_BORDER1
449	{
450		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Empty_18x18.png";};
451	};
452	Image IMG_BORDER2
453	{
454		ImageBitmap = Bitmap{File = "sidebar/CellBorder_All_18x18.png";};
455	};
456	Image IMG_BORDER3
457	{
458		ImageBitmap = Bitmap{File = "sidebar/CellBorder_FourBorders_18x18.png";};
459	};
460	Image IMG_BORDER4
461	{
462		ImageBitmap = Bitmap{File = "sidebar/CellBorder_FourBorders_Thick_18x18.png";};
463	};
464	Image IMG_BORDER5
465	{
466		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Left_18x18.png";};
467	};
468	Image IMG_BORDER6
469	{
470		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Right_18x18.png";};
471	};
472	Image IMG_BORDER7
473	{
474		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Top_18x18.png";};
475	};
476	Image IMG_BORDER8
477	{
478		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Bottom_18x18.png";};
479	};
480	Image IMG_BORDER9
481	{
482		ImageBitmap = Bitmap{File = "sidebar/CellBorder_RightDiagonal_18x18.png";};
483	};
484	Image IMG_BORDER10
485	{
486		ImageBitmap = Bitmap{File = "sidebar/CellBorder_LeftDiagonal_18x18.png";};
487	};
488	Image IMG_BORDER11
489	{
490		ImageBitmap = Bitmap{File = "sidebar/CellBorder_TopAndBottom_18x18.png";};
491	};
492	Image IMG_BORDER12
493	{
494		ImageBitmap = Bitmap{File = "sidebar/CellBorder_LeftAndRight_18x18.png";};
495	};
496	Image IMG_BORDER13
497	{
498		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Bottom_Thick_18x18.png";};
499	};
500	Image IMG_BORDER14
501	{
502		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Bottom_Double_18x18.png";};
503	};
504	Image IMG_BORDER15
505	{
506		ImageBitmap = Bitmap{File = "sidebar/CellBorder_TopThin_BottomThick_18x18.png";};
507	};
508	Image IMG_BORDER16
509	{
510		ImageBitmap = Bitmap{File = "sidebar/CellBorder_TopSingle_BottomDouble_18x18.png";};
511	};
512	String STR_BORDER_1
513	{
514		Text [ en-US ] = "Left Border";
515	};
516	String STR_BORDER_2
517	{
518		Text [ en-US ] = "Right Border";
519	};
520	String STR_BORDER_3
521	{
522		Text [ en-US ] = "Top Border";
523	};
524	String STR_BORDER_4
525	{
526		Text [ en-US ] = "Bottom Border";
527	};
528	String STR_BORDER_5
529	{
530		Text [ en-US ] = "Diagonal Up Border";
531	};
532	String STR_BORDER_6
533	{
534		Text [ en-US ] = "Diagonal Down Border";
535	};
536	String STR_BORDER_7
537	{
538		Text [ en-US ] = "Top and Bottom Borders";
539	};
540	String STR_BORDER_8
541	{
542		Text [ en-US ] = "Left and Right Borders";
543	};
544
545	//high contrast
546	Image IMG_BORDER1_H
547	{
548		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Empty_18x18_h.png";};
549	};
550	Image IMG_BORDER2_H
551	{
552		ImageBitmap = Bitmap{File = "sidebar/CellBorder_All_18x18_h.png";};
553	};
554	Image IMG_BORDER3_H
555	{
556		ImageBitmap = Bitmap{File = "sidebar/CellBorder_FourBorders_18x18_h.png";};
557	};
558	Image IMG_BORDER4_H
559	{
560		ImageBitmap = Bitmap{File = "sidebar/CellBorder_FourBorders_Thick_18x18_h.png";};
561	};
562	Image IMG_BORDER5_H
563	{
564		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Left_18x18_h.png";};
565	};
566	Image IMG_BORDER6_H
567	{
568		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Right_18x18_h.png";};
569	};
570	Image IMG_BORDER7_H
571	{
572		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Top_18x18_h.png";};
573	};
574	Image IMG_BORDER8_H
575	{
576		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Bottom_18x18_h.png";};
577	};
578	Image IMG_BORDER9_H
579	{
580		ImageBitmap = Bitmap{File = "sidebar/CellBorder_RightDiagonal_18x18_h.png";};
581	};
582	Image IMG_BORDER10_H
583	{
584		ImageBitmap = Bitmap{File = "sidebar/CellBorder_LeftDiagonal_18x18_h.png";};
585	};
586	Image IMG_BORDER11_H
587	{
588		ImageBitmap = Bitmap{File = "sidebar/CellBorder_TopAndBottom_18x18_h.png";};
589	};
590	Image IMG_BORDER12_H
591	{
592		ImageBitmap = Bitmap{File = "sidebar/CellBorder_LeftAndRight_18x18_h.png";};
593	};
594	Image IMG_BORDER13_H
595	{
596		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Bottom_Thick_18x18_h.png";};
597	};
598	Image IMG_BORDER14_H
599	{
600		ImageBitmap = Bitmap{File = "sidebar/CellBorder_Bottom_Double_18x18_h.png";};
601	};
602	Image IMG_BORDER15_H
603	{
604		ImageBitmap = Bitmap{File = "sidebar/CellBorder_TopThin_BottomThick_18x18_h.png";};
605	};
606	Image IMG_BORDER16_H
607	{
608		ImageBitmap = Bitmap{File = "sidebar/CellBorder_TopSingle_BottomDouble_18x18_h.png";};
609	};
610};
611
612// eof
613