xref: /aoo42x/main/svx/source/fmcomp/gridctrl.src (revision 09a1d057)
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 "svx/fmresids.hrc"
25#include <svx/svxids.hrc>
26#include "globlmn.hrc"
27#include "fmhelp.hrc"
28#include <svx/svxcommands.h>
29
30Menu RID_SVXMNU_ROWS
31{
32	ItemList =
33	{
34		MenuItem
35		{
36			Identifier = SID_FM_DELETEROWS ;
37			HelpId = HID_FM_DELETEROWS ;
38			Text [ en-US ] = "Delete Rows" ;
39		};
40		MenuItem
41		{
42			Identifier = SID_FM_RECORD_SAVE ;
43			HelpId = CMD_SID_FM_RECORD_SAVE ;
44			Text [ en-US ] = "Save Record" ;
45		};
46		MenuItem
47		{
48			Identifier = SID_FM_RECORD_UNDO ;
49			HelpId = CMD_SID_FM_RECORD_UNDO ;
50			Text [ en-US ] = "Undo: Data entry" ;
51		};
52	};
53};
54Menu RID_SVXMNU_COLS
55{
56	ItemList =
57	{
58		MenuItem
59		{
60			Identifier = SID_FM_INSERTCOL ;
61			HelpId = HID_FM_INSERTCOL ;
62			Text [ en-US ] = "Insert ~Column" ;
63			SubMenu = Menu
64			{
65				ItemList =
66				{
67					MenuItem
68					{
69						Identifier = SID_FM_EDIT ;
70						HelpId = CMD_SID_FM_EDIT ;
71						Text [ en-US ] = "Text Box" ;
72					};
73					MenuItem
74					{
75						Identifier = SID_FM_CHECKBOX ;
76						HelpId = CMD_SID_FM_CHECKBOX ;
77						Text [ en-US ] = "Check Box" ;
78					};
79					MenuItem
80					{
81						Identifier = SID_FM_COMBOBOX ;
82						HelpId = CMD_SID_FM_COMBOBOX ;
83						Text [ en-US ] = "Combo Box" ;
84					};
85					MenuItem
86					{
87						Identifier = SID_FM_LISTBOX ;
88						HelpId = CMD_SID_FM_LISTBOX ;
89						Text [ en-US ] = "List Box" ;
90					};
91					MenuItem
92					{
93						Identifier = SID_FM_DATEFIELD ;
94						HelpId = CMD_SID_FM_DATEFIELD ;
95						Text [ en-US ] = "Date Field" ;
96					};
97					MenuItem
98					{
99						Identifier = SID_FM_TIMEFIELD ;
100						HelpId = CMD_SID_FM_TIMEFIELD ;
101						Text [ en-US ] = "Time Field" ;
102					};
103					MenuItem
104					{
105						Identifier = SID_FM_NUMERICFIELD ;
106						HelpId = CMD_SID_FM_NUMERICFIELD ;
107						Text [ en-US ] = "Numeric Field" ;
108					};
109					MenuItem
110					{
111						Identifier = SID_FM_CURRENCYFIELD ;
112						HelpId = CMD_SID_FM_CURRENCYFIELD ;
113						Text [ en-US ] = "Currency Field" ;
114					};
115					MenuItem
116					{
117						Identifier = SID_FM_PATTERNFIELD ;
118						HelpId = CMD_SID_FM_PATTERNFIELD ;
119						Text [ en-US ] = "Pattern Field" ;
120					};
121					MenuItem
122					{
123						Identifier = SID_FM_FORMATTEDFIELD ;
124						HelpId = CMD_SID_FM_FORMATTEDFIELD ;
125						Text [ en-US ] = "Formatted Field" ;
126					};
127					MenuItem
128					{
129						// this is a dummy which is never used herein but for copy to newly built menus
130						Identifier = SID_FM_TWOFIELDS_DATE_N_TIME;
131						HelpId = HID_CONTROLS_DATE_N_TIME;
132						Text [ en-US ] = "Date and Time Field" ;
133						Disable = True;
134					};
135				};
136			};
137		};
138		MenuItem
139		{
140			Identifier = SID_FM_CHANGECOL ;
141			HelpId = HID_FM_CHANGECOL ;
142			Text [ en-US ] = "~Replace with" ;
143		};
144		MenuItem
145		{
146			Identifier = SID_FM_DELETECOL ;
147			HelpId = HID_FM_DELETECOL ;
148			Text [ en-US ] = "Delete Column" ;
149		};
150		MenuItem
151		{
152			Identifier = SID_FM_HIDECOL ;
153			HelpId = HID_FM_HIDECOL ;
154			Text [ en-US ] = "~Hide Column";
155		};
156		MenuItem
157		{
158			Identifier = SID_FM_SHOWCOLS ;
159			HelpId = HID_FM_SHOWCOLS ;
160			SubMenu = Menu
161			{
162				ItemList =
163				{
164					MenuItem
165					{
166						Identifier = SID_FM_SHOWCOLS_MORE ;
167						HelpId = HID_FM_SHOWCOLS_MORE ;
168						Text [ en-US ] = "~More...";
169					};
170					MenuItem
171					{
172						Separator = TRUE ;
173					};
174					MenuItem
175					{
176						Identifier = SID_FM_SHOWALLCOLS ;
177						HelpId = HID_FM_SHOWALLCOLS ;
178						Text [ en-US ] = "~All";
179					};
180				};
181			};
182			Text [ en-US ] = "~Show Columns";
183		};
184		MenuItem
185		{
186			Identifier = SID_FM_SHOW_PROPERTY_BROWSER ;
187			HelpId = CMD_SID_FM_SHOW_PROPERTY_BROWSER ;
188			Text [ en-US ] = "Column..." ;
189		};
190	};
191};
192
193Menu RID_SVXMNU_CELL
194{
195	ItemList =
196	{
197		MenuItem
198		{
199			ITEM_EDIT_COPY
200		};
201	};
202};
203
204
205
206
207
208
209
210
211
212
213
214
215
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
247
248
249
250
251
252
253
254
255
256