LCOV - code coverage report
Current view: top level - sd/source/ui/inc - tpaction.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 1 0.0 %
Date: 2014-11-03 Functions: 0 2 0.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 INCLUDED_SD_SOURCE_UI_INC_TPACTION_HXX
      21             : #define INCLUDED_SD_SOURCE_UI_INC_TPACTION_HXX
      22             : 
      23             : #include <com/sun/star/presentation/ClickAction.hpp>
      24             : #include <com/sun/star/presentation/AnimationEffect.hpp>
      25             : #include <vcl/fixed.hxx>
      26             : #include <vcl/layout.hxx>
      27             : #include <svx/dlgctrl.hxx>
      28             : #include <sfx2/tabdlg.hxx>
      29             : #include <sfx2/basedlgs.hxx>
      30             : #include "sdtreelb.hxx"
      31             : 
      32             : #include <vector>
      33             : 
      34             : namespace sd {
      35             :     class View;
      36             : }
      37             : class SdDrawDocument;
      38             : 
      39             : /**
      40             :  * Effect-SingleTab-Dialog
      41             :  */
      42           0 : class SdActionDlg : public SfxSingleTabDialog
      43             : {
      44             : private:
      45             :     const SfxItemSet&   rOutAttrs;
      46             : public:
      47             :     SdActionDlg(vcl::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView);
      48             : };
      49             : 
      50             : /**
      51             :  * Interaction-Tab-Page
      52             :  */
      53             : class SdTPAction : public SfxTabPage
      54             : {
      55             : private:
      56             :     ListBox*                m_pLbAction;
      57             : 
      58             :     FixedText*              m_pFtTree;                // jump destination controls
      59             :     SdPageObjsTLB*          m_pLbTree;
      60             :     SdPageObjsTLB*          m_pLbTreeDocument;
      61             :     ListBox*                m_pLbOLEAction;
      62             : 
      63             :     VclFrame*               m_pFrame;
      64             :     Edit*                   m_pEdtSound;
      65             :     Edit*                   m_pEdtBookmark;
      66             :     Edit*                   m_pEdtDocument;
      67             :     Edit*                   m_pEdtProgram;
      68             :     Edit*                   m_pEdtMacro;
      69             :     PushButton*             m_pBtnSearch;
      70             :     PushButton*             m_pBtnSeek;
      71             : 
      72             :     const SfxItemSet&       rOutAttrs;
      73             :     const ::sd::View*       mpView;
      74             :     SdDrawDocument*         mpDoc;
      75             :     XColorListRef           pColList;
      76             : 
      77             :     bool                    bTreeUpdated;
      78             :     std::vector<com::sun::star::presentation::ClickAction> maCurrentActions;
      79             :     OUString                aLastFile;
      80             :     ::std::vector< long >   aVerbVector;
      81             : 
      82             :     DECL_LINK( ClickSearchHdl, void * );
      83             :     DECL_LINK( ClickActionHdl, void * );
      84             :     DECL_LINK( SelectTreeHdl, void * );
      85             :     DECL_LINK( CheckFileHdl, void * );
      86             : 
      87             :     void                    UpdateTree();
      88             :     virtual void            OpenFileDialog();
      89             :     ::com::sun::star::presentation::ClickAction     GetActualClickAction();
      90             :     void                    SetActualClickAction( ::com::sun::star::presentation::ClickAction eCA );
      91             :     void                    SetActualAnimationEffect( ::com::sun::star::presentation::AnimationEffect eAE );
      92             :     void                    SetEditText( OUString const & rStr );
      93             :     OUString                GetEditText( bool bURL = false );
      94             :     sal_uInt16                  GetClickActionSdResId( ::com::sun::star::presentation::ClickAction eCA );
      95             :     sal_uInt16                  GetAnimationEffectSdResId( ::com::sun::star::presentation::AnimationEffect eAE );
      96             : 
      97             : public:
      98             :             SdTPAction( vcl::Window* pParent, const SfxItemSet& rInAttrs );
      99             :             virtual ~SdTPAction();
     100             : 
     101             :     static  SfxTabPage* Create( vcl::Window*, const SfxItemSet& );
     102             : 
     103             :     virtual bool FillItemSet( SfxItemSet* ) SAL_OVERRIDE;
     104             :     virtual void Reset( const SfxItemSet * ) SAL_OVERRIDE;
     105             : 
     106             :     virtual void ActivatePage( const SfxItemSet& rSet ) SAL_OVERRIDE;
     107             :     virtual int  DeactivatePage( SfxItemSet* pSet ) SAL_OVERRIDE;
     108             : 
     109             :     void    Construct();
     110             : 
     111             :     void    SetView( const ::sd::View* pSdView );
     112             : 
     113             :     using TabPage::ActivatePage;
     114             :     using TabPage::DeactivatePage;
     115             : };
     116             : 
     117             : #endif // INCLUDED_SD_SOURCE_UI_INC_TPACTION_HXX
     118             : 
     119             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10