Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*************************************************************************
3 : : *
4 : : * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 : : *
6 : : * Copyright 2000, 2010 Oracle and/or its affiliates.
7 : : *
8 : : * OpenOffice.org - a multi-platform office productivity suite
9 : : *
10 : : * This file is part of OpenOffice.org.
11 : : *
12 : : * OpenOffice.org is free software: you can redistribute it and/or modify
13 : : * it under the terms of the GNU Lesser General Public License version 3
14 : : * only, as published by the Free Software Foundation.
15 : : *
16 : : * OpenOffice.org is distributed in the hope that it will be useful,
17 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 : : * GNU Lesser General Public License version 3 for more details
20 : : * (a copy is included in the LICENSE file that accompanied this code).
21 : : *
22 : : * You should have received a copy of the GNU Lesser General Public License
23 : : * version 3 along with OpenOffice.org. If not, see
24 : : * <http://www.openoffice.org/license.html>
25 : : * for a copy of the LGPLv3 License.
26 : : *
27 : : ************************************************************************/
28 : :
29 : : #ifndef _SWTEXTSH_HXX
30 : : #define _SWTEXTSH_HXX
31 : :
32 : : #include <basesh.hxx>
33 : : #include <unotools/caserotate.hxx>
34 : :
35 : : class AbstractSvxPostItDialog;
36 : : class SwFldMgr;
37 : : class SvxHyperlinkItem;
38 : :
39 : : class SwTextShell: public SwBaseShell
40 : : {
41 : : SwFldMgr* pPostItFldMgr;
42 : : RotateTransliteration m_aRotateCase;
43 : :
44 : : void InsertSymbol( SfxRequest& );
45 : : void InsertHyperlink(const SvxHyperlinkItem& rHlnkItem);
46 : : bool InsertMediaDlg( SfxRequest& );
47 : :
48 : : public:
49 : 73 : SFX_DECL_INTERFACE(SW_TEXTSHELL)
50 : : TYPEINFO();
51 : :
52 : : DECL_LINK( RedlineNextHdl, AbstractSvxPostItDialog * );
53 : : DECL_LINK( RedlinePrevHdl, AbstractSvxPostItDialog * );
54 : :
55 : : void Execute(SfxRequest &);
56 : : void GetState(SfxItemSet &);
57 : :
58 : : void ExecInsert(SfxRequest &);
59 : : void StateInsert(SfxItemSet&);
60 : : void ExecDelete(SfxRequest &);
61 : : void ExecEnterNum(SfxRequest &);
62 : : void ExecBasicMove(SfxRequest &);
63 : : void ExecMove(SfxRequest &);
64 : : void ExecMovePage(SfxRequest &);
65 : : void ExecMoveCol(SfxRequest &);
66 : : void ExecMoveLingu(SfxRequest &);
67 : : void ExecMoveMisc(SfxRequest &);
68 : : void ExecField(SfxRequest &rReq);
69 : : void StateField(SfxItemSet &);
70 : : void ExecIdx(SfxRequest &);
71 : : void GetIdxState(SfxItemSet &);
72 : : void ExecGlossary(SfxRequest &);
73 : :
74 : : void ExecCharAttr(SfxRequest &);
75 : : void ExecCharAttrArgs(SfxRequest &);
76 : : void ExecParaAttr(SfxRequest &);
77 : : void ExecParaAttrArgs(SfxRequest &);
78 : : void ExecAttr(SfxRequest &);
79 : : void ExecDB(SfxRequest &);
80 : : void ExecTransliteration(SfxRequest &);
81 : : void ExecRotateTransliteration(SfxRequest &);
82 : :
83 : : void GetAttrState(SfxItemSet &);
84 : :
85 : : SwTextShell(SwView &rView);
86 : : virtual ~SwTextShell();
87 : : };
88 : :
89 : : #endif
90 : :
91 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|