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 24#include "sc.hrc" 25 26 27#define PART1 \ 28 MenuItem\ 29 {\ 30 Identifier = FID_CELL_FORMAT ; \ 31 HelpId = CMD_FID_CELL_FORMAT ; \ 32 Text [ en-US ] = "~Format Cells..." ; \ 33 }; 34 35 36#define PART2 \ 37 MenuItem\ 38 {\ 39 Identifier = SID_CUT ; \ 40 HelpId = CMD_SID_CUT ; \ 41 Text [ en-US ] = "Cu~t" ; \ 42 };\ 43 MenuItem\ 44 {\ 45 Identifier = SID_COPY ; \ 46 HelpId = CMD_SID_COPY ; \ 47 Text [ en-US ] = "~Copy" ; \ 48 };\ 49 MenuItem\ 50 {\ 51 Identifier = SID_PASTE ; \ 52 HelpId = CMD_SID_PASTE ; \ 53 Text [ en-US ] = "~Paste" ; \ 54 }; 55 56//------------------------------------------------------------------------------- 57 58Menu RID_POPUP_ROWHEADER 59{ 60 ItemList = 61 { 62 PART1 63 //------------------------------ 64 MenuItem { Separator = TRUE ; }; 65 //------------------------------ 66 MenuItem 67 { 68 Identifier = FID_ROW_HEIGHT ; 69 HelpId = CMD_FID_ROW_HEIGHT ; 70 Text [ en-US ] = "Row Hei~ght..." ; 71 }; 72 MenuItem 73 { 74 Identifier = FID_ROW_OPT_HEIGHT ; 75 HelpId = CMD_FID_ROW_OPT_HEIGHT ; 76 Text [ en-US ] = "Optimal ~Row Height..." ; 77 }; 78 //------------------------------ 79 MenuItem { Separator = TRUE ; }; 80 //------------------------------ 81 MenuItem 82 { 83 Identifier = FID_INS_ROW ; 84 HelpId = CMD_FID_INS_ROW ; 85 Text [ en-US ] = "~Insert Rows" ; 86 }; 87 MenuItem 88 { 89 Identifier = SID_DEL_ROWS ; 90 HelpId = CMD_SID_DEL_ROWS ; 91 Text [ en-US ] = "~Delete Rows" ; 92 }; 93 MenuItem 94 { 95 Identifier = SID_DELETE ; 96 HelpId = CMD_SID_DELETE ; 97 Text [ en-US ] = "De~lete Contents..." ; 98 }; 99 //------------------------------ 100 MenuItem { Separator = TRUE ; }; 101 //------------------------------ 102 MenuItem 103 { 104 Identifier = FID_ROW_HIDE ; 105 HelpId = CMD_FID_ROW_HIDE ; 106 Text [ en-US ] = "~Hide" ; 107 }; 108 MenuItem 109 { 110 Identifier = FID_ROW_SHOW ; 111 HelpId = CMD_FID_ROW_SHOW ; 112 Text [ en-US ] = "~Show" ; 113 }; 114 //------------------------------ 115 MenuItem { Separator = TRUE ; }; 116 //------------------------------ 117 PART2 118 MenuItem 119 { 120 Identifier = SID_PASTE_SPECIAL ; 121 HelpId = CMD_SID_PASTE_SPECIAL ; 122 Text [ en-US ] = "P~aste Special..." ; 123 }; 124 }; 125}; 126 127//------------------------------------------------------------------- 128 129Menu RID_POPUP_COLHEADER 130{ 131 ItemList = 132 { 133 PART1 134 //------------------------------ 135 MenuItem { Separator = TRUE ; }; 136 //------------------------------ 137 MenuItem 138 { 139 Identifier = FID_COL_WIDTH ; 140 HelpId = CMD_FID_COL_WIDTH ; 141 Text [ en-US ] = "Col~umn Width..." ; 142 }; 143 MenuItem 144 { 145 Identifier = FID_COL_OPT_WIDTH ; 146 HelpId = CMD_FID_COL_OPT_WIDTH ; 147 Text [ en-US ] = "O~ptimal Column Width..." ; 148 }; 149 //------------------------------ 150 MenuItem { Separator = TRUE ; }; 151 //------------------------------ 152 MenuItem 153 { 154 Identifier = FID_INS_COLUMN ; 155 HelpId = CMD_FID_INS_COLUMN ; 156 Text [ en-US ] = "~Insert Columns" ; 157 }; 158 MenuItem 159 { 160 Identifier = SID_DEL_COLS ; 161 HelpId = CMD_SID_DEL_COLS ; 162 Text [ en-US ] = "~Delete Columns" ; 163 }; 164 MenuItem 165 { 166 Identifier = SID_DELETE ; 167 HelpId = CMD_SID_DELETE ; 168 Text [ en-US ] = "D~elete Contents..." ; 169 }; 170 //------------------------------ 171 MenuItem { Separator = TRUE ; }; 172 //------------------------------ 173 MenuItem 174 { 175 Identifier = FID_COL_HIDE ; 176 HelpId = CMD_FID_COL_HIDE ; 177 Text [ en-US ] = "~Hide" ; 178 }; 179 MenuItem 180 { 181 Identifier = FID_COL_SHOW ; 182 HelpId = CMD_FID_COL_SHOW ; 183 Text [ en-US ] = "~Show" ; 184 }; 185 //------------------------------ 186 MenuItem { Separator = TRUE ; }; 187 //------------------------------ 188 PART2 189 MenuItem 190 { 191 Identifier = SID_PASTE_SPECIAL ; 192 HelpId = CMD_SID_PASTE_SPECIAL ; 193 Text [ en-US ] = "Paste ~Special..." ; 194 }; 195 }; 196}; 197 198// ********************************************************************** EOF 199