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 #ifndef _SWANNOTSH_HXX 23 #define _SWANNOTSH_HXX 24 25 #include <sfx2/shell.hxx> 26 #include "shellid.hxx" 27 #include "swmodule.hxx" 28 29 class SwView; 30 class SwAnnotationShell: public SfxShell 31 { 32 SwView& rView; 33 34 public: 35 SFX_DECL_INTERFACE(SW_ANNOTATIONSHELL) 36 TYPEINFO(); 37 38 SwAnnotationShell(SwView&); 39 virtual ~SwAnnotationShell(); 40 41 void StateDisableItems(SfxItemSet &); 42 void Exec(SfxRequest &); 43 44 void GetState(SfxItemSet &); 45 void StateInsert(SfxItemSet &rSet); 46 47 void NoteExec(SfxRequest &); 48 void GetNoteState(SfxItemSet &); 49 50 void ExecLingu(SfxRequest &rReq); 51 void GetLinguState(SfxItemSet &); 52 53 void ExecClpbrd(SfxRequest &rReq); 54 void StateClpbrd(SfxItemSet &rSet); 55 56 void ExecTransliteration(SfxRequest &); 57 58 void ExecUndo(SfxRequest &rReq); 59 void StateUndo(SfxItemSet &rSet); 60 61 void StateStatusLine(SfxItemSet &rSet); 62 63 void InsertSymbol(SfxRequest& rReq); 64 65 void ExecSearch(SfxRequest&, sal_Bool bNoMessage = sal_False); 66 void StateSearch(SfxItemSet &); 67 68 69 virtual ::svl::IUndoManager* 70 GetUndoManager(); 71 }; 72 73 #endif 74 75 /* vim: set noet sw=4 ts=4: */ 76