LCOV - code coverage report
Current view: top level - include/toolkit/controls - dialogcontrol.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 74 0.0 %
Date: 2014-04-14 Functions: 0 50 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_TOOLKIT_CONTROLS_DIALOGCONTROL_HXX
      21             : #define INCLUDED_TOOLKIT_CONTROLS_DIALOGCONTROL_HXX
      22             : 
      23             : #include <toolkit/controls/controlmodelcontainerbase.hxx>
      24             : #include <com/sun/star/awt/UnoControlDialog.hpp>
      25             : #include <com/sun/star/awt/XTopWindow.hpp>
      26             : #include <com/sun/star/awt/XDialog2.hpp>
      27             : #include <com/sun/star/awt/XSimpleTabController.hpp>
      28             : #include <com/sun/star/resource/XStringResourceResolver.hpp>
      29             : #include <com/sun/star/graphic/XGraphicObject.hpp>
      30             : #include <toolkit/helper/servicenames.hxx>
      31             : #include <toolkit/helper/macros.hxx>
      32             : #include <toolkit/controls/unocontrolcontainer.hxx>
      33             : #include <cppuhelper/basemutex.hxx>
      34             : #include <cppuhelper/implbase2.hxx>
      35             : #include <cppuhelper/implbase3.hxx>
      36             : #include <list>
      37             : 
      38             : typedef ::cppu::AggImplInheritanceHelper2   <   ControlContainerBase
      39             :                                             ,   ::com::sun::star::awt::XUnoControlDialog
      40             :                                             ,   ::com::sun::star::awt::XWindowListener
      41             :                                             >   UnoDialogControl_Base;
      42             : class UnoDialogControl : public UnoDialogControl_Base
      43             : {
      44             : private:
      45             :     ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMenuBar >         mxMenuBar;
      46             :     TopWindowListenerMultiplexer                                                maTopWindowListeners;
      47             :     bool                                                                        mbWindowListener;
      48             : 
      49             : public:
      50             : 
      51             :                                 UnoDialogControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
      52             :                                 virtual ~UnoDialogControl();
      53             :     OUString             GetComponentServiceName() SAL_OVERRIDE;
      54             : 
      55             :     void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      56             :     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      57             :     void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      58             : 
      59             :     // ::com::sun::star::awt::XTopWindow
      60             :     void SAL_CALL addTopWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTopWindowListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      61             :     void SAL_CALL removeTopWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTopWindowListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      62             :     void SAL_CALL toFront(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      63             :     void SAL_CALL toBack(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      64             :     void SAL_CALL setMenuBar( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMenuBar >& xMenu ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      65             : 
      66             :     // ::com::sun::star::awt::XWindowListener
      67             :     virtual void SAL_CALL windowResized( const ::com::sun::star::awt::WindowEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      68             :     virtual void SAL_CALL windowMoved( const ::com::sun::star::awt::WindowEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      69             :     virtual void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      70             :     virtual void SAL_CALL windowHidden( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      71             : 
      72             :     // ::com::sun::star::awt::XDialog2
      73             :     virtual void SAL_CALL endDialog( ::sal_Int32 Result ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      74             :     virtual void SAL_CALL setHelpId( const OUString& Id ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      75             : 
      76             :     // ::com::sun::star::awt::XDialog
      77             :     void SAL_CALL setTitle( const OUString& Title ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      78             :     OUString SAL_CALL getTitle() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      79             :     sal_Int16 SAL_CALL execute() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      80             :     void SAL_CALL endExecute() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      81             : 
      82             :     // ::com::sun::star::awt::XControl
      83             :     sal_Bool SAL_CALL setModel( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& Model ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      84             : 
      85             :     // XModifyListener
      86             :     virtual void SAL_CALL modified( const ::com::sun::star::lang::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      87             : 
      88             :     // resolve some ambigous methods
      89           0 :     virtual com::sun::star::uno::Reference<com::sun::star::awt::XWindowPeer> SAL_CALL getPeer() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
      90           0 :         { return UnoDialogControl_Base::ControlContainerBase::getPeer(); }
      91           0 :     virtual void SAL_CALL addWindowListener(const com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
      92           0 :         { UnoDialogControl_Base::ControlContainerBase::addWindowListener(p1); }
      93           0 :     virtual com::sun::star::uno::Reference<com::sun::star::awt::XControlModel> SAL_CALL getModel() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
      94           0 :         { return UnoDialogControl_Base::ControlContainerBase::getModel(); }
      95           0 :     virtual void SAL_CALL addEventListener(const com::sun::star::uno::Reference<com::sun::star::lang::XEventListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
      96           0 :         { UnoDialogControl_Base::ControlContainerBase::addEventListener(p1); }
      97           0 :     virtual void SAL_CALL removeEventListener(const com::sun::star::uno::Reference<com::sun::star::lang::XEventListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
      98           0 :         { UnoDialogControl_Base::ControlContainerBase::removeEventListener(p1); }
      99           0 :     virtual void SAL_CALL setContext(const com::sun::star::uno::Reference<com::sun::star::uno::XInterface>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     100           0 :         { UnoDialogControl_Base::ControlContainerBase::setContext(p1); }
     101           0 :     virtual com::sun::star::uno::Reference<com::sun::star::uno::XInterface> SAL_CALL getContext() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     102           0 :         { return UnoDialogControl_Base::ControlContainerBase::getContext(); }
     103           0 :     virtual com::sun::star::uno::Reference<com::sun::star::awt::XView> SAL_CALL getView() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     104           0 :         { return UnoDialogControl_Base::ControlContainerBase::getView(); }
     105           0 :     virtual void SAL_CALL setDesignMode(sal_Bool p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     106           0 :         { UnoDialogControl_Base::ControlContainerBase::setDesignMode(p1); }
     107           0 :     virtual sal_Bool SAL_CALL isDesignMode() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     108           0 :         { return UnoDialogControl_Base::ControlContainerBase::isDesignMode(); }
     109           0 :     virtual sal_Bool SAL_CALL isTransparent() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     110           0 :         { return UnoDialogControl_Base::ControlContainerBase::isTransparent(); }
     111           0 :     virtual void SAL_CALL setPosSize(sal_Int32 p1, sal_Int32 p2, sal_Int32 p3, sal_Int32 p4, sal_Int16 p5) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     112           0 :         { UnoDialogControl_Base::ControlContainerBase::setPosSize(p1, p2, p3, p4, p5); }
     113           0 :     virtual com::sun::star::awt::Rectangle SAL_CALL getPosSize() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     114           0 :         { return UnoDialogControl_Base::ControlContainerBase::getPosSize(); }
     115           0 :     virtual void SAL_CALL setVisible(sal_Bool p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     116           0 :         { UnoDialogControl_Base::ControlContainerBase::setVisible(p1); }
     117           0 :     virtual void SAL_CALL setEnable(sal_Bool p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     118           0 :         { UnoDialogControl_Base::ControlContainerBase::setEnable(p1); }
     119           0 :     virtual void SAL_CALL setFocus() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     120           0 :         { UnoDialogControl_Base::ControlContainerBase::setFocus(); }
     121           0 :     virtual void SAL_CALL removeWindowListener(const com::sun::star::uno::Reference<com::sun::star::awt::XWindowListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     122           0 :         { UnoDialogControl_Base::ControlContainerBase::removeWindowListener(p1); }
     123           0 :     virtual void SAL_CALL addFocusListener(const com::sun::star::uno::Reference<com::sun::star::awt::XFocusListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     124           0 :         { UnoDialogControl_Base::ControlContainerBase::addFocusListener(p1); }
     125           0 :     virtual void SAL_CALL removeFocusListener(const com::sun::star::uno::Reference<com::sun::star::awt::XFocusListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     126           0 :         { UnoDialogControl_Base::ControlContainerBase::removeFocusListener(p1); }
     127           0 :     virtual void SAL_CALL addKeyListener(const com::sun::star::uno::Reference<com::sun::star::awt::XKeyListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     128           0 :         { UnoDialogControl_Base::ControlContainerBase::addKeyListener(p1); }
     129           0 :     virtual void SAL_CALL removeKeyListener(const com::sun::star::uno::Reference<com::sun::star::awt::XKeyListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     130           0 :         { UnoDialogControl_Base::ControlContainerBase::removeKeyListener(p1); }
     131           0 :     virtual void SAL_CALL addMouseListener(const com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     132           0 :         { UnoDialogControl_Base::ControlContainerBase::addMouseListener(p1); }
     133           0 :     virtual void SAL_CALL removeMouseListener(const com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     134           0 :         { UnoDialogControl_Base::ControlContainerBase::removeMouseListener(p1); }
     135           0 :     virtual void SAL_CALL addMouseMotionListener(const com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     136           0 :         { UnoDialogControl_Base::ControlContainerBase::addMouseMotionListener(p1); }
     137           0 :     virtual void SAL_CALL removeMouseMotionListener(const com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     138           0 :         { UnoDialogControl_Base::ControlContainerBase::removeMouseMotionListener(p1); }
     139           0 :     virtual void SAL_CALL addPaintListener(const com::sun::star::uno::Reference<com::sun::star::awt::XPaintListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     140           0 :         { UnoDialogControl_Base::ControlContainerBase::addPaintListener(p1); }
     141           0 :     virtual void SAL_CALL removePaintListener(const com::sun::star::uno::Reference<com::sun::star::awt::XPaintListener>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     142           0 :         { UnoDialogControl_Base::ControlContainerBase::removePaintListener(p1); }
     143           0 :     virtual void SAL_CALL setStatusText(const rtl::OUString& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     144           0 :         { UnoDialogControl_Base::ControlContainerBase::setStatusText(p1); }
     145           0 :     virtual com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::awt::XControl> > SAL_CALL getControls() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     146           0 :         { return UnoDialogControl_Base::ControlContainerBase::getControls(); }
     147           0 :     virtual com::sun::star::uno::Reference<com::sun::star::awt::XControl> SAL_CALL getControl(const rtl::OUString& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     148           0 :         { return UnoDialogControl_Base::ControlContainerBase::getControl(p1); }
     149           0 :     virtual void SAL_CALL addControl(const rtl::OUString& p1, const com::sun::star::uno::Reference<com::sun::star::awt::XControl>& p2) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     150           0 :         { UnoDialogControl_Base::ControlContainerBase::addControl(p1, p2); }
     151           0 :     virtual void SAL_CALL removeControl(const com::sun::star::uno::Reference<com::sun::star::awt::XControl>& p1) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
     152           0 :         { UnoDialogControl_Base::ControlContainerBase::removeControl(p1); }
     153             : 
     154             : 
     155             :     // ::com::sun::star::lang::XServiceInfo
     156           0 :     DECLIMPL_SERVICEINFO( UnoDialogControl, szServiceName2_UnoControlDialog )
     157             : 
     158             : protected:
     159             :     virtual void PrepareWindowDescriptor( ::com::sun::star::awt::WindowDescriptor& rDesc ) SAL_OVERRIDE;
     160             :     virtual void ImplModelPropertiesChanged( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyChangeEvent >& rEvents ) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
     161             : protected:
     162             : };
     163             : 
     164             : class UnoMultiPageModel : public ControlModelContainerBase
     165             : {
     166             : public:
     167             :     UnoMultiPageModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
     168             :     virtual ~UnoMultiPageModel();
     169             :     UnoMultiPageModel( const UnoMultiPageModel& rModel );
     170             : 
     171             :     UnoControlModel*    Clone() const SAL_OVERRIDE;
     172             : 
     173           0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoMultiPageModel, ControlModelContainerBase, szServiceName_UnoMultiPageModel )
     174             : 
     175             :     virtual OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     176             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw( ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     177             :     // XNamedContainer
     178             :     void SAL_CALL insertByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::ElementExistException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     179             : 
     180             :     // Override the method of parent Class
     181             :     virtual sal_Bool SAL_CALL getGroupControl(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     182             : protected:
     183             :     virtual ::com::sun::star::uno::Any          ImplGetDefaultValue( sal_uInt16 nPropId ) const SAL_OVERRIDE;
     184             :     ::cppu::IPropertyArrayHelper&       SAL_CALL getInfoHelper() SAL_OVERRIDE;
     185             : 
     186             : };
     187             : 
     188             : class UnoMultiPageControl :  public ControlContainerBase
     189             :                             ,public ::com::sun::star::awt::XSimpleTabController
     190             :                             ,public ::com::sun::star::awt::XTabListener
     191             : {
     192             :     TabListenerMultiplexer maTabListeners;
     193             :     void bindPage( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& _rxControl );
     194             : public:
     195             :     UnoMultiPageControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
     196             :     virtual ~UnoMultiPageControl();
     197             :     OUString     GetComponentServiceName() SAL_OVERRIDE;
     198             : 
     199             :     // ::com::sun::star::lang::XServiceInfo
     200           0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoMultiPageControl, ControlContainerBase, szServiceName_UnoMultiPageControl )
     201           0 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE { return ControlContainerBase::queryInterface(rType); }
     202             :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
     203           0 :     void                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakAggObject::acquire(); }
     204           0 :     void                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakAggObject::release(); }
     205             :     // ::com::sun::star::lang::XTypeProvider
     206             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     207             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     208             :     void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     209             :     // com::sun::star::awt::XSimpleTabController
     210             :     virtual ::sal_Int32 SAL_CALL insertTab() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     211             :     virtual void SAL_CALL removeTab( ::sal_Int32 ID ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     212             : 
     213             :     virtual void SAL_CALL setTabProps( ::sal_Int32 ID, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& Properties ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     214             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue > SAL_CALL getTabProps( ::sal_Int32 ID ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     215             : 
     216             :     virtual void SAL_CALL activateTab( ::sal_Int32 ID ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     217             :     virtual ::sal_Int32 SAL_CALL getActiveTabID() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     218             : 
     219             :     virtual void SAL_CALL addTabListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabListener >& Listener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     220             :     virtual void SAL_CALL removeTabListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabListener >& Listener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     221             :     // XTabListener
     222             :     virtual void SAL_CALL inserted( ::sal_Int32 ID ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     223             :     virtual void SAL_CALL removed( ::sal_Int32 ID ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     224             :     virtual void SAL_CALL changed( ::sal_Int32 ID, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& Properties ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     225             :     virtual void SAL_CALL activated( ::sal_Int32 ID ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     226             :     virtual void SAL_CALL deactivated( ::sal_Int32 ID ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     227             :     virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& evt ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     228             :     // XComponent
     229             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     230             : 
     231             : protected:
     232             :     virtual void    impl_createControlPeerIfNecessary(
     233             :         const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& _rxControl
     234             :     ) SAL_OVERRIDE;
     235             : 
     236             : };
     237             : 
     238             : 
     239             : class UnoPageModel : public ControlModelContainerBase
     240             : {
     241             : public:
     242             :     UnoPageModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
     243             :     virtual ~UnoPageModel();
     244             :     UnoPageModel( const UnoPageModel& rModel );
     245             : 
     246             :     UnoControlModel*    Clone() const SAL_OVERRIDE;
     247             : 
     248           0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoPageModel, ControlModelContainerBase, szServiceName_UnoPageModel )
     249             : 
     250             :     virtual OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     251             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw( ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     252             : 
     253             :     // Override the method of parent Class
     254             :     virtual sal_Bool SAL_CALL getGroupControl(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     255             : protected:
     256             :     virtual ::com::sun::star::uno::Any          ImplGetDefaultValue( sal_uInt16 nPropId ) const SAL_OVERRIDE;
     257             :     ::cppu::IPropertyArrayHelper&       SAL_CALL getInfoHelper() SAL_OVERRIDE;
     258             : 
     259             : };
     260             : 
     261             : class UnoPageControl :  public ControlContainerBase
     262             : {
     263             : public:
     264             :     UnoPageControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
     265             :     virtual ~UnoPageControl();
     266             :     OUString     GetComponentServiceName() SAL_OVERRIDE;
     267             : 
     268             : 
     269             :     // ::com::sun::star::lang::XServiceInfo
     270           0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoPageControl, ControlContainerBase, szServiceName_UnoPageControl )
     271             : };
     272             : 
     273             : class UnoFrameModel : public ControlModelContainerBase
     274             : {
     275             : public:
     276             :     UnoFrameModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
     277             :     virtual ~UnoFrameModel();
     278             :     UnoFrameModel( const UnoFrameModel& rModel );
     279             : 
     280             :     UnoControlModel*    Clone() const SAL_OVERRIDE;
     281             : 
     282           0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoFrameModel, ControlModelContainerBase, szServiceName_UnoFrameModel )
     283             : 
     284             :     virtual OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     285             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw( ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     286             : 
     287             : protected:
     288             :     virtual ::com::sun::star::uno::Any          ImplGetDefaultValue( sal_uInt16 nPropId ) const SAL_OVERRIDE;
     289             :     ::cppu::IPropertyArrayHelper&       SAL_CALL getInfoHelper() SAL_OVERRIDE;
     290             : };
     291             : 
     292             : class UnoFrameControl :  public ControlContainerBase
     293             : {
     294             : protected:
     295             :     virtual void        ImplSetPosSize( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& rxCtrl ) SAL_OVERRIDE;
     296             : public:
     297             :     UnoFrameControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
     298             :     virtual ~UnoFrameControl();
     299             :     OUString     GetComponentServiceName() SAL_OVERRIDE;
     300             : 
     301             : // ::com::sun::star::lang::XServiceInfo
     302           0 : DECLIMPL_SERVICEINFO_DERIVED( UnoFrameControl, ControlContainerBase, szServiceName_UnoFrameControl )
     303             : };
     304             : 
     305             : #endif // INCLUDED_TOOLKIT_CONTROLS_DIALOGCONTROL_HXX
     306             : 
     307             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10