LCOV - code coverage report
Current view: top level - libreoffice/sw/source/ui/inc - drwtxtsh.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 2 50.0 %
Date: 2012-12-27 Functions: 1 2 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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 _SWDRWTXTSH_HXX
      20             : #define _SWDRWTXTSH_HXX
      21             : 
      22             : #include <sfx2/shell.hxx>
      23             : #include "shellid.hxx"
      24             : #include <unotools/caserotate.hxx>
      25             : 
      26             : class SdrView;
      27             : class SwView;
      28             : class SwWrtShell;
      29             : 
      30             : class SwDrawTextShell: public SfxShell
      31             : {
      32             :     SwView      &rView;
      33             :     RotateTransliteration m_aRotateCase;
      34             : 
      35             :     SdrView     *pSdrView;
      36             : 
      37             :     sal_Bool        bRotate : 1;
      38             :     sal_Bool        bSelMove: 1;
      39             : 
      40             :     void        SetAttrToMarked(const SfxItemSet& rAttr);
      41             :     void        InsertSymbol(SfxRequest& rReq);
      42             :     sal_Bool        IsTextEdit();
      43             : public:
      44          10 :     SFX_DECL_INTERFACE(SW_DRWTXTSHELL)
      45             :     TYPEINFO();
      46             : 
      47           0 :     SwView     &GetView() { return rView; }
      48             :     SwWrtShell &GetShell();
      49             : 
      50             :                 SwDrawTextShell(SwView &rView);
      51             :     virtual     ~SwDrawTextShell();
      52             : 
      53             :     virtual ::svl::IUndoManager*
      54             :                 GetUndoManager();
      55             : 
      56             :     void        StateDisableItems(SfxItemSet &);
      57             : 
      58             :     void        Execute(SfxRequest &);
      59             :     void        ExecDraw(SfxRequest &);
      60             :     void        GetState(SfxItemSet &);
      61             :     void        GetDrawTxtCtrlState(SfxItemSet&);
      62             : 
      63             :     void        ExecFontWork(SfxRequest& rReq);
      64             :     void        StateFontWork(SfxItemSet& rSet);
      65             :     void        ExecFormText(SfxRequest& rReq);
      66             :     void        GetFormTextState(SfxItemSet& rSet);
      67             :     void        ExecDrawLingu(SfxRequest &rReq);
      68             :     void        ExecUndo(SfxRequest &rReq);
      69             :     void        StateUndo(SfxItemSet &rSet);
      70             :     void        ExecClpbrd(SfxRequest &rReq);
      71             :     void        StateClpbrd(SfxItemSet &rSet);
      72             :     void        StateInsert(SfxItemSet &rSet);
      73             :     void        ExecTransliteration(SfxRequest &);
      74             :     void                ExecRotateTransliteration(SfxRequest &);
      75             : 
      76             :     void        Init();
      77             :     void        StateStatusline(SfxItemSet &rSet);
      78             : };
      79             : 
      80             : #endif
      81             : 
      82             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10