1*0d4dbf8bSAndre Fischer/**************************************************************
2*0d4dbf8bSAndre Fischer *
3*0d4dbf8bSAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one
4*0d4dbf8bSAndre Fischer * or more contributor license agreements.  See the NOTICE file
5*0d4dbf8bSAndre Fischer * distributed with this work for additional information
6*0d4dbf8bSAndre Fischer * regarding copyright ownership.  The ASF licenses this file
7*0d4dbf8bSAndre Fischer * to you under the Apache License, Version 2.0 (the
8*0d4dbf8bSAndre Fischer * "License"); you may not use this file except in compliance
9*0d4dbf8bSAndre Fischer * with the License.  You may obtain a copy of the License at
10*0d4dbf8bSAndre Fischer *
11*0d4dbf8bSAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
12*0d4dbf8bSAndre Fischer *
13*0d4dbf8bSAndre Fischer * Unless required by applicable law or agreed to in writing,
14*0d4dbf8bSAndre Fischer * software distributed under the License is distributed on an
15*0d4dbf8bSAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*0d4dbf8bSAndre Fischer * KIND, either express or implied.  See the License for the
17*0d4dbf8bSAndre Fischer * specific language governing permissions and limitations
18*0d4dbf8bSAndre Fischer * under the License.
19*0d4dbf8bSAndre Fischer *
20*0d4dbf8bSAndre Fischer *************************************************************/
21*0d4dbf8bSAndre Fischer
22*0d4dbf8bSAndre Fischer#include "InsertPropertyPanel.hrc"
23*0d4dbf8bSAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc>
24*0d4dbf8bSAndre Fischer#include "helpid.hrc"
25*0d4dbf8bSAndre Fischer
26*0d4dbf8bSAndre Fischer#define FIRST_LINE_Y    SECTIONPAGE_MARGIN_VERTICAL_TOP
27*0d4dbf8bSAndre Fischer#define SECOND_LINE_Y   FIRST_LINE_Y + TOOLBOX_ITEM_HEIGHT + CONTROL_SPACING_VERTICAL  + 1
28*0d4dbf8bSAndre Fischer
29*0d4dbf8bSAndre FischerControl RID_SIDEBAR_INSERT_PANEL
30*0d4dbf8bSAndre Fischer{
31*0d4dbf8bSAndre Fischer    OutputSize = TRUE;
32*0d4dbf8bSAndre Fischer	DialogControl = TRUE;
33*0d4dbf8bSAndre Fischer	Border = FALSE;
34*0d4dbf8bSAndre Fischer
35*0d4dbf8bSAndre Fischer	Size = MAP_APPFONT(
36*0d4dbf8bSAndre Fischer          PROPERTYPAGE_WIDTH,
37*0d4dbf8bSAndre Fischer          SECTIONPAGE_MARGIN_VERTICAL_TOP
38*0d4dbf8bSAndre Fischer          + TOOLBOX_ITEM_HEIGHT * 2
39*0d4dbf8bSAndre Fischer          + CONTROL_SPACING_VERTICAL
40*0d4dbf8bSAndre Fischer          + SECTIONPAGE_MARGIN_VERTICAL_BOT);
41*0d4dbf8bSAndre Fischer	HelpID = HID_SIDEBAR_INSERT_PANEL;
42*0d4dbf8bSAndre Fischer	Text = "Insert";
43*0d4dbf8bSAndre Fischer
44*0d4dbf8bSAndre Fischer	ToolBox TB_INSERT_STANDARD
45*0d4dbf8bSAndre Fischer	{
46*0d4dbf8bSAndre Fischer		SVLook = TRUE ;
47*0d4dbf8bSAndre Fischer		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, FIRST_LINE_Y);
48*0d4dbf8bSAndre Fischer		Size = MAP_APPFONT (TOOLBOX_ITEM_WIDTH * 6 + TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT) ;
49*0d4dbf8bSAndre Fischer		TabStop = TRUE ;
50*0d4dbf8bSAndre Fischer		HelpID = HID_SIDEBAR_INSERT_TOOLBOX;
51*0d4dbf8bSAndre Fischer		Text = "Insert Shapes";
52*0d4dbf8bSAndre Fischer		ItemList =
53*0d4dbf8bSAndre Fischer		{
54*0d4dbf8bSAndre Fischer			ToolBoxItem
55*0d4dbf8bSAndre Fischer			{
56*0d4dbf8bSAndre Fischer				Identifier = TBI_STANDARD_LINE;
57*0d4dbf8bSAndre Fischer                Command = ".uno:Line";
58*0d4dbf8bSAndre Fischer			};
59*0d4dbf8bSAndre Fischer			ToolBoxItem
60*0d4dbf8bSAndre Fischer			{
61*0d4dbf8bSAndre Fischer				Identifier = TBI_STANDARD_ARROW;
62*0d4dbf8bSAndre Fischer                Command = ".uno:LineArrowEnd";
63*0d4dbf8bSAndre Fischer			};
64*0d4dbf8bSAndre Fischer			ToolBoxItem
65*0d4dbf8bSAndre Fischer			{
66*0d4dbf8bSAndre Fischer				Identifier = TBI_STANDARD_RECTANGLE;
67*0d4dbf8bSAndre Fischer                Command = ".uno:Rect";
68*0d4dbf8bSAndre Fischer			};
69*0d4dbf8bSAndre Fischer			ToolBoxItem
70*0d4dbf8bSAndre Fischer			{
71*0d4dbf8bSAndre Fischer				Identifier = TBI_STANDARD_ELLIPSE;
72*0d4dbf8bSAndre Fischer                Command = ".uno:Ellipse";
73*0d4dbf8bSAndre Fischer			};
74*0d4dbf8bSAndre Fischer			ToolBoxItem
75*0d4dbf8bSAndre Fischer			{
76*0d4dbf8bSAndre Fischer				Identifier = TBI_STANDARD_TEXT;
77*0d4dbf8bSAndre Fischer                Command = ".uno:Text";
78*0d4dbf8bSAndre Fischer			};
79*0d4dbf8bSAndre Fischer			ToolBoxItem
80*0d4dbf8bSAndre Fischer			{
81*0d4dbf8bSAndre Fischer				Identifier = TBI_STANDARD_LINES;
82*0d4dbf8bSAndre Fischer                Command = ".uno:LineToolbox";
83*0d4dbf8bSAndre Fischer			};
84*0d4dbf8bSAndre Fischer			ToolBoxItem
85*0d4dbf8bSAndre Fischer			{
86*0d4dbf8bSAndre Fischer				Identifier = TBI_STANDARD_CONNECTORS;
87*0d4dbf8bSAndre Fischer                Command = ".uno:ConnectorToolbox";
88*0d4dbf8bSAndre Fischer			};
89*0d4dbf8bSAndre Fischer			ToolBoxItem
90*0d4dbf8bSAndre Fischer			{
91*0d4dbf8bSAndre Fischer				Identifier = TBI_STANDARD_ARROWS;
92*0d4dbf8bSAndre Fischer                Command = ".uno:ArrowsToolbox";
93*0d4dbf8bSAndre Fischer                DropDown = TRUE;
94*0d4dbf8bSAndre Fischer			};
95*0d4dbf8bSAndre Fischer        };
96*0d4dbf8bSAndre Fischer    };
97*0d4dbf8bSAndre Fischer
98*0d4dbf8bSAndre Fischer	ToolBox TB_INSERT_CUSTOM
99*0d4dbf8bSAndre Fischer	{
100*0d4dbf8bSAndre Fischer		SVLook = TRUE ;
101*0d4dbf8bSAndre Fischer		Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECOND_LINE_Y);
102*0d4dbf8bSAndre Fischer		Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH * 6, TOOLBOX_ITEM_HEIGHT) ;
103*0d4dbf8bSAndre Fischer		TabStop = TRUE ;
104*0d4dbf8bSAndre Fischer		HelpID = HID_SIDEBAR_INSERT_TOOLBOX;
105*0d4dbf8bSAndre Fischer		Text = "Insert";
106*0d4dbf8bSAndre Fischer		ItemList =
107*0d4dbf8bSAndre Fischer		{
108*0d4dbf8bSAndre Fischer			ToolBoxItem
109*0d4dbf8bSAndre Fischer			{
110*0d4dbf8bSAndre Fischer				Identifier = TBI_CUSTOM_BASICS;
111*0d4dbf8bSAndre Fischer                Command = ".uno:BasicShapes";
112*0d4dbf8bSAndre Fischer                DropDown = TRUE;
113*0d4dbf8bSAndre Fischer			};
114*0d4dbf8bSAndre Fischer			ToolBoxItem
115*0d4dbf8bSAndre Fischer			{
116*0d4dbf8bSAndre Fischer				Identifier = TBI_CUSTOM_SYMBOLS;
117*0d4dbf8bSAndre Fischer                Command = ".uno:SymbolShapes";
118*0d4dbf8bSAndre Fischer                DropDown = TRUE;
119*0d4dbf8bSAndre Fischer			};
120*0d4dbf8bSAndre Fischer			ToolBoxItem
121*0d4dbf8bSAndre Fischer			{
122*0d4dbf8bSAndre Fischer				Identifier = TBI_CUSTOM_ARROWS;
123*0d4dbf8bSAndre Fischer                Command = ".uno:ArrowShapes";
124*0d4dbf8bSAndre Fischer                DropDown = TRUE;
125*0d4dbf8bSAndre Fischer			};
126*0d4dbf8bSAndre Fischer			ToolBoxItem
127*0d4dbf8bSAndre Fischer			{
128*0d4dbf8bSAndre Fischer				Identifier = TBI_CUSTOM_FLOWCHARTS;
129*0d4dbf8bSAndre Fischer                Command = ".uno:FlowChartShapes";
130*0d4dbf8bSAndre Fischer                DropDown = TRUE;
131*0d4dbf8bSAndre Fischer            };
132*0d4dbf8bSAndre Fischer			ToolBoxItem
133*0d4dbf8bSAndre Fischer			{
134*0d4dbf8bSAndre Fischer				Identifier = TBI_CUSTOM_CALLOUTS;
135*0d4dbf8bSAndre Fischer                Command = ".uno:CalloutShapes";
136*0d4dbf8bSAndre Fischer                DropDown = TRUE;
137*0d4dbf8bSAndre Fischer			};
138*0d4dbf8bSAndre Fischer			ToolBoxItem
139*0d4dbf8bSAndre Fischer			{
140*0d4dbf8bSAndre Fischer				Identifier = TBI_CUSTOM_STARS;
141*0d4dbf8bSAndre Fischer                Command = ".uno:StarShapes";
142*0d4dbf8bSAndre Fischer                DropDown = TRUE;
143*0d4dbf8bSAndre Fischer			};
144*0d4dbf8bSAndre Fischer		};
145*0d4dbf8bSAndre Fischer	};
146*0d4dbf8bSAndre Fischer};
147