1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: swmn_tmpl.hrc,v $
10 * $Revision: 1.15.210.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 #include <svx/dialogs.hrc>
35 #include <svx/globlmn.hrc>
38 #include "globals.hrc"
43 /* --------------------- F O R M A T --------------------------------- */
45 #define SEPARATOR MenuItem { Separator = TRUE; }
47 //define for ITEM_FORMAT_NUMBERING
48 #define DEFINE_SLOTID_FOR_NUMBER_BULLETS FN_NUMBER_BULLETS
49 #define MN_NUMBERING ITEM_FORMAT_NUMBERING
62 Identifier = FN_FORMAT_PAGE_DLG ; \
63 HelpID = FN_FORMAT_PAGE_DLG ; \
64 Text [ en-US ] = "Pa~ge..." ; \
71 ITEM_FORMAT_ATTR_CHAR_FONT\
75 ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT\
79 Identifier = MN_FORMAT_STYLE ; \
80 HelpID = MN_FORMAT_STYLE ; \
81 Command = ".uno:StyleMenu" ; \
82 Text [ en-US ] = "St~yle" ; \
89 ITEM_FORMAT_ATTR_CHAR_WEIGHT\
93 ITEM_FORMAT_ATTR_CHAR_POSTURE\
97 ITEM_FORMAT_ATTR_CHAR_OVERLINE\
101 ITEM_FORMAT_ATTR_CHAR_UNDERLINE\
105 ITEM_FORMAT_ATTR_CHAR_STRIKEOUT\
109 ITEM_FORMAT_ATTR_CHAR_SHADOWED\
113 ITEM_FORMAT_ATTR_CHAR_CONTOUR\
118 Identifier = FN_SET_SUPER_SCRIPT ; \
119 HelpID = FN_SET_SUPER_SCRIPT ; \
120 Text [ en-US ] = "Superscript" ; \
124 Identifier = FN_SET_SUB_SCRIPT ; \
125 HelpID = FN_SET_SUB_SCRIPT ; \
126 Text [ en-US ] = "Subscript" ; \
133 Identifier = MN_FORMAT_ALGN ; \
134 HelpID = MN_FORMAT_ALGN ; \
135 Command = ".uno:AlignTextMenu" ; \
136 Text [ en-US ] = "A~lignment" ; \
137 RadioCheck = TRUE ; \
144 RadioCheck = TRUE ; \
145 ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT\
149 RadioCheck = TRUE ; \
150 ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT\
154 RadioCheck = TRUE ; \
155 ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER\
159 Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \
160 HelpID = SID_ATTR_PARA_ADJUST_BLOCK ; \
161 RadioCheck = TRUE ; \
162 Text [ en-US ] = "Justified" ; \
169 Identifier = MN_FORMAT_LINESPACE ; \
170 HelpID = MN_FORMAT_LINESPACE ; \
171 Command = ".uno:LineSpacingMenu" ; \
172 Text [ en-US ] = "Line Spacing" ; \
173 _MenuItemFlags = MIB_RADIOCHECK ; \
180 RadioCheck = TRUE ; \
181 ITEM_FORMAT_PARA_LINESPACE_10\
185 RadioCheck = TRUE ; \
186 ITEM_FORMAT_PARA_LINESPACE_15\
190 RadioCheck = TRUE ; \
191 ITEM_FORMAT_PARA_LINESPACE_20\
197 /* --------------------- M E N U --------------------------------- */
202 The application menu bar resource has become obsolete. You can now find the menu bar at the following
203 location: <project>/uiconfig/[swriter|sweb|sglobal]/menubar/menubar.xml
208 /* --------------------- D O C U M E N T -------------------------- */
211 #define _MN_EDIT_FIELD \
214 Identifier = FN_EDIT_FIELD ; \
215 HelpID = FN_EDIT_FIELD ; \
216 Text [ en-US ] = "Fields..." ; \
218 #define _MN_EDIT_FOOTNOTE \
221 Identifier = FN_EDIT_FOOTNOTE ; \
222 HelpID = FN_EDIT_FOOTNOTE ; \
223 Text [ en-US ] = "Footnote/Endnote~..." ; \
225 #define _MN_EDIT_IDX_ENTRY_DLG \
228 Identifier = FN_EDIT_IDX_ENTRY_DLG ; \
229 HelpID = FN_EDIT_IDX_ENTRY_DLG ; \
230 Text [ en-US ] = "Inde~x Entry..." ; \
233 #define _MN_EDIT_REDLINE \
236 Identifier = FN_REDLINE_ACCEPT_DIRECT; \
237 HelpID = FN_REDLINE_ACCEPT_DIRECT ; \
238 Text [ en-US ] = "Accept Change" ; \
242 Identifier = FN_REDLINE_REJECT_DIRECT ; \
243 HelpID = FN_REDLINE_REJECT_DIRECT ; \
244 Text [ en-US ] = "Reject Change" ; \
247 #define _MN_EDIT_BIB_ENTRY_DLG \
250 Identifier = FN_EDIT_AUTH_ENTRY_DLG ; \
251 HelpID = FN_EDIT_AUTH_ENTRY_DLG ; \
252 Text [ en-US ] = "~Bibliography Entry..."; \
256 #define _MN_EDIT_OPEN_HYPERLINK \
259 ITEM_OPEN_HYPERLINK \
263 Identifier = FN_EDIT_HYPERLINK ; \
264 HelpID = FN_EDIT_HYPERLINK ; \
265 Text [ en-US ] = "Edit Hyperlink..."; \
269 Identifier = FN_COPY_HYPERLINK_LOCATION; \
270 HelpID = FN_COPY_HYPERLINK_LOCATION; \
271 Text [ en-US ] = "Copy Hyperlink ~Location"; \
275 Identifier = FN_REMOVE_HYPERLINK ; \
276 HelpID = FN_REMOVE_HYPERLINK ; \
277 Text [ en-US ] = "Remo~ve Hyperlink"; \
280 #define _MN_EDIT_OPEN_SMARTTAGMENU \
283 ITEM_OPEN_SMARTTAGMENU \
286 #define _MN_EDIT__HYPERLINK \
289 Identifier = FN_EDIT_HYPERLINK ; \
290 HelpID = FN_EDIT_HYPERLINK ; \
291 Text [ en-US ] = "~Edit Hyperlink" ; \
294 #define _DEFAULT_TEXT_EDIT_ELEMENTS \
297 _MN_EDIT_IDX_ENTRY_DLG \
298 _MN_EDIT_BIB_ENTRY_DLG \
302 ITEM_POPUP_TEMPLATE_EDIT \
305 _MN_EDIT_OPEN_HYPERLINK \
306 _MN_EDIT_OPEN_SMARTTAGMENU
312 Identifier = FN_FORMAT_RESET ; \
313 HelpID = FN_FORMAT_RESET ; \
314 Text [ en-US ] = "~Default Formatting" ; \
317 #define _NUMBERING_RELATED_MENU \
321 Identifier = FN_NUMBER_NEWSTART; \
322 HelpId = FN_NUMBER_NEWSTART; \
323 Text[ en-US ] = "Restart Numbering"; \
327 Identifier = FN_NUM_CONTINUE; \
328 HelpId = FN_NUM_CONTINUE; \
329 Text[ en-US ] = "Continue previous numbering"; \
333 Identifier = FN_NUM_BULLET_UP; \
334 HelpId = FN_NUM_BULLET_UP; \
335 Text[ en-US ] = "Up One Level"; \
339 Identifier = FN_NUM_BULLET_DOWN; \
340 HelpId = FN_NUM_BULLET_DOWN; \
341 Text[ en-US ] = "Down One Level"; \
344 #define BASE_TEXT_POPUPMENU_BEGIN \
349 _NUMBERING_RELATED_MENU \
355 ITEM_TRANSLITERATE_MENU \
359 #define BASE_TEXT_POPUPMENU_NOWEB \
362 Identifier = FN_UPDATE_CUR_TOX ; \
363 HelpID = FN_UPDATE_CUR_TOX ; \
364 Text [ en-US ] = "~Update Index/Table"; \
368 Identifier = FN_EDIT_CURRENT_TOX; \
369 HelpID = FN_EDIT_CURRENT_TOX; \
370 Text [ en-US ] = "~Edit Index/Table"; \
374 Identifier = FN_REMOVE_CUR_TOX; \
375 HelpID = FN_REMOVE_CUR_TOX; \
376 Text [ en-US ] = "Delete Index/Table"; \
380 #define BASE_TEXT_POPUPMENU_END \
381 _DEFAULT_TEXT_EDIT_ELEMENTS \