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 24interface TextBezier : TextSelection 25[ 26 uuid = "68EF7EA0-6876-11D0-A887-008029E86826" ] 27{ 28 SID_DELETE 29 [ 30 ExecMethod = Execute ; 31 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 32 ] 33 34 FN_BACKSPACE 35 [ 36 ExecMethod = Execute ; 37 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 38 ] 39 40 FN_ESCAPE // api: 41 [ 42 ExecMethod = Execute; 43 ] 44 45 SID_BEZIER_MOVE 46 [ 47 Export = FALSE; 48 ExecMethod = Execute ; 49 StateMethod = GetState ; 50 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 51 ] 52 53 SID_BEZIER_INSERT 54 [ 55 Export = FALSE; 56 ExecMethod = Execute ; 57 StateMethod = GetState ; 58 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 59 ] 60 61 SID_BEZIER_DELETE 62 [ 63 Export = FALSE; 64 ExecMethod = Execute ; 65 StateMethod = GetState ; 66 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 67 ] 68 69 SID_BEZIER_CUTLINE 70 [ 71 Export = FALSE; 72 ExecMethod = Execute ; 73 StateMethod = GetState ; 74 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 75 ] 76 77 SID_BEZIER_CONVERT 78 [ 79 Export = FALSE; 80 ExecMethod = Execute ; 81 StateMethod = GetState ; 82 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 83 ] 84 85 SID_BEZIER_EDGE 86 [ 87 Export = FALSE; 88 ExecMethod = Execute ; 89 StateMethod = GetState ; 90 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 91 ] 92 93 SID_BEZIER_SMOOTH 94 [ 95 Export = FALSE; 96 ExecMethod = Execute ; 97 StateMethod = GetState ; 98 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 99 ] 100 101 SID_BEZIER_SYMMTR 102 [ 103 Export = FALSE; 104 ExecMethod = Execute ; 105 StateMethod = GetState ; 106 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 107 ] 108 109 SID_BEZIER_CLOSE 110 [ 111 Export = FALSE; 112 ExecMethod = Execute ; 113 StateMethod = GetState ; 114 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 115 ] 116 117 SID_BEZIER_ELIMINATE_POINTS 118 [ 119 Export = FALSE; 120 ExecMethod = Execute ; 121 StateMethod = GetState ; 122 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 123 ] 124} 125 126shell SwBezierShell: SwBaseShell 127{ 128 import TextBezier[Automation]; 129} 130 131 132