1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
19 #ifndef _SWDRWTXTSH_HXX
20 #define _SWDRWTXTSH_HXX
22 #include <sfx2/shell.hxx>
23 #include "shellid.hxx"
24 #include <unotools/caserotate.hxx>
30 class SwDrawTextShell
: public SfxShell
33 RotateTransliteration m_aRotateCase
;
37 void SetAttrToMarked(const SfxItemSet
& rAttr
);
38 void InsertSymbol(SfxRequest
& rReq
);
39 sal_Bool
IsTextEdit();
41 SFX_DECL_INTERFACE(SW_DRWTXTSHELL
)
44 SwView
&GetView() { return rView
; }
45 SwWrtShell
&GetShell();
47 SwDrawTextShell(SwView
&rView
);
48 virtual ~SwDrawTextShell();
50 virtual ::svl::IUndoManager
*
53 void StateDisableItems(SfxItemSet
&);
55 void Execute(SfxRequest
&);
56 void ExecDraw(SfxRequest
&);
57 void GetStatePropPanelAttr(SfxItemSet
&);
58 void GetState(SfxItemSet
&);
59 void GetDrawTxtCtrlState(SfxItemSet
&);
61 void ExecFontWork(SfxRequest
& rReq
);
62 void StateFontWork(SfxItemSet
& rSet
);
63 void ExecFormText(SfxRequest
& rReq
);
64 void GetFormTextState(SfxItemSet
& rSet
);
65 void ExecDrawLingu(SfxRequest
&rReq
);
66 void ExecUndo(SfxRequest
&rReq
);
67 void StateUndo(SfxItemSet
&rSet
);
68 void ExecClpbrd(SfxRequest
&rReq
);
69 void StateClpbrd(SfxItemSet
&rSet
);
70 void StateInsert(SfxItemSet
&rSet
);
71 void ExecTransliteration(SfxRequest
&);
72 void ExecRotateTransliteration(SfxRequest
&);
75 void StateStatusline(SfxItemSet
&rSet
);
80 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */