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: accel_tmpl.src,v $
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 ************************************************************************/
31 #ifndef SD_ACCELERATOR
32 #define SD_ACCELERATOR RID_DRAW_DEFAULTACCEL
33 #include "accelids.src"
36 #ifndef _GLOBALACC_SRC
37 #include <svx/globlac.hrc>
40 /** For the presentation we change some accelerator keys:
41 The navigator is moved from F5 to Shift-F5.
42 The presentation is started for F5, F9, Control-F2. The later two are
43 defined in svx/globalac.hrc.
45 #define AI_SD_NAVIGATOR ACC_CODE(SID_NAVIGATOR, KEY_F5, TRUE, FALSE, FALSE )
46 #define AI_PRESENTATION_F5 ACC_CODE(SID_PRESENTATION, KEY_F5, FALSE, FALSE, FALSE )
48 Accelerator SD_ACCELERATOR
54 #if SD_ACCELERATOR != RID_GRAPHIC_DEFAULTACCEL
57 AI_PRESENTATION_COMPAT
68 AI_ATTR_TEXT_FITTOSIZE
70 #if SD_ACCELERATOR != RID_GRAPHIC_DEFAULTACCEL
75 AI_ATTR_PARA_LINESPACE_10
76 AI_ATTR_PARA_LINESPACE_20
77 AI_ATTR_PARA_LINESPACE_15
79 AI_ATTR_PARA_ADJUST_BLOCK
80 AI_ATTR_PARA_ADJUST_CENTER
89 AI_ATTR_PARA_ADJUST_LEFT
90 AI_ATTR_PARA_ADJUST_RIGHT
92 AI_ATTR_CHAR_UNDERLINE
94 #if SD_ACCELERATOR != RID_PLUGINACCEL
95 // Ob das wirklich richtig ist (PlugIn-Accel) sollte mal geprueft werden !!!
101 // sonstige Acceleratoren
111 AI( SID_PASTE2, KEY_V, TRUE, TRUE, FALSE )