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 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_FRMSH_HXX 20 #define INCLUDED_SW_SOURCE_UIBASE_INC_FRMSH_HXX 21 22 #include "basesh.hxx" 23 24 class SwFrameShell: public SwBaseShell 25 { 26 public: 27 SFX_DECL_INTERFACE(SW_FRAMESHELL) 28 29 private: 30 /// SfxInterface initializer. 31 static void InitInterface_Impl(); 32 33 public: 34 SwFrameShell(SwView &rView); 35 virtual ~SwFrameShell() override; 36 37 void Execute(SfxRequest &); 38 void ExecMove(SfxRequest& rReq); 39 void ExecField(const SfxRequest& rReq); 40 void GetState(SfxItemSet &); 41 void ExecFrameStyle(SfxRequest const & rReq); 42 void GetLineStyleState(SfxItemSet &rSet); 43 void StateInsert(SfxItemSet &rSet); 44 45 void GetDrawAttrStateTextFrame(SfxItemSet &rSet); 46 void ExecDrawAttrArgsTextFrame(SfxRequest const & rReq); 47 48 void ExecDrawDlgTextFrame(SfxRequest const & rReq); 49 void DisableStateTextFrame(SfxItemSet &rSet); 50 }; 51 52 #endif 53 54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 55