LCOV - code coverage report
Current view: top level - include/svx - grafctrl.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 1 8 12.5 %
Date: 2014-11-03 Functions: 3 17 17.6 %
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 INCLUDED_SVX_GRAFCTRL_HXX
      21             : #define INCLUDED_SVX_GRAFCTRL_HXX
      22             : 
      23             : #include <svl/lstner.hxx>
      24             : #include <svl/intitem.hxx>
      25             : #include <sfx2/tbxctrl.hxx>
      26             : #include <svx/svxdllapi.h>
      27             : 
      28             : 
      29             : // - TbxImageItem -
      30             : 
      31             : 
      32      107662 : class SVX_DLLPUBLIC TbxImageItem : public SfxUInt16Item
      33             : {
      34             : public:
      35             :                             TYPEINFO_OVERRIDE();
      36             :                             TbxImageItem( sal_uInt16 nWhich = 0, sal_uInt16 nImage = 0 );
      37             : 
      38             :     virtual SfxPoolItem*    Clone( SfxItemPool* pPool = 0 ) const SAL_OVERRIDE;
      39             :     virtual bool            operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
      40             : };
      41             : 
      42             : 
      43             : // - SvxGrafFilterToolBoxControl -
      44             : 
      45             : 
      46             : class SVX_DLLPUBLIC SvxGrafFilterToolBoxControl : public SfxToolBoxControl
      47             : {
      48             : public:
      49             : 
      50             :                                 SFX_DECL_TOOLBOX_CONTROL();
      51             : 
      52             :                                 SvxGrafFilterToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
      53             :                                 virtual ~SvxGrafFilterToolBoxControl();
      54             : 
      55             :     virtual void                StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
      56             :     virtual SfxPopupWindowType  GetPopupWindowType() const SAL_OVERRIDE;
      57             :     virtual SfxPopupWindow*     CreatePopupWindow() SAL_OVERRIDE;
      58             : };
      59             : 
      60             : 
      61             : // - SvxGrafToolBoxControl -
      62             : 
      63             : 
      64             : class SvxGrafToolBoxControl : public SfxToolBoxControl
      65             : {
      66             : public:
      67             :     SvxGrafToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
      68             :     virtual ~SvxGrafToolBoxControl();
      69             : 
      70             :     virtual void        StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
      71             :     virtual vcl::Window*     CreateItemWindow( vcl::Window *pParent ) SAL_OVERRIDE;
      72             : };
      73             : 
      74             : 
      75             : // - SvxGrafRedToolBoxControl -
      76             : 
      77             : 
      78           0 : class SVX_DLLPUBLIC SvxGrafRedToolBoxControl : public SvxGrafToolBoxControl
      79             : {
      80             : public:
      81             :                         SFX_DECL_TOOLBOX_CONTROL();
      82             :                         SvxGrafRedToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
      83             : };
      84             : 
      85             : 
      86             : // - SvxGrafGreenToolBoxControl -
      87             : 
      88             : 
      89           0 : class SVX_DLLPUBLIC SvxGrafGreenToolBoxControl : public SvxGrafToolBoxControl
      90             : {
      91             : public:
      92             :                         SFX_DECL_TOOLBOX_CONTROL();
      93             :                         SvxGrafGreenToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
      94             : };
      95             : 
      96             : 
      97             : // - SvxGrafBlueToolBoxControl -
      98             : 
      99             : 
     100           0 : class SVX_DLLPUBLIC SvxGrafBlueToolBoxControl : public SvxGrafToolBoxControl
     101             : {
     102             : public:
     103             :                         SFX_DECL_TOOLBOX_CONTROL();
     104             :                         SvxGrafBlueToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
     105             : };
     106             : 
     107             : 
     108             : // - SvxGrafLuminanceToolBoxControl -
     109             : 
     110             : 
     111           0 : class SVX_DLLPUBLIC SvxGrafLuminanceToolBoxControl : public SvxGrafToolBoxControl
     112             : {
     113             : public:
     114             :                         SFX_DECL_TOOLBOX_CONTROL();
     115             :                         SvxGrafLuminanceToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
     116             : };
     117             : 
     118             : 
     119             : // - SvxGrafContrastToolBoxControl -
     120             : 
     121             : 
     122           0 : class SVX_DLLPUBLIC SvxGrafContrastToolBoxControl : public SvxGrafToolBoxControl
     123             : {
     124             : public:
     125             :                         SFX_DECL_TOOLBOX_CONTROL();
     126             :                         SvxGrafContrastToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
     127             : };
     128             : 
     129             : 
     130             : // - SvxGrafGammaToolBoxControl -
     131             : 
     132             : 
     133           0 : class SVX_DLLPUBLIC SvxGrafGammaToolBoxControl : public SvxGrafToolBoxControl
     134             : {
     135             : public:
     136             :                         SFX_DECL_TOOLBOX_CONTROL();
     137             :                         SvxGrafGammaToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
     138             : };
     139             : 
     140             : 
     141             : // - SvxGrafTransparenceToolBoxControl -
     142             : 
     143             : 
     144           0 : class SVX_DLLPUBLIC SvxGrafTransparenceToolBoxControl : public SvxGrafToolBoxControl
     145             : {
     146             : public:
     147             :                         SFX_DECL_TOOLBOX_CONTROL();
     148             :                         SvxGrafTransparenceToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
     149             : };
     150             : 
     151             : 
     152             : // - SvxGrafModeToolBoxControl -
     153             : 
     154             : 
     155             : class SVX_DLLPUBLIC SvxGrafModeToolBoxControl : public SfxToolBoxControl, public SfxListener
     156             : {
     157             : public:
     158             :                         SFX_DECL_TOOLBOX_CONTROL();
     159             :                         SvxGrafModeToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
     160             :                         virtual ~SvxGrafModeToolBoxControl();
     161             : 
     162             :     virtual void        StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
     163             :     virtual vcl::Window*     CreateItemWindow( vcl::Window *pParent ) SAL_OVERRIDE;
     164             : };
     165             : 
     166             : 
     167             : // - SvxGrafAttrHelper -
     168             : 
     169             : 
     170             : class SdrView;
     171             : class SfxRequest;
     172             : 
     173             : class SVX_DLLPUBLIC SvxGrafAttrHelper
     174             : {
     175             : public:
     176             : 
     177             :     static void     ExecuteGrafAttr( SfxRequest& rReq, SdrView& rView );
     178             :     static void     GetGrafAttrState( SfxItemSet& rSet, SdrView& rView );
     179             : };
     180             : 
     181             : #endif // INCLUDED_SVX_GRAFCTRL_HXX
     182             : 
     183             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10