1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28interface TextBezier : TextSelection 29[ 30 uuid = "68EF7EA0-6876-11D0-A887-008029E86826" ] 31{ 32 SID_DELETE 33 [ 34 ExecMethod = Execute ; 35 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 36 ] 37 38 FN_BACKSPACE 39 [ 40 ExecMethod = Execute ; 41 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 42 ] 43 44 FN_ESCAPE // api: 45 [ 46 ExecMethod = Execute; 47 ] 48 49 SID_BEZIER_MOVE 50 [ 51 Export = FALSE; 52 ExecMethod = Execute ; 53 StateMethod = GetState ; 54 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 55 ] 56 57 SID_BEZIER_INSERT 58 [ 59 Export = FALSE; 60 ExecMethod = Execute ; 61 StateMethod = GetState ; 62 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 63 ] 64 65 SID_BEZIER_DELETE 66 [ 67 Export = FALSE; 68 ExecMethod = Execute ; 69 StateMethod = GetState ; 70 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 71 ] 72 73 SID_BEZIER_CUTLINE 74 [ 75 Export = FALSE; 76 ExecMethod = Execute ; 77 StateMethod = GetState ; 78 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 79 ] 80 81 SID_BEZIER_CONVERT 82 [ 83 Export = FALSE; 84 ExecMethod = Execute ; 85 StateMethod = GetState ; 86 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 87 ] 88 89 SID_BEZIER_EDGE 90 [ 91 Export = FALSE; 92 ExecMethod = Execute ; 93 StateMethod = GetState ; 94 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 95 ] 96 97 SID_BEZIER_SMOOTH 98 [ 99 Export = FALSE; 100 ExecMethod = Execute ; 101 StateMethod = GetState ; 102 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 103 ] 104 105 SID_BEZIER_SYMMTR 106 [ 107 Export = FALSE; 108 ExecMethod = Execute ; 109 StateMethod = GetState ; 110 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 111 ] 112 113 SID_BEZIER_CLOSE 114 [ 115 Export = FALSE; 116 ExecMethod = Execute ; 117 StateMethod = GetState ; 118 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 119 ] 120 121 SID_BEZIER_ELIMINATE_POINTS 122 [ 123 Export = FALSE; 124 ExecMethod = Execute ; 125 StateMethod = GetState ; 126 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 127 ] 128} 129 130shell SwBezierShell: SwBaseShell 131{ 132 import TextBezier[Automation]; 133} 134 135 136