xref: /trunk/main/sw/sdi/frmsh.sdi (revision a02241ff)
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 TextFrame : BaseTextFrame
25cdf0e10cSrcweir[
26cdf0e10cSrcweir	uuid = "564CBAA0-111A-101D-9757-6E74207A7520"
27cdf0e10cSrcweir]
28cdf0e10cSrcweir{
29cdf0e10cSrcweir	import TextSelection;
30cdf0e10cSrcweir}
31cdf0e10cSrcweir
32cdf0e10cSrcweir //=========================================================================
33cdf0e10cSrcweir
34cdf0e10cSrcweirshell SwFrameShell : SwBaseShell
35cdf0e10cSrcweir{
36cdf0e10cSrcweir	import TextFrame[Automation];
37cdf0e10cSrcweir
38cdf0e10cSrcweir	FN_FRAME_CHAIN
39cdf0e10cSrcweir	[
40cdf0e10cSrcweir		ExecMethod = Execute ;
41cdf0e10cSrcweir		StateMethod = GetState ;
42cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
43cdf0e10cSrcweir	]
44cdf0e10cSrcweir
45cdf0e10cSrcweir	FN_FRAME_UNCHAIN
46cdf0e10cSrcweir	[
47cdf0e10cSrcweir		ExecMethod = Execute ;
48cdf0e10cSrcweir		StateMethod = GetState ;
49cdf0e10cSrcweir		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
50cdf0e10cSrcweir	]
51cdf0e10cSrcweir}
52cdf0e10cSrcweir
53