Files
loongoffice/svx/source/sidebar/insert/InsertPropertyPanel.src
Andre Fischer 1571b47603 Resolves: #i122218# Add new sidebar panel...
for inserting shapes into Draw documents

(cherry picked from commit 5e09229d726cbc288719c7466b277a4eb5bb244b)

Conflicts:
	sd/source/ui/view/drviewsa.cxx
	sfx2/Package_inc.mk
	svx/inc/svx/dialogs.hrc

Related: #i122218# Added missing files to sfx2/inc/sfx2/sidebar

(cherry picked from commit 99572ff12af758a256703884811c7915c79f27ec)

Conflicts:
	sfx2/inc/sfx2/sidebar/ResourceDefinitions.hrc

Related: #i122218# Added more missing files

(cherry picked from commit cdc8cb702630938c673255638aecbd2dd5c53ed7)

fix up to build

Change-Id: I098976d787e6a91d36aac98a5917f48b50872087
9c6f4d957924e177922e26606173d1b238b8006e
ceb9b720c08fb1db5b418c618e280b9b68eda2cf
01712631eacbd3e58e2cd04d1903bbcb0ecb9301
2013-05-20 11:33:28 +01:00

143 lines
4.4 KiB
Plaintext

/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "InsertPropertyPanel.hrc"
#include <sfx2/sidebar/ResourceDefinitions.hrc>
#include "helpid.hrc"
#define FIRST_LINE_Y SECTIONPAGE_MARGIN_VERTICAL_TOP
#define SECOND_LINE_Y FIRST_LINE_Y + TOOLBOX_ITEM_HEIGHT + CONTROL_SPACING_VERTICAL + 1
Control RID_SIDEBAR_INSERT_PANEL
{
OutputSize = TRUE;
DialogControl = TRUE;
Border = FALSE;
Size = MAP_APPFONT(
PROPERTYPAGE_WIDTH,
SECTIONPAGE_MARGIN_VERTICAL_TOP
+ TOOLBOX_ITEM_HEIGHT * 2
+ CONTROL_SPACING_VERTICAL
+ SECTIONPAGE_MARGIN_VERTICAL_BOT);
HelpID = HID_SIDEBAR_INSERT_PANEL;
Text = "Insert";
ToolBox TB_INSERT_STANDARD
{
SVLook = TRUE ;
Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, FIRST_LINE_Y);
Size = MAP_APPFONT (TOOLBOX_ITEM_WIDTH * 6 + TOOLBOX_ITEM_DD_WIDTH, TOOLBOX_ITEM_HEIGHT) ;
TabStop = TRUE ;
HelpID = HID_SIDEBAR_INSERT_TOOLBOX;
Text = "Insert Shapes";
ItemList =
{
ToolBoxItem
{
Identifier = TBI_STANDARD_LINE;
Command = ".uno:Line";
};
ToolBoxItem
{
Identifier = TBI_STANDARD_ARROW;
Command = ".uno:LineArrowEnd";
};
ToolBoxItem
{
Identifier = TBI_STANDARD_RECTANGLE;
Command = ".uno:Rect";
};
ToolBoxItem
{
Identifier = TBI_STANDARD_ELLIPSE;
Command = ".uno:Ellipse";
};
ToolBoxItem
{
Identifier = TBI_STANDARD_TEXT;
Command = ".uno:Text";
};
ToolBoxItem
{
Identifier = TBI_STANDARD_LINES;
Command = ".uno:LineToolbox";
};
ToolBoxItem
{
Identifier = TBI_STANDARD_CONNECTORS;
Command = ".uno:ConnectorToolbox";
};
ToolBoxItem
{
Identifier = TBI_STANDARD_ARROWS;
Command = ".uno:ArrowsToolbox";
DropDown = TRUE;
};
};
};
ToolBox TB_INSERT_CUSTOM
{
SVLook = TRUE ;
Pos = MAP_APPFONT (SECTIONPAGE_MARGIN_HORIZONTAL, SECOND_LINE_Y);
Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH * 6, TOOLBOX_ITEM_HEIGHT) ;
TabStop = TRUE ;
HelpID = HID_SIDEBAR_INSERT_TOOLBOX;
Text = "Insert";
ItemList =
{
ToolBoxItem
{
Identifier = TBI_CUSTOM_BASICS;
Command = ".uno:BasicShapes";
DropDown = TRUE;
};
ToolBoxItem
{
Identifier = TBI_CUSTOM_SYMBOLS;
Command = ".uno:SymbolShapes";
DropDown = TRUE;
};
ToolBoxItem
{
Identifier = TBI_CUSTOM_ARROWS;
Command = ".uno:ArrowShapes";
DropDown = TRUE;
};
ToolBoxItem
{
Identifier = TBI_CUSTOM_FLOWCHARTS;
Command = ".uno:FlowChartShapes";
DropDown = TRUE;
};
ToolBoxItem
{
Identifier = TBI_CUSTOM_CALLOUTS;
Command = ".uno:CalloutShapes";
DropDown = TRUE;
};
ToolBoxItem
{
Identifier = TBI_CUSTOM_STARS;
Command = ".uno:StarShapes";
DropDown = TRUE;
};
};
};
};