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#include "MenuResIds.hrc"
24#include "ShapeController.hrc"
25
26
27Menu RID_CONTEXTMENU_SHAPE
28{
29    ItemList =
30    {
31        MenuItem
32        {
33            Identifier = COMMAND_ID_FORMAT_LINE;
34            Command = ".uno:FormatLine";
35        };
36        MenuItem
37        {
38            Identifier = COMMAND_ID_FORMAT_AREA;
39            Command = ".uno:FormatArea";
40        };
41        MenuItem
42        {
43            Identifier = COMMAND_ID_TEXT_ATTRIBUTES;
44            Command = ".uno:TextAttributes";
45        };
46        MenuItem
47        {
48            Identifier = COMMAND_ID_TRANSFORM_DIALOG;
49            Command = ".uno:TransformDialog";
50        };
51        MenuItem
52        {
53            Separator = TRUE;
54        };
55        MenuItem
56        {
57            Identifier = COMMAND_ID_OBJECT_TITLE_DESCRIPTION;
58            Command = ".uno:ObjectTitleDescription";
59        };
60        MenuItem
61        {
62            Identifier = COMMAND_ID_RENAME_OBJECT;
63            Command = ".uno:RenameObject";
64        };
65        MenuItem
66        {
67            Separator = TRUE;
68        };
69        MenuItem
70        {
71            Identifier = COMMAND_ID_ARRANGE_ROW;
72            Command = ".uno:ArrangeRow";
73            SubMenu = Menu
74            {
75                ItemList =
76                {
77                    MenuItem
78                    {
79                        Identifier = COMMAND_ID_BRING_TO_FRONT;
80                        Command = ".uno:BringToFront";
81                    };
82                    MenuItem
83                    {
84                        Identifier = COMMAND_ID_FORWARD;
85                        Command = ".uno:Forward";
86                    };
87                    MenuItem
88                    {
89                        Identifier = COMMAND_ID_BACKWARD;
90                        Command = ".uno:Backward";
91                    };
92                    MenuItem
93                    {
94                        Identifier = COMMAND_ID_SEND_TO_BACK;
95                        Command = ".uno:SendToBack";
96                    };
97                };
98            };
99        };
100        MenuItem
101        {
102            Separator = TRUE;
103        };
104        MenuItem
105        {
106            Identifier = COMMAND_ID_CUT;
107            Command = ".uno:Cut";
108        };
109        MenuItem
110        {
111            Identifier = COMMAND_ID_COPY;
112            Command = ".uno:Copy";
113        };
114        MenuItem
115        {
116            Identifier = COMMAND_ID_PASTE;
117            Command = ".uno:Paste";
118        };
119    };
120};
121