LibreOffice Module sw (master)  1
textsh.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 
20 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_TEXTSH_HXX
21 #define INCLUDED_SW_SOURCE_UIBASE_INC_TEXTSH_HXX
22 
23 #include "basesh.hxx"
24 #include <unotools/caserotate.hxx>
25 
27 class SwFieldMgr;
28 class SwFlyFrameAttrMgr;
29 class SvxHyperlinkItem;
30 
32 {
34 
35  void InsertSymbol( SfxRequest& );
36  void InsertHyperlink( const SvxHyperlinkItem& rHlnkItem );
37  bool InsertMediaDlg( SfxRequest const & );
38 
39 public:
41 
42 private:
44  static void InitInterface_Impl();
45 
46 public:
47  DECL_LINK( RedlineNextHdl, AbstractSvxPostItDialog&, void );
48  DECL_LINK( RedlinePrevHdl, AbstractSvxPostItDialog&, void );
49 
50  void Execute(SfxRequest &);
51  void GetState(SfxItemSet &);
52 
53  void ExecInsert(SfxRequest &);
54  void StateInsert(SfxItemSet&);
55  void ExecDelete(SfxRequest &);
56  void ExecEnterNum(SfxRequest &);
57  void ExecBasicMove(SfxRequest &);
58  void ExecMove(SfxRequest &);
59  void ExecMovePage(SfxRequest &);
60  void ExecMoveCol(SfxRequest &);
61  void ExecMoveLingu(SfxRequest &);
62  void ExecMoveMisc(SfxRequest &);
63  void ExecField(SfxRequest &rReq);
64  void ExecSetNumber(SfxRequest const &);
65  void StateField(SfxItemSet &);
66  void ExecIdx(SfxRequest const &);
67  void GetIdxState(SfxItemSet &);
68  void ExecGlossary(SfxRequest &);
69 
70  void ExecCharAttr(SfxRequest &);
71  void ExecCharAttrArgs(SfxRequest &);
72  void ExecParaAttr(SfxRequest &);
73  void ExecParaAttrArgs(SfxRequest &);
74  void ExecDB(SfxRequest const &);
75  void ExecTransliteration(SfxRequest const &);
76  void ExecRotateTransliteration(SfxRequest const &);
77 
78  void GetAttrState(SfxItemSet &);
79 
80  SwTextShell(SwView &rView);
81  virtual ~SwTextShell() override;
83  SfxItemSet CreateInsertFrameItemSet(SwFlyFrameAttrMgr& rMgr);
84 };
85 
86 void sw_CharDialog( SwWrtShell &rWrtSh, bool bUseDialog, sal_uInt16 nSlot,const SfxItemSet *pArgs, SfxRequest *pReq );
87 
88 #endif
89 
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define SW_TEXTSHELL
Definition: shellid.hxx:27
RotateTransliteration m_aRotateCase
Definition: textsh.hxx:33
Used by the UI to modify the document model.
Definition: wrtsh.hxx:86
void sw_CharDialog(SwWrtShell &rWrtSh, bool bUseDialog, sal_uInt16 nSlot, const SfxItemSet *pArgs, SfxRequest *pReq)
Definition: textsh1.cxx:135
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
Definition: view.hxx:146
#define SFX_DECL_INTERFACE(nId)