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