1/**************************************************************
| 1/**************************************************************
|
2 *
| 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
| 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 *
| 10 *
|
11 * http://www.apache.org/licenses/LICENSE-2.0
| 11 * http://www.apache.org/licenses/LICENSE-2.0
|
12 *
| 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.
| 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 *
| 19 *
|
20 *************************************************************/ 21 22 23 24#include "sc.hrc" 25#include "submenu.hrc" 26#include <svx/globlmn.hrc>
| 20 *************************************************************/ 21 22 23 24#include "sc.hrc" 25#include "submenu.hrc" 26#include <svx/globlmn.hrc>
|
27 // 28 // Defines ------------------------------------------------------------------------------- 29 //
| 27// 28// Defines ------------------------------------------------------------------------------- 29//
|
30#define MN_LAYER\
| 30#define MN_LAYER\
|
31 ToolBoxItem\ 32 {\ 33 Identifier = SID_FRAME_TO_TOP ; \ 34 HelpID = CMD_SID_FRAME_TO_TOP ; \ 35 };\ 36 ToolBoxItem\ 37 {\ 38 Identifier = SID_FRAME_TO_BOTTOM ; \ 39 HelpID = CMD_SID_FRAME_TO_BOTTOM ; \ 40 };
| 31 ToolBoxItem\ 32 {\ 33 Identifier = SID_FRAME_TO_TOP ; \ 34 HelpID = CMD_SID_FRAME_TO_TOP ; \ 35 };\ 36 ToolBoxItem\ 37 {\ 38 Identifier = SID_FRAME_TO_BOTTOM ; \ 39 HelpID = CMD_SID_FRAME_TO_BOTTOM ; \ 40 };
|
41 42#define MN_RENAME_OBJECT \
| 41 42#define MN_RENAME_OBJECT \
|
43 MenuItem\ 44 {\ 45 Identifier = SID_RENAME_OBJECT ; \ 46 HelpId = CMD_SID_RENAME_OBJECT ; \ 47 Text [ en-US ] = "Name...";\ 48 };
| 43 MenuItem\ 44 {\ 45 Identifier = SID_RENAME_OBJECT ; \ 46 HelpId = CMD_SID_RENAME_OBJECT ; \ 47 Text [ en-US ] = "Name..." ;\ 48 };
|
49 50// #i68101# 51#define MN_TITLE_DESCRIPTION_OBJECT \
| 49 50// #i68101# 51#define MN_TITLE_DESCRIPTION_OBJECT \
|
52 MenuItem\ 53 {\ 54 Identifier = SID_TITLE_DESCRIPTION_OBJECT; \ 55 HelpId = CMD_SID_TITLE_DESCRIPTION_OBJECT; \ 56 Text [ en-US ] = "Description...";\ 57 };
| 52 MenuItem\ 53 {\ 54 Identifier = SID_TITLE_DESCRIPTION_OBJECT ; \ 55 HelpId = CMD_SID_TITLE_DESCRIPTION_OBJECT ; \ 56 Text [ en-US ] = "Description..." ;\ 57 };
|
58 59#define MN_ARRANGESUB \
| 58 59#define MN_ARRANGESUB \
|
60 MenuItem\ 61 {\ 62 Identifier = SUBMENU_OBJARRANGE ; \ 63 HelpID = HID_SCMENU_OBJARRANGE ; \ 64 Text [ en-US ] = "~Arrange" ; \ 65 SubMenu = Menu\ 66 {\ 67 ItemList = \ 68 {\ 69 MenuItem\ 70 {\ 71 ITEM_FORMAT_FRAME_TO_TOP\ 72 };\ 73 MenuItem\ 74 {\ 75 Identifier = SID_FRAME_UP ; \ 76 HelpId = CMD_SID_FRAME_UP ; \ 77 /* ### ACHTUNG: Neuer Text in Resource? W~eiter nach vorn : Weiter nach vorn */\ 78 Text [ en-US ] = "Bring ~Forward" ; \
| 60 MenuItem\ 61 {\ 62 Identifier = SUBMENU_OBJARRANGE ; \ 63 HelpID = HID_SCMENU_OBJARRANGE ; \ 64 Text [ en-US ] = "~Arrange" ; \ 65 SubMenu = Menu\ 66 {\ 67 ItemList = \ 68 {\ 69 MenuItem\ 70 {\ 71 ITEM_FORMAT_FRAME_TO_TOP\
|
79 };\
| 72 };\
|
80 MenuItem\ 81 {\ 82 Identifier = SID_FRAME_DOWN ; \ 83 HelpId = CMD_SID_FRAME_DOWN ; \ 84 /* ### ACHTUNG: Neuer Text in Resource? Weiter ~nach hinten : Weiter nach hinten */\ 85 Text [ en-US ] = "Send Back~ward" ; \
| 73 MenuItem\ 74 {\ 75 Identifier = SID_FRAME_UP ; \ 76 HelpId = CMD_SID_FRAME_UP ; \ 77 Text [ en-US ] = "Bring ~Forward" ; \
|
86 };\
| 78 };\
|
87 MenuItem\ 88 {\ 89 ITEM_FORMAT_FRAME_TO_BOTTOM\ 90 };\ 91 MenuItem { Separator = TRUE ; }; \ 92 MenuItem\ 93 {\ 94 ITEM_FORMAT_OBJECT_HEAVEN\ 95 };\ 96 MenuItem\ 97 {\ 98 ITEM_FORMAT_OBJECT_HELL\ 99 };\ 100 };\ 101 };\
| 79 MenuItem\ 80 {\ 81 Identifier = SID_FRAME_DOWN ; \ 82 HelpId = CMD_SID_FRAME_DOWN ; \ 83 Text [ en-US ] = "Send Back~ward" ; \ 84 };\ 85 MenuItem\ 86 {\ 87 ITEM_FORMAT_FRAME_TO_BOTTOM\ 88 };\ 89 MenuItem { Separator = TRUE ; }; \ 90 MenuItem\ 91 {\ 92 ITEM_FORMAT_OBJECT_HEAVEN\ 93 };\ 94 MenuItem\ 95 {\ 96 ITEM_FORMAT_OBJECT_HELL\ 97 };\ 98 };\ 99 };\
|
102 }; 103 104#define MN_ANCHORSUB \
| 100 }; 101 102#define MN_ANCHORSUB \
|
105 MenuItem\ 106 {\ 107 Identifier = SUBMENU_ANCHOR ; \ 108 HelpID = HID_SCMENU_ANCHOR ; \ 109 Text [ en-US ] = "An~chor" ; \ 110 SubMenu = Menu\ 111 {\ 112 ItemList = \ 113 {\ 114 MenuItem\ 115 {\ 116 RadioCheck = TRUE ; \ 117 Identifier = SID_ANCHOR_PAGE ; \ 118 HelpId = CMD_SID_ANCHOR_PAGE ; \ 119 Text [ en-US ] = "To P~age" ; \
| 103 MenuItem\ 104 {\ 105 Identifier = SUBMENU_ANCHOR ; \ 106 HelpID = HID_SCMENU_ANCHOR ; \ 107 Text [ en-US ] = "An~chor" ; \ 108 SubMenu = Menu\ 109 {\ 110 ItemList = \ 111 {\ 112 MenuItem\ 113 {\ 114 RadioCheck = TRUE ; \ 115 Identifier = SID_ANCHOR_PAGE ; \ 116 HelpId = CMD_SID_ANCHOR_PAGE ; \ 117 Text [ en-US ] = "To P~age" ; \
|
120 };\
| 118 };\
|
121 MenuItem\ 122 {\ 123 RadioCheck = TRUE ; \ 124 Identifier = SID_ANCHOR_CELL ; \ 125 HelpId = CMD_SID_ANCHOR_CELL ; \ 126 Text [ en-US ] = "To ~Cell" ; \
| 119 MenuItem\ 120 {\ 121 RadioCheck = TRUE ; \ 122 Identifier = SID_ANCHOR_CELL ; \ 123 HelpId = CMD_SID_ANCHOR_CELL ; \ 124 Text [ en-US ] = "To ~Cell" ; \
|
127 };\
| 125 };\
|
128 };\ 129 };\
| 126 };\ 127 };\
|
130 }; 131 132#define MN_ALIGNSUB \
| 128 }; 129 130#define MN_ALIGNSUB \
|
133 MenuItem\ 134 {\ 135 Identifier = SID_OBJECT_ALIGN ; \ 136 HelpId = CMD_SID_OBJECT_ALIGN ; \ 137 Text [ en-US ] = "A~lignment" ; \ 138 SubMenu = Menu\ 139 {\ 140 ItemList = \ 141 {\ 142 MenuItem\ 143 {\ 144 ITEM_FORMAT_OBJECT_ALIGN_LEFT\ 145 };\ 146 MenuItem\ 147 {\ 148 ITEM_FORMAT_OBJECT_ALIGN_CENTER\ 149 };\ 150 MenuItem\ 151 {\ 152 ITEM_FORMAT_OBJECT_ALIGN_RIGHT\ 153 };\ 154 MenuItem\ 155 {\ 156 Separator = TRUE ; \ 157 };\ 158 MenuItem\ 159 {\ 160 ITEM_FORMAT_OBJECT_ALIGN_UP\ 161 };\ 162 MenuItem\ 163 {\ 164 ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\ 165 };\ 166 MenuItem\ 167 {\ 168 ITEM_FORMAT_OBJECT_ALIGN_DOWN\ 169 };\ 170 };\ 171 };\
| 131 MenuItem\ 132 {\ 133 Identifier = SID_OBJECT_ALIGN ; \ 134 HelpId = CMD_SID_OBJECT_ALIGN ; \ 135 Text [ en-US ] = "A~lignment" ; \ 136 SubMenu = Menu\ 137 {\ 138 ItemList = \ 139 {\ 140 MenuItem\ 141 {\ 142 ITEM_FORMAT_OBJECT_ALIGN_LEFT\ 143 };\ 144 MenuItem\ 145 {\ 146 ITEM_FORMAT_OBJECT_ALIGN_CENTER\ 147 };\ 148 MenuItem\ 149 {\ 150 ITEM_FORMAT_OBJECT_ALIGN_RIGHT\ 151 };\ 152 MenuItem\ 153 {\ 154 Separator = TRUE ; \ 155 };\ 156 MenuItem\ 157 {\ 158 ITEM_FORMAT_OBJECT_ALIGN_UP\ 159 };\ 160 MenuItem\ 161 {\ 162 ITEM_FORMAT_OBJECT_ALIGN_MIDDLE\ 163 };\ 164 MenuItem\ 165 {\ 166 ITEM_FORMAT_OBJECT_ALIGN_DOWN\ 167 };\ 168 };\ 169 };\
|
172 }; 173 174
| 170 }; 171 172
|
175 // Popup-Menues --------------------------------------------------------------------- 176 //
| 173// Popup-Menues --------------------------------------------------------------------- 174//
|
177String RID_POPUP_DRAWFORM 178{
| 175String RID_POPUP_DRAWFORM 176{
|
179 /* ### ACHTUNG: Neuer Text in Resource? Popup-Men� f�r Zeichenobjekte : Popup-Men� f�r Zeichenobjekte */ 180 Text [ en-US ] = "Popup menu for form objects";
| 177 Text [ en-US ] = "Popup menu for form objects" ;
|
181};
| 178};
|
182 // 183 // Popup-Menue fuer (Uno-) Controls 184 //
| 179// 180// Popup-Menu for (Uno-) Controls 181//
|
185Menu RID_POPUP_DRAWFORM 186{ 187 ItemList = 188 { 189 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM }; 190 191 //-#i68101#---------------------- 192 MenuItem { Separator = TRUE ; }; 193 MN_TITLE_DESCRIPTION_OBJECT
| 182Menu RID_POPUP_DRAWFORM 183{ 184 ItemList = 185 { 186 MenuItem { ITEM_FORMAT_ATTR_TRANSFORM }; 187 188 //-#i68101#---------------------- 189 MenuItem { Separator = TRUE ; }; 190 MN_TITLE_DESCRIPTION_OBJECT
|
194 MN_RENAME_OBJECT
| 191 MN_RENAME_OBJECT
|
195 //-#i68101#---------------------- 196
| 192 //-#i68101#---------------------- 193
|
197 //------------------------------
| 194 //------------------------------
|
198 MenuItem { Separator = TRUE ; };
| 195 MenuItem { Separator = TRUE ; };
|
199 //------------------------------
| 196 //------------------------------
|
200 MenuItem { ITEM_FORM_CONTROL_PROPERTIES }; 201 MenuItem { ITEM_FORM_PROPERTIES }; 202 MenuItem { ITEM_REPLACE_CONTROL };
| 197 MenuItem { ITEM_FORM_CONTROL_PROPERTIES }; 198 MenuItem { ITEM_FORM_PROPERTIES }; 199 MenuItem { ITEM_REPLACE_CONTROL };
|
203 //------------------------------
| 200 //------------------------------
|
204 MenuItem { Separator = TRUE ; };
| 201 MenuItem { Separator = TRUE ; };
|
205 //------------------------------
| 202 //------------------------------
|
206 MN_ARRANGESUB 207 MN_ALIGNSUB 208 MN_ANCHORSUB
| 203 MN_ARRANGESUB 204 MN_ALIGNSUB 205 MN_ANCHORSUB
|
209 //------------------------------
| 206 //------------------------------
|
210 MenuItem { Separator = TRUE ; };
| 207 MenuItem { Separator = TRUE ; };
|
211 //------------------------------
| 208 //------------------------------
|
212 ITEM_GROUP_MENU 213 }; 214}; 215
| 209 ITEM_GROUP_MENU 210 }; 211}; 212
|
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
| 213// ********************************************************************** EOF
|
| |