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

Generated by: LCOV version 1.10