1*a02241ffSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*a02241ffSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*a02241ffSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*a02241ffSAndrew Rist * distributed with this work for additional information 6*a02241ffSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*a02241ffSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*a02241ffSAndrew Rist * "License"); you may not use this file except in compliance 9*a02241ffSAndrew Rist * with the License. You may obtain a copy of the License at 10*a02241ffSAndrew Rist * 11*a02241ffSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*a02241ffSAndrew Rist * 13*a02241ffSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*a02241ffSAndrew Rist * software distributed under the License is distributed on an 15*a02241ffSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*a02241ffSAndrew Rist * KIND, either express or implied. See the License for the 17*a02241ffSAndrew Rist * specific language governing permissions and limitations 18*a02241ffSAndrew Rist * under the License. 19*a02241ffSAndrew Rist * 20*a02241ffSAndrew Rist *************************************************************/ 21*a02241ffSAndrew Rist 22*a02241ffSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirinterface BaseTextDrawBase 25cdf0e10cSrcweir[ 26cdf0e10cSrcweir Automation = FALSE; 27cdf0e10cSrcweir] 28cdf0e10cSrcweir{ 29cdf0e10cSrcweir FN_DRAW_WRAP_DLG 30cdf0e10cSrcweir [ 31cdf0e10cSrcweir ExecMethod = Execute; 32cdf0e10cSrcweir StateMethod = GetState ; 33cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 34cdf0e10cSrcweir ] 35cdf0e10cSrcweir 36cdf0e10cSrcweir SID_ATTR_TRANSFORM 37cdf0e10cSrcweir [ 38cdf0e10cSrcweir ExecMethod = Execute; 39cdf0e10cSrcweir StateMethod = GetState ; 40cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 41cdf0e10cSrcweir ] 42cdf0e10cSrcweir 43cdf0e10cSrcweir SID_GROUP 44cdf0e10cSrcweir [ 45cdf0e10cSrcweir ExecMethod = Execute ; 46cdf0e10cSrcweir StateMethod = GetState ; 47cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 48cdf0e10cSrcweir ] 49cdf0e10cSrcweir 50cdf0e10cSrcweir SID_UNGROUP 51cdf0e10cSrcweir [ 52cdf0e10cSrcweir ExecMethod = Execute ; 53cdf0e10cSrcweir StateMethod = GetState ; 54cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 55cdf0e10cSrcweir ] 56cdf0e10cSrcweir 57cdf0e10cSrcweir SID_ENTER_GROUP 58cdf0e10cSrcweir [ 59cdf0e10cSrcweir AutoUpdate = TRUE , 60cdf0e10cSrcweir ExecMethod = Execute ; 61cdf0e10cSrcweir StateMethod = GetState ; 62cdf0e10cSrcweir ] 63cdf0e10cSrcweir 64cdf0e10cSrcweir SID_LEAVE_GROUP 65cdf0e10cSrcweir [ 66cdf0e10cSrcweir AutoUpdate = TRUE , 67cdf0e10cSrcweir ExecMethod = Execute ; 68cdf0e10cSrcweir StateMethod = GetState ; 69cdf0e10cSrcweir ] 70cdf0e10cSrcweir 71cdf0e10cSrcweir SID_FRAME_TO_TOP 72cdf0e10cSrcweir [ 73cdf0e10cSrcweir ExecMethod = Execute ; 74cdf0e10cSrcweir StateMethod = GetState ; 75cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 76cdf0e10cSrcweir ] 77cdf0e10cSrcweir 78cdf0e10cSrcweir SID_FRAME_TO_BOTTOM 79cdf0e10cSrcweir [ 80cdf0e10cSrcweir ExecMethod = Execute ; 81cdf0e10cSrcweir StateMethod = GetState ; 82cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 83cdf0e10cSrcweir ] 84cdf0e10cSrcweir 85cdf0e10cSrcweir FN_FRAME_UP 86cdf0e10cSrcweir [ 87cdf0e10cSrcweir ExecMethod = Execute ; 88cdf0e10cSrcweir StateMethod = GetState ; 89cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 90cdf0e10cSrcweir ] 91cdf0e10cSrcweir 92cdf0e10cSrcweir FN_FRAME_DOWN 93cdf0e10cSrcweir [ 94cdf0e10cSrcweir ExecMethod = Execute ; 95cdf0e10cSrcweir StateMethod = GetState ; 96cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 97cdf0e10cSrcweir ] 98cdf0e10cSrcweir 99cdf0e10cSrcweir SID_DELETE 100cdf0e10cSrcweir [ 101cdf0e10cSrcweir ExecMethod = Execute ; 102cdf0e10cSrcweir StateMethod = GetState ; 103cdf0e10cSrcweir FastCall = FALSE ; 104cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 105cdf0e10cSrcweir ] 106cdf0e10cSrcweir 107cdf0e10cSrcweir FN_BACKSPACE 108cdf0e10cSrcweir [ 109cdf0e10cSrcweir ExecMethod = Execute ; 110cdf0e10cSrcweir StateMethod = GetState ; 111cdf0e10cSrcweir FastCall = FALSE ; 112cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 113cdf0e10cSrcweir ] 114cdf0e10cSrcweir 115cdf0e10cSrcweir SID_STYLE_CATALOG // ole(no) api(play/rec) 116cdf0e10cSrcweir [ 117cdf0e10cSrcweir StateMethod = StateDisableItems ; 118cdf0e10cSrcweir ] 119cdf0e10cSrcweir 120cdf0e10cSrcweir // #i68101# 121cdf0e10cSrcweir FN_TITLE_DESCRIPTION_SHAPE 122cdf0e10cSrcweir [ 123cdf0e10cSrcweir ExecMethod = Execute ; 124cdf0e10cSrcweir StateMethod = GetState ; 125cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 126cdf0e10cSrcweir ] 127cdf0e10cSrcweir FN_NAME_SHAPE 128cdf0e10cSrcweir [ 129cdf0e10cSrcweir ExecMethod = Execute ; 130cdf0e10cSrcweir StateMethod = GetState ; 131cdf0e10cSrcweir DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 132cdf0e10cSrcweir ] 133cdf0e10cSrcweir} 134cdf0e10cSrcweir 135cdf0e10cSrcweir 136