nss: upgrade to release 3.73
[LibreOffice.git] / sw / source / uibase / inc / textsh.hxx
blob849bffcf4f2bde44956924c11ff7341db1644319
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_TEXTSH_HXX
21 #define INCLUDED_SW_SOURCE_UIBASE_INC_TEXTSH_HXX
23 #include "basesh.hxx"
24 #include <unotools/caserotate.hxx>
25 #include <com/sun/star/ui/dialogs/DialogClosedEvent.hpp>
27 class AbstractSvxPostItDialog;
28 class SwFieldMgr;
29 class SwFlyFrameAttrMgr;
30 class SvxHyperlinkItem;
31 class SwInsertChart;
33 class SW_DLLPUBLIC SwTextShell: public SwBaseShell
35 RotateTransliteration m_aRotateCase;
37 void InsertSymbol( SfxRequest& );
38 void InsertHyperlink( const SvxHyperlinkItem& rHlnkItem );
39 bool InsertMediaDlg( SfxRequest const & );
41 public:
42 SFX_DECL_INTERFACE(SW_TEXTSHELL)
44 private:
45 /// SfxInterface initializer.
46 static void InitInterface_Impl();
48 public:
49 DECL_LINK( RedlineNextHdl, AbstractSvxPostItDialog&, void );
50 DECL_LINK( RedlinePrevHdl, AbstractSvxPostItDialog&, void );
51 DECL_STATIC_LINK( SwTextShell, DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*, void );
53 void Execute(SfxRequest &);
54 void GetState(SfxItemSet &);
56 void ExecInsert(SfxRequest &);
57 void StateInsert(SfxItemSet&);
58 void ExecDelete(SfxRequest &);
59 void ExecEnterNum(SfxRequest &);
60 void ExecBasicMove(SfxRequest &);
61 void ExecMove(SfxRequest &);
62 void ExecMovePage(SfxRequest &);
63 void ExecMoveCol(SfxRequest &);
64 void ExecMoveLingu(SfxRequest &);
65 void ExecMoveMisc(SfxRequest &);
66 void ExecField(SfxRequest &rReq);
67 void ExecSetNumber(SfxRequest const &);
68 void StateField(SfxItemSet &);
69 void ExecIdx(SfxRequest const &);
70 void GetIdxState(SfxItemSet &);
71 void ExecGlossary(SfxRequest &);
73 void ExecCharAttr(SfxRequest &);
74 void ExecCharAttrArgs(SfxRequest &);
75 void ExecParaAttr(SfxRequest &);
76 void ExecParaAttrArgs(SfxRequest &);
77 void ExecDB(SfxRequest const &);
78 void ExecTransliteration(SfxRequest const &);
79 void ExecRotateTransliteration(SfxRequest const &);
81 void GetAttrState(SfxItemSet &);
83 SwTextShell(SwView &rView);
84 virtual ~SwTextShell() override;
85 /// Create item set for the insert frame dialog.
86 SfxItemSet CreateInsertFrameItemSet(SwFlyFrameAttrMgr& rMgr);
89 #endif
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */