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_UI_INC_TEXTSH_HXX
21 : #define INCLUDED_SW_SOURCE_UI_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 :
41 0 : SFX_DECL_INTERFACE(SW_TEXTSHELL)
42 : TYPEINFO_OVERRIDE();
43 :
44 : DECL_LINK( RedlineNextHdl, AbstractSvxPostItDialog * );
45 : DECL_LINK( RedlinePrevHdl, AbstractSvxPostItDialog * );
46 :
47 : void Execute(SfxRequest &);
48 : void GetState(SfxItemSet &);
49 :
50 : void ExecInsert(SfxRequest &);
51 : void StateInsert(SfxItemSet&);
52 : void ExecDelete(SfxRequest &);
53 : void ExecEnterNum(SfxRequest &);
54 : void ExecBasicMove(SfxRequest &);
55 : void ExecMove(SfxRequest &);
56 : void ExecMovePage(SfxRequest &);
57 : void ExecMoveCol(SfxRequest &);
58 : void ExecMoveLingu(SfxRequest &);
59 : void ExecMoveMisc(SfxRequest &);
60 : void ExecField(SfxRequest &rReq);
61 : void ExecSetNumber(SfxRequest &);
62 : void StateField(SfxItemSet &);
63 : void ExecIdx(SfxRequest &);
64 : void GetIdxState(SfxItemSet &);
65 : void ExecGlossary(SfxRequest &);
66 :
67 : void ExecCharAttr(SfxRequest &);
68 : void ExecCharAttrArgs(SfxRequest &);
69 : void ExecParaAttr(SfxRequest &);
70 : void ExecParaAttrArgs(SfxRequest &);
71 : void ExecAttr(SfxRequest &);
72 : void ExecDB(SfxRequest &);
73 : void ExecTransliteration(SfxRequest &);
74 : void ExecRotateTransliteration(SfxRequest &);
75 :
76 : void GetAttrState(SfxItemSet &);
77 :
78 : SwTextShell(SwView &rView);
79 : virtual ~SwTextShell();
80 : };
81 :
82 : #endif
83 :
84 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|