LibreOffice Module sw (master)  1
annotsh.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_ANNOTSH_HXX
20 #define INCLUDED_SW_SOURCE_UIBASE_INC_ANNOTSH_HXX
21 
22 #include <sfx2/shell.hxx>
23 #include <shellid.hxx>
24 #include <swmodule.hxx>
25 #include <unotools/caserotate.hxx>
26 
27 class SwView;
29 {
32 
33 public:
35 
36 private:
38  static void InitInterface_Impl();
39 
40 public:
42  virtual ~SwAnnotationShell() override;
43 
44  static void StateDisableItems(SfxItemSet &);
45  void Exec(SfxRequest &);
46 
47  void GetState(SfxItemSet &);
48  void StateInsert(SfxItemSet &rSet);
49 
50  void NoteExec(SfxRequest const &);
51  void GetNoteState(SfxItemSet &);
52 
53  void ExecLingu(SfxRequest &rReq);
54  void GetLinguState(SfxItemSet &);
55 
56  void ExecClpbrd(SfxRequest const &rReq);
57  void StateClpbrd(SfxItemSet &rSet);
58 
59  void ExecTransliteration(SfxRequest const &);
60  void ExecRotateTransliteration(SfxRequest const &);
61 
62  void ExecUndo(SfxRequest &rReq);
63  void StateUndo(SfxItemSet &rSet);
64 
65  static void StateStatusLine(SfxItemSet &rSet);
66 
67  void InsertSymbol(SfxRequest& rReq);
68 
69  void ExecSearch(SfxRequest&);
70  void StateSearch(SfxItemSet &);
71 
72  virtual SfxUndoManager*
73  GetUndoManager() override;
74 
75  static SfxItemPool* GetAnnotationPool(SwView const & rV);
76 };
77 
78 #endif
79 
80 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual SfxUndoManager * GetUndoManager() override
Definition: annotsh.cxx:168
SwView & rView
Definition: annotsh.hxx:30
void GetState(SfxItemSet &)
Definition: annotsh.cxx:614
void StateUndo(SfxItemSet &rSet)
Definition: annotsh.cxx:1587
void ExecLingu(SfxRequest &rReq)
Definition: annotsh.cxx:1242
void ExecSearch(SfxRequest &)
Definition: annotsh.cxx:879
void ExecClpbrd(SfxRequest const &rReq)
Definition: annotsh.cxx:889
void StateSearch(SfxItemSet &)
Definition: annotsh.cxx:884
void Exec(SfxRequest &)
Definition: annotsh.cxx:180
void NoteExec(SfxRequest const &)
Definition: annotsh.cxx:1103
void ExecUndo(SfxRequest &rReq)
Definition: annotsh.cxx:1500
void GetNoteState(SfxItemSet &)
Definition: annotsh.cxx:1150
RotateTransliteration m_aRotateCase
Definition: annotsh.hxx:31
void StateClpbrd(SfxItemSet &rSet)
Definition: annotsh.cxx:965
static void InitInterface_Impl()
SfxInterface initializer.
Definition: annotsh.cxx:143
void InsertSymbol(SfxRequest &rReq)
Definition: annotsh.cxx:1711
void ExecTransliteration(SfxRequest const &)
Definition: annotsh.cxx:1432
#define SW_ANNOTATIONSHELL
Definition: shellid.hxx:61
void StateInsert(SfxItemSet &rSet)
Definition: annotsh.cxx:1050
static void StateDisableItems(SfxItemSet &)
Definition: annotsh.cxx:1700
void ExecRotateTransliteration(SfxRequest const &)
Definition: annotsh.cxx:1483
static void StateStatusLine(SfxItemSet &rSet)
Definition: annotsh.cxx:1025
void GetLinguState(SfxItemSet &)
Definition: annotsh.cxx:1362
static SfxItemPool * GetAnnotationPool(SwView const &rV)
Definition: annotsh.cxx:151
Definition: view.hxx:146
#define SFX_DECL_INTERFACE(nId)