update dev300-m58
[ooovba.git] / sw / source / ui / inc / textsh.hxx
blob2b307a69ca1e02d68d094a8663e78f8043097a20
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: textsh.hxx,v $
10 * $Revision: 1.16.188.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _SWTEXTSH_HXX
32 #define _SWTEXTSH_HXX
34 #include <basesh.hxx>
36 class AbstractSvxPostItDialog;
37 class SwFldMgr;
38 class SvxHyperlinkItem;
40 class SwTextShell: public SwBaseShell
42 SwFldMgr* pPostItFldMgr;
44 void InsertSymbol( SfxRequest& );
45 void InsertHyperlink(const SvxHyperlinkItem& rHlnkItem);
46 bool InsertMediaDlg( SfxRequest& );
47 void ChangeHeaderOrFooter(const String& rStyleName, BOOL bHeader, BOOL bOn, BOOL bShowWarning);
49 public:
50 SFX_DECL_INTERFACE(SW_TEXTSHELL)
51 TYPEINFO();
53 //CHINA001 DECL_LINK( PostItNextHdl, Button * );
54 //CHINA001 DECL_LINK( PostItPrevHdl, Button * );
55 //CHINA001 DECL_LINK( RedlineNextHdl, Button * );
56 //CHINA001 DECL_LINK( RedlinePrevHdl, Button * );
57 DECL_LINK( RedlineNextHdl, AbstractSvxPostItDialog * );
58 DECL_LINK( RedlinePrevHdl, AbstractSvxPostItDialog * );
60 void Execute(SfxRequest &);
61 void GetState(SfxItemSet &);
63 void ExecInsert(SfxRequest &);
64 void StateInsert(SfxItemSet&);
65 void ExecDelete(SfxRequest &);
66 void ExecEnterNum(SfxRequest &);
67 void ExecBasicMove(SfxRequest &);
68 void ExecMove(SfxRequest &);
69 void ExecMovePage(SfxRequest &);
70 void ExecMoveCol(SfxRequest &);
71 void ExecMoveLingu(SfxRequest &);
72 void ExecMoveMisc(SfxRequest &);
73 void ExecField(SfxRequest &rReq);
74 void StateField(SfxItemSet &);
75 void ExecIdx(SfxRequest &);
76 void GetIdxState(SfxItemSet &);
77 void ExecGlossary(SfxRequest &);
79 void ExecCharAttr(SfxRequest &);
80 void ExecCharAttrArgs(SfxRequest &);
81 void ExecParaAttr(SfxRequest &);
82 void ExecParaAttrArgs(SfxRequest &);
83 void ExecAttr(SfxRequest &);
84 void ExecDB(SfxRequest &);
85 void ExecTransliteration(SfxRequest &);
87 void GetAttrState(SfxItemSet &);
89 SwTextShell(SwView &rView);
90 virtual ~SwTextShell();
93 #endif