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
28#include "dlg_DataEditor.hrc"
29#include "SchSlotIds.hxx"
30#include "HelpIds.hrc"
31
32// Mask Color for standard images
33#define IMAGE_BUTTON_STD_MASK_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
34// Mask Color for high-contrast images
35#define IMAGE_BUTTON_HC_MASK_COLOR  IMAGE_BUTTON_STD_MASK_COLOR
36
37#define ADDITIONAL_SPACE_ABOVE_TABLE 17
38
39ModalDialog DLG_DIAGRAM_DATA
40{
41	HelpID = HID_DIAGRAM_DATA ;
42	OutputSize = TRUE ;
43	Hide = TRUE ;
44	SVLook = TRUE ;
45	Pos = MAP_APPFONT ( 0 , 0 ) ;
46	Size = MAP_APPFONT ( 244 , 152 ) ;
47
48	Text [ en-US ] = "Data Table";
49
50	Moveable = TRUE ;
51	Closeable = TRUE ;
52    Sizeable = TRUE ;
53	Control CTL_DATA
54	{
55		HelpID = HID_SCH_CTL_DATA ;
56		Border = TRUE ;
57		Pos = MAP_APPFONT ( 6 , 24 + ADDITIONAL_SPACE_ABOVE_TABLE ) ;
58		Size = MAP_APPFONT ( 232 , 121 - ADDITIONAL_SPACE_ABOVE_TABLE ) ;
59		TabStop = TRUE ;
60	};
61	ToolBox TBX_DATA
62	{
63		HelpID = HID_SCH_TBX_DATA ;
64		SVLook = TRUE ;
65		TabStop = TRUE ;
66 		Pos = MAP_APPFONT ( 4 , 2 ) ;
67		ItemList =
68		{
69			ToolBoxItem
70			{
71				HelpID = HID_SCH_TBI_DATA_INSERT_ROW ;
72				Identifier = TBI_DATA_INSERT_ROW ;
73				Text [ en-US ] = "Insert Row" ;
74			};
75			ToolBoxItem
76			{
77				HelpID = HID_SCH_TBI_DATA_INSERT_COL ;
78				Identifier = TBI_DATA_INSERT_COL ;
79				Text [ en-US ] = "Insert Series" ;
80			};
81			ToolBoxItem
82			{
83				HelpID = HID_SCH_TBI_DATA_INSERT_TEXT_COL ;
84				Identifier = TBI_DATA_INSERT_TEXT_COL ;
85				Text [ en-US ] = "Insert Text Column" ;
86			};
87			ToolBoxItem
88			{
89				HelpID = HID_SCH_TBI_DATA_DELETE_ROW ;
90				Identifier = TBI_DATA_DELETE_ROW ;
91				Text [ en-US ] = "Delete Row" ;
92			};
93			ToolBoxItem
94			{
95				HelpID = HID_SCH_TBI_DATA_DELETE_COL ;
96				Identifier = TBI_DATA_DELETE_COL ;
97				Text [ en-US ] = "Delete Series" ;
98			};
99			ToolBoxItem
100			{
101				Type = TOOLBOXITEM_SEPARATOR ;
102			};
103			ToolBoxItem
104			{
105				HelpID = HID_SCH_TBI_DATA_SWAP_COL ;
106				Identifier = TBI_DATA_SWAP_COL ;
107				Text [ en-US ] = "Move Series Right" ;
108			};
109			ToolBoxItem
110			{
111				HelpID = HID_SCH_TBI_DATA_SWAP_ROW ;
112				Identifier = TBI_DATA_SWAP_ROW ;
113				Text [ en-US ] = "Move Row Down" ;
114			};
115			ToolBoxItem
116			{
117				Type = TOOLBOXITEM_SEPARATOR ;
118			};
119		};
120	};
121
122#define IMAGE_ID_LIST                \
123    IdList =                         \
124    {                                \
125        TBI_DATA_INSERT_ROW;         \
126        TBI_DATA_INSERT_COL;         \
127        TBI_DATA_INSERT_TEXT_COL;    \
128        TBI_DATA_DELETE_ROW;         \
129        TBI_DATA_DELETE_COL;         \
130        TBI_DATA_SWAP_COL;           \
131        TBI_DATA_SWAP_ROW;           \
132    };                               \
133    IdCount = { 7; }
134
135    ImageList IL_DIAGRAM_DATA
136    {
137        Prefix = "dataeditor_icon";
138        MaskColor = IMAGE_BUTTON_STD_MASK_COLOR;
139        IMAGE_ID_LIST;
140    };
141
142    ImageList IL_HC_DIAGRAM_DATA
143    {
144        Prefix = "dataeditor_icon_h";
145        MaskColor = IMAGE_BUTTON_HC_MASK_COLOR;
146        IMAGE_ID_LIST;
147    };
148};
149