Line data Source code
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 :
26 : class AbstractSvxPostItDialog;
27 : class SwFldMgr;
28 : class SvxHyperlinkItem;
29 :
30 : class SwTextShell: public SwBaseShell
31 : {
32 : SwFldMgr* pPostItFldMgr;
33 : RotateTransliteration m_aRotateCase;
34 :
35 : void InsertSymbol( SfxRequest& );
36 : void InsertHyperlink( const SvxHyperlinkItem& rHlnkItem );
37 : bool InsertMediaDlg( SfxRequest& );
38 :
39 : public:
40 90 : SFX_DECL_INTERFACE(SW_TEXTSHELL)
41 : TYPEINFO_OVERRIDE();
42 :
43 : private:
44 : /// SfxInterface initializer.
45 : static void InitInterface_Impl();
46 :
47 : public:
48 : DECL_LINK( RedlineNextHdl, AbstractSvxPostItDialog * );
49 : DECL_LINK( RedlinePrevHdl, AbstractSvxPostItDialog * );
50 :
51 : void Execute(SfxRequest &);
52 : void GetState(SfxItemSet &);
53 :
54 : void ExecInsert(SfxRequest &);
55 : void StateInsert(SfxItemSet&);
56 : void ExecDelete(SfxRequest &);
57 : void ExecEnterNum(SfxRequest &);
58 : void ExecBasicMove(SfxRequest &);
59 : void ExecMove(SfxRequest &);
60 : void ExecMovePage(SfxRequest &);
61 : void ExecMoveCol(SfxRequest &);
62 : void ExecMoveLingu(SfxRequest &);
63 : void ExecMoveMisc(SfxRequest &);
64 : void ExecField(SfxRequest &rReq);
65 : void ExecSetNumber(SfxRequest &);
66 : void StateField(SfxItemSet &);
67 : void ExecIdx(SfxRequest &);
68 : void GetIdxState(SfxItemSet &);
69 : void ExecGlossary(SfxRequest &);
70 :
71 : void ExecCharAttr(SfxRequest &);
72 : void ExecCharAttrArgs(SfxRequest &);
73 : void ExecParaAttr(SfxRequest &);
74 : void ExecParaAttrArgs(SfxRequest &);
75 : void ExecAttr(SfxRequest &);
76 : void ExecDB(SfxRequest &);
77 : void ExecTransliteration(SfxRequest &);
78 : void ExecRotateTransliteration(SfxRequest &);
79 :
80 : void GetAttrState(SfxItemSet &);
81 :
82 : SwTextShell(SwView &rView);
83 : virtual ~SwTextShell();
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: */
|