LCOV - code coverage report
Current view: top level - libreoffice/sc/source/ui/inc - drawsh.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             : 
      20             : #ifndef SC_DRAWSH_HXX
      21             : #define SC_DRAWSH_HXX
      22             : 
      23             : #include <sfx2/shell.hxx>
      24             : #include "shellids.hxx"
      25             : #include <sfx2/module.hxx>
      26             : #include <svx/svdmark.hxx>
      27             : #include <tools/link.hxx>
      28             : 
      29             : class AbstractSvxNameDialog;
      30             : class ScViewData;
      31             : class ScDrawView;
      32             : 
      33             : class ScDrawShell : public SfxShell
      34             : {
      35             :     ScViewData* pViewData;
      36             : 
      37             :     DECL_LINK( NameObjectHdl, AbstractSvxNameDialog* );
      38             : 
      39             :     void SetHlinkForObject( SdrObject* pObj, const rtl::OUString& rHlnk );
      40             : 
      41             : protected:
      42           0 :     ScViewData* GetViewData()   { return pViewData; }
      43             : 
      44             : public:
      45             :     TYPEINFO();
      46           5 :     SFX_DECL_INTERFACE(SCID_DRAW_SHELL)
      47             : 
      48             :                     ScDrawShell(ScViewData* pData);
      49             :                     ~ScDrawShell();
      50             : 
      51             :     void    StateDisableItems( SfxItemSet &rSet );
      52             : 
      53             :     void    ExecDrawAttr(SfxRequest& rReq);
      54             :     void    GetDrawAttrState(SfxItemSet &rSet);
      55             :     void    GetAttrFuncState(SfxItemSet &rSet);
      56             : 
      57             :     void    ExecDrawFunc(SfxRequest& rReq);
      58             :     void    GetDrawFuncState(SfxItemSet &rSet);
      59             :     void    GetState(SfxItemSet &rSet);
      60             : 
      61             :     void    ExecFormText(SfxRequest& rReq);     // StarFontWork
      62             :     void    GetFormTextState(SfxItemSet& rSet);
      63             : 
      64             :     void    ExecuteHLink(SfxRequest& rReq);     // Hyperlink
      65             :     void    GetHLinkState(SfxItemSet& rSet);
      66             : 
      67             :     void    ExecFormatPaintbrush(SfxRequest& rReq);
      68             :     void    StateFormatPaintbrush(SfxItemSet& rSet);
      69             : 
      70             :     void    ExecuteMacroAssign( SdrObject* pObj, Window* pWin );
      71             :     void    ExecuteLineDlg( SfxRequest& rReq, sal_uInt16 nTabPage = 0xffff );
      72             :     void    ExecuteAreaDlg( SfxRequest& rReq, sal_uInt16 nTabPage = 0xffff );
      73             :     void    ExecuteTextAttrDlg( SfxRequest& rReq, sal_uInt16 nTabPage = 0xffff );
      74             : 
      75             :     ScDrawView* GetDrawView();
      76             : 
      77             :     sal_Bool    AreAllObjectsOnLayer(sal_uInt16 nLayerNo,const SdrMarkList& rMark);
      78             : };
      79             : 
      80             : 
      81             : 
      82             : #endif
      83             : 
      84             : 
      85             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10