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 TextDocument : BaseTextDocument 25cdf0e10cSrcweir[ 26cdf0e10cSrcweir uuid = "0D960120-111C-101D-9757-6E74207A7520" 27cdf0e10cSrcweir] 28cdf0e10cSrcweir{ 29cdf0e10cSrcweir // Slots, die nicht in der WebDocShell gebraucht werden 30cdf0e10cSrcweir 31cdf0e10cSrcweir FN_OUTLINE_TO_IMPRESS 32cdf0e10cSrcweir [ 33cdf0e10cSrcweir ExecMethod = Execute; 34cdf0e10cSrcweir StateMethod = GetState; 35cdf0e10cSrcweir ] 36cdf0e10cSrcweir 37cdf0e10cSrcweir FN_OUTLINE_TO_CLIPBOARD 38cdf0e10cSrcweir [ 39cdf0e10cSrcweir ExecMethod = Execute; 40cdf0e10cSrcweir StateMethod = GetState; 41cdf0e10cSrcweir ] 42cdf0e10cSrcweir FN_ABSTRACT_STARIMPRESS 43cdf0e10cSrcweir [ 44cdf0e10cSrcweir ExecMethod = Execute; 45cdf0e10cSrcweir StateMethod = GetState; 46cdf0e10cSrcweir ] 47cdf0e10cSrcweir FN_ABSTRACT_NEWDOC 48cdf0e10cSrcweir [ 49cdf0e10cSrcweir ExecMethod = Execute; 50cdf0e10cSrcweir StateMethod = GetState; 51cdf0e10cSrcweir ] 52cdf0e10cSrcweir FN_NEW_GLOBAL_DOC 53cdf0e10cSrcweir [ 54cdf0e10cSrcweir ExecMethod = Execute; 55cdf0e10cSrcweir StateMethod = GetState; 56cdf0e10cSrcweir ] 57cdf0e10cSrcweir FN_NEW_HTML_DOC 58cdf0e10cSrcweir [ 59cdf0e10cSrcweir ExecMethod = Execute; 60cdf0e10cSrcweir StateMethod = GetState; 61cdf0e10cSrcweir ] 62cdf0e10cSrcweir} 63cdf0e10cSrcweir 64cdf0e10cSrcweirshell SwDocShell 65cdf0e10cSrcweir{ 66cdf0e10cSrcweir import TextDocument[Automation]; 67cdf0e10cSrcweir} 68cdf0e10cSrcweir 69cdf0e10cSrcweirshell SwGlosDocShell : SwDocShell 70cdf0e10cSrcweir{ 71cdf0e10cSrcweir import TextDocument[Automation]; 72cdf0e10cSrcweir 73cdf0e10cSrcweir SID_SAVEDOC // status() 74cdf0e10cSrcweir [ 75cdf0e10cSrcweir ExecMethod = Execute ; 76cdf0e10cSrcweir StateMethod = GetState ; 77cdf0e10cSrcweir ] 78cdf0e10cSrcweir} 79cdf0e10cSrcweir 80