LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/toolkit/controls - unocontrols.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 125 143 87.4 %
Date: 2012-08-25 Functions: 168 209 80.4 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 92 262 35.1 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : 
      29                 :            : #ifndef _TOOLKIT_HELPER_UNOCONTROLS_HXX_
      30                 :            : #define _TOOLKIT_HELPER_UNOCONTROLS_HXX_
      31                 :            : 
      32                 :            : #include <toolkit/dllapi.h>
      33                 :            : #include <com/sun/star/awt/XTextComponent.hpp>
      34                 :            : #include <com/sun/star/awt/XTextListener.hpp>
      35                 :            : #include <com/sun/star/awt/XLayoutConstrains.hpp>
      36                 :            : #include <com/sun/star/awt/XTextLayoutConstrains.hpp>
      37                 :            : #include <com/sun/star/awt/XButton.hpp>
      38                 :            : #include <com/sun/star/awt/XToggleButton.hpp>
      39                 :            : #include <com/sun/star/awt/XRadioButton.hpp>
      40                 :            : #include <com/sun/star/awt/XItemListener.hpp>
      41                 :            : #include <com/sun/star/awt/XCheckBox.hpp>
      42                 :            : #include <com/sun/star/awt/XFixedHyperlink.hpp>
      43                 :            : #include <com/sun/star/awt/XFixedText.hpp>
      44                 :            : #include <com/sun/star/awt/XListBox.hpp>
      45                 :            : #include <com/sun/star/awt/XComboBox.hpp>
      46                 :            : #include <com/sun/star/awt/XDateField.hpp>
      47                 :            : #include <com/sun/star/awt/XSpinField.hpp>
      48                 :            : #include <com/sun/star/awt/XTimeField.hpp>
      49                 :            : #include <com/sun/star/awt/XNumericField.hpp>
      50                 :            : #include <com/sun/star/awt/XCurrencyField.hpp>
      51                 :            : #include <com/sun/star/awt/XPatternField.hpp>
      52                 :            : #include <com/sun/star/awt/XProgressBar.hpp>
      53                 :            : #include <com/sun/star/awt/XItemList.hpp>
      54                 :            : #include <com/sun/star/graphic/XGraphicObject.hpp>
      55                 :            : #include <toolkit/controls/unocontrolmodel.hxx>
      56                 :            : #include <toolkit/controls/unocontrolbase.hxx>
      57                 :            : #include <toolkit/helper/macros.hxx>
      58                 :            : #include <toolkit/helper/servicenames.hxx>
      59                 :            : #include <vcl/bitmapex.hxx>
      60                 :            : #include <cppuhelper/implbase5.hxx>
      61                 :            : #include <cppuhelper/implbase4.hxx>
      62                 :            : #include <cppuhelper/implbase2.hxx>
      63                 :            : #include <cppuhelper/implbase1.hxx>
      64                 :            : #include <comphelper/uno3.hxx>
      65                 :            : 
      66                 :            : #include <list>
      67                 :            : #include <vector>
      68                 :            : 
      69                 :            : #include <boost/scoped_ptr.hpp>
      70                 :            : #include <boost/optional.hpp>
      71                 :            : 
      72                 :            : #define UNO_NAME_GRAPHOBJ_URLPREFIX                             "vnd.sun.star.GraphicObject:"
      73                 :            : #define UNO_NAME_GRAPHOBJ_URLPKGPREFIX                  "vnd.sun.star.Package:"
      74                 :            : 
      75                 :            : class ImageHelper
      76                 :            : {
      77                 :            : public:
      78                 :            :     // The routine will always attempt to return a valid XGraphic for the
      79                 :            :     // passed _rURL, additionallly xOutGraphicObject will contain the
      80                 :            :     // associated XGraphicObject ( if url is valid for that ) and is set
      81                 :            :     // appropriately ( e.g. NULL if non GraphicObject scheme ) or a valid
      82                 :            :     // object if the rURL points to a valid object
      83                 :            :     static ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > getGraphicAndGraphicObjectFromURL_nothrow( ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphicObject >& xOutGraphicObject, const ::rtl::OUString& _rURL );
      84                 :            :     static ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > getGraphicFromURL_nothrow( const ::rtl::OUString& _rURL );
      85                 :            : 
      86                 :            : };
      87                 :            : 
      88                 :            : //  ----------------------------------------------------
      89                 :            : //  class UnoControlEditModel
      90                 :            : //  ----------------------------------------------------
      91         [ -  + ]:         36 : class UnoControlEditModel : public UnoControlModel
      92                 :            : {
      93                 :            : protected:
      94                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
      95                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
      96                 :            : 
      97                 :            : public:
      98                 :            :                         UnoControlEditModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
      99                 :          2 :                         UnoControlEditModel( const UnoControlEditModel& rModel ) : UnoControlModel( rModel ) {;}
     100                 :            : 
     101         [ +  - ]:          2 :     UnoControlModel*    Clone() const { return new UnoControlEditModel( *this ); }
     102                 :            : 
     103                 :            :     // ::com::sun::star::io::XPersistObject
     104                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     105                 :            : 
     106                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     107                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     108                 :            : 
     109                 :            : 
     110                 :            :     // XServiceInfo
     111 [ +  - ][ +  - ]:         14 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlEditModel, UnoControlModel, szServiceName2_UnoControlEditModel )
     112                 :            : };
     113                 :            : 
     114                 :            : //  ----------------------------------------------------
     115                 :            : //  class UnoEditControl
     116                 :            : //  ----------------------------------------------------
     117                 :            : typedef ::cppu::ImplHelper4  <   ::com::sun::star::awt::XTextComponent
     118                 :            :                              ,   ::com::sun::star::awt::XTextListener
     119                 :            :                              ,   ::com::sun::star::awt::XLayoutConstrains
     120                 :            :                              ,   ::com::sun::star::awt::XTextLayoutConstrains
     121                 :            :                              >   UnoEditControl_Base;
     122 [ +  - ][ -  + ]:        167 : class TOOLKIT_DLLPUBLIC UnoEditControl    :public UnoControlBase
     123                 :            :                                             ,public UnoEditControl_Base
     124                 :            : {
     125                 :            : private:
     126                 :            :     TextListenerMultiplexer maTextListeners;
     127                 :            : 
     128                 :            :     // Not all fields derived from UnoEditCOntrol have the property "Text"
     129                 :            :     // They only support XTextComponent, so keep the text
     130                 :            :     // here, maybe there is no Peer when calling setText()...
     131                 :            :     ::rtl::OUString     maText;
     132                 :            :     sal_uInt16              mnMaxTextLen;
     133                 :            : 
     134                 :            :     sal_Bool            mbSetTextInPeer;
     135                 :            :     sal_Bool            mbSetMaxTextLenInPeer;
     136                 :            :     sal_Bool            mbHasTextProperty;
     137                 :            : 
     138                 :            : public:
     139                 :            : 
     140                 :            :                                 UnoEditControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     141                 :            :     ::rtl::OUString             GetComponentServiceName();
     142                 :        976 :     TextListenerMultiplexer&    GetTextListeners()  { return maTextListeners; }
     143                 :            : 
     144                 :            :     void                        ImplSetPeerProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any& rVal );
     145                 :            : 
     146                 :            :     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);
     147                 :        362 :     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException) { UnoControlBase::disposing( Source ); }
     148                 :            :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException);
     149                 :            : 
     150                 :            :     // disambiguate XInterface
     151                 :            :     DECLARE_XINTERFACE()
     152                 :            : 
     153                 :            :     // XAggregation
     154                 :            :     ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
     155                 :            : 
     156                 :            :     // XTypeProvider
     157                 :            :     DECLARE_XTYPEPROVIDER()
     158                 :            : 
     159                 :            :     // XTextListener
     160                 :            :     void SAL_CALL textChanged( const ::com::sun::star::awt::TextEvent& rEvent ) throw(::com::sun::star::uno::RuntimeException);
     161                 :            : 
     162                 :            :     // XTextComponent
     163                 :            :     void SAL_CALL addTextListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     164                 :            :     void SAL_CALL removeTextListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     165                 :            :     void SAL_CALL setText( const ::rtl::OUString& aText ) throw(::com::sun::star::uno::RuntimeException);
     166                 :            :     void SAL_CALL insertText( const ::com::sun::star::awt::Selection& Sel, const ::rtl::OUString& Text ) throw(::com::sun::star::uno::RuntimeException);
     167                 :            :     ::rtl::OUString SAL_CALL getText(  ) throw(::com::sun::star::uno::RuntimeException);
     168                 :            :     ::rtl::OUString SAL_CALL getSelectedText(  ) throw(::com::sun::star::uno::RuntimeException);
     169                 :            :     void SAL_CALL setSelection( const ::com::sun::star::awt::Selection& aSelection ) throw(::com::sun::star::uno::RuntimeException);
     170                 :            :     ::com::sun::star::awt::Selection SAL_CALL getSelection(  ) throw(::com::sun::star::uno::RuntimeException);
     171                 :            :     sal_Bool SAL_CALL isEditable(  ) throw(::com::sun::star::uno::RuntimeException);
     172                 :            :     void SAL_CALL setEditable( sal_Bool bEditable ) throw(::com::sun::star::uno::RuntimeException);
     173                 :            :     void SAL_CALL setMaxTextLen( sal_Int16 nLen ) throw(::com::sun::star::uno::RuntimeException);
     174                 :            :     sal_Int16 SAL_CALL getMaxTextLen(  ) throw(::com::sun::star::uno::RuntimeException);
     175                 :            : 
     176                 :            :     // XLayoutConstrains
     177                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException);
     178                 :            :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException);
     179                 :            :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
     180                 :            : 
     181                 :            :     // XTextLayoutConstrains
     182                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException);
     183                 :            :     void SAL_CALL getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::star::uno::RuntimeException);
     184                 :            : 
     185                 :            :     // XServiceInfo
     186                 :            :     ::rtl::OUString SAL_CALL getImplementationName(  ) throw(::com::sun::star::uno::RuntimeException);
     187                 :            :     ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
     188                 :            : 
     189                 :            :     sal_Bool SAL_CALL setModel(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& Model) throw ( ::com::sun::star::uno::RuntimeException );
     190                 :            : };
     191                 :            : 
     192                 :            : //  ----------------------------------------------------
     193                 :            : //  class UnoControlFileControlModel
     194                 :            : //  ----------------------------------------------------
     195         [ -  + ]:         30 : class UnoControlFileControlModel : public UnoControlModel
     196                 :            : {
     197                 :            : protected:
     198                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     199                 :            :     ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
     200                 :            : 
     201                 :            : public:
     202                 :            :                         UnoControlFileControlModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     203                 :          2 :                         UnoControlFileControlModel( const UnoControlFileControlModel& rModel ) : UnoControlModel( rModel ) {;}
     204                 :            : 
     205         [ +  - ]:          2 :     UnoControlModel*    Clone() const { return new UnoControlFileControlModel( *this ); }
     206                 :            : 
     207                 :            :     // ::com::sun::star::io::XPersistObject
     208                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     209                 :            : 
     210                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     211                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     212                 :            : 
     213                 :            :     // ::com::sun::star::lang::XServiceInfo
     214 [ +  - ][ +  - ]:         16 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlFileControlModel, UnoControlModel, szServiceName2_UnoControlFileControlModel )
     215                 :            : };
     216                 :            : 
     217                 :            : //  ----------------------------------------------------
     218                 :            : //  class UnoFileControl
     219                 :            : //  ----------------------------------------------------
     220         [ #  # ]:          0 : class UnoFileControl : public UnoEditControl
     221                 :            : {
     222                 :            : public:
     223                 :            :                         UnoFileControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     224                 :            :     ::rtl::OUString     GetComponentServiceName();
     225                 :            : 
     226                 :            :     // ::com::sun::star::lang::XServiceInfo
     227 [ #  # ][ #  # ]:          0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoFileControl, UnoEditControl, szServiceName2_UnoControlFileControl )
     228                 :            : };
     229                 :            : 
     230                 :            : //  ----------------------------------------------------
     231                 :            : //  class GraphicControlModel
     232                 :            : //  ----------------------------------------------------
     233         [ -  + ]:        167 : class GraphicControlModel : public UnoControlModel
     234                 :            : {
     235                 :            : private:
     236                 :            :     bool                                                                                    mbAdjustingImagePosition;
     237                 :            :     bool                                                                                    mbAdjustingGraphic;
     238                 :            : 
     239                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphicObject > mxGrfObj;
     240                 :            : 
     241                 :            : protected:
     242                 :        194 :     GraphicControlModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory )
     243                 :            :         :UnoControlModel( i_factory )
     244                 :            :         ,mbAdjustingImagePosition( false )
     245                 :        194 :         ,mbAdjustingGraphic( false )
     246                 :            :     {
     247                 :        194 :     }
     248                 :         18 :     GraphicControlModel( const GraphicControlModel& _rSource ) : UnoControlModel( _rSource ), mbAdjustingImagePosition( false ), mbAdjustingGraphic( false ) { }
     249                 :            : 
     250                 :            :     // ::cppu::OPropertySetHelper
     251                 :            :     void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception);
     252                 :            : 
     253                 :            :     // UnoControlModel
     254                 :            :     ::com::sun::star::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     255                 :            : 
     256                 :            : private:
     257                 :            :         GraphicControlModel& operator=( const GraphicControlModel& );   // never implemented
     258                 :            : };
     259                 :            : 
     260                 :            : //  ----------------------------------------------------
     261                 :            : //  class UnoControlButtonModel
     262                 :            : //  ----------------------------------------------------
     263         [ -  + ]:        124 : class UnoControlButtonModel : public GraphicControlModel
     264                 :            : {
     265                 :            : protected:
     266                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     267                 :            :     ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
     268                 :            : 
     269                 :            : public:
     270                 :            :                         UnoControlButtonModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     271                 :          4 :                         UnoControlButtonModel( const UnoControlButtonModel& rModel ) : GraphicControlModel( rModel ) {;}
     272                 :            : 
     273         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlButtonModel( *this ); }
     274                 :            : 
     275                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     276                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     277                 :            : 
     278                 :            :     // ::com::sun::star::io::XPersistObject
     279                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     280                 :            : 
     281                 :            :     // ::com::sun::star::lang::XServiceInfo
     282 [ +  - ][ +  - ]:         12 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlButtonModel, GraphicControlModel, szServiceName2_UnoControlButtonModel )
     283                 :            : };
     284                 :            : 
     285                 :            : //  ----------------------------------------------------
     286                 :            : //  class UnoButtonControl
     287                 :            : //  ----------------------------------------------------
     288                 :            : typedef ::cppu::AggImplInheritanceHelper4   <   UnoControlBase
     289                 :            :                                             ,   ::com::sun::star::awt::XButton
     290                 :            :                                             ,   ::com::sun::star::awt::XToggleButton
     291                 :            :                                             ,   ::com::sun::star::awt::XLayoutConstrains
     292                 :            :                                             ,   ::com::sun::star::awt::XItemListener
     293                 :            :                                             >   UnoButtonControl_Base;
     294 [ +  - ][ +  - ]:        170 : class UnoButtonControl :    public UnoButtonControl_Base
                 [ -  + ]
     295                 :            : {
     296                 :            : private:
     297                 :            :     ActionListenerMultiplexer   maActionListeners;
     298                 :            :     ItemListenerMultiplexer     maItemListeners;
     299                 :            :     ::rtl::OUString             maActionCommand;
     300                 :            : 
     301                 :            : public:
     302                 :            : 
     303                 :            :                         UnoButtonControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     304                 :            :     ::rtl::OUString     GetComponentServiceName();
     305                 :            : 
     306                 :            :     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);
     307                 :            :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException);
     308                 :            : 
     309                 :            :     // ::com::sun::star::awt::XButton
     310                 :            :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     311                 :            :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     312                 :            :     void SAL_CALL setLabel( const ::rtl::OUString& Label ) throw(::com::sun::star::uno::RuntimeException);
     313                 :            :     void SAL_CALL setActionCommand( const ::rtl::OUString& Command ) throw(::com::sun::star::uno::RuntimeException);
     314                 :            : 
     315                 :            :     // ::com::sun::star::awt::XToggleButton
     316                 :            :     // ::com::sun::star::awt::XItemEventBroadcaster
     317                 :            :     void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     318                 :            :     void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     319                 :            : 
     320                 :            :     // ::com::sun::star::lang::XEventListener
     321                 :            :     virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException);
     322                 :            : 
     323                 :            :     // XItemListener
     324                 :            :     virtual void SAL_CALL itemStateChanged( const ::com::sun::star::awt::ItemEvent& rEvent ) throw (::com::sun::star::uno::RuntimeException);
     325                 :            : 
     326                 :            :     // ::com::sun::star::awt::XLayoutConstrains
     327                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException);
     328                 :            :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException);
     329                 :            :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
     330                 :            : 
     331                 :            :     // ::com::sun::star::lang::XServiceInfo
     332 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoButtonControl, UnoControlBase, szServiceName2_UnoControlButton )
     333                 :            : };
     334                 :            : 
     335                 :            : //  ----------------------------------------------------
     336                 :            : //  class UnoControlImageControlModel
     337                 :            : //  ----------------------------------------------------
     338         [ -  + ]:         60 : class UnoControlImageControlModel : public GraphicControlModel
     339                 :            : {
     340                 :            : private:
     341                 :            :     bool    mbAdjustingImageScaleMode;
     342                 :            : 
     343                 :            : protected:
     344                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     345                 :            :     ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
     346                 :            : 
     347                 :            : public:
     348                 :            :                                     UnoControlImageControlModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     349                 :          6 :                                     UnoControlImageControlModel( const UnoControlImageControlModel& rModel ) : GraphicControlModel( rModel ), mbAdjustingImageScaleMode( false ) { }
     350                 :            : 
     351         [ +  - ]:          6 :     UnoControlModel*    Clone() const { return new UnoControlImageControlModel( *this ); }
     352                 :            : 
     353                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     354                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     355                 :            : 
     356                 :            :     // ::com::sun::star::io::XPersistObject
     357                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     358                 :            : 
     359                 :            :     // ::com::sun::star::lang::XServiceInfo
     360 [ +  - ][ +  - ]:         34 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlImageControlModel, GraphicControlModel, szServiceName2_UnoControlImageControlModel )
     361                 :            : 
     362                 :            :     // ::cppu::OPropertySetHelper
     363                 :            :     void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception);
     364                 :            : };
     365                 :            : 
     366                 :            : //  ----------------------------------------------------
     367                 :            : //  class UnoImageControlControl
     368                 :            : //  ----------------------------------------------------
     369                 :            : typedef ::cppu::AggImplInheritanceHelper1   <   UnoControlBase
     370                 :            :                                             ,   ::com::sun::star::awt::XLayoutConstrains
     371                 :            :                                             >   UnoImageControlControl_Base;
     372 [ +  - ][ -  + ]:         44 : class UnoImageControlControl : public UnoImageControlControl_Base
     373                 :            : {
     374                 :            : private:
     375                 :            :     ActionListenerMultiplexer   maActionListeners;
     376                 :            :     ::rtl::OUString             maActionCommand;
     377                 :            : 
     378                 :            : public:
     379                 :            : 
     380                 :            :                             UnoImageControlControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     381                 :            :     ::rtl::OUString         GetComponentServiceName();
     382                 :            : 
     383                 :            :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException);
     384                 :            : 
     385                 :            :     // ::com::sun::star::awt::XControl
     386                 :            :     sal_Bool SAL_CALL isTransparent(  ) throw(::com::sun::star::uno::RuntimeException);
     387                 :            : 
     388                 :            :     // ::com::sun::star::awt::XLayoutConstrains
     389                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException);
     390                 :            :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException);
     391                 :            :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
     392                 :            : 
     393                 :            :     // ::com::sun::star::lang::XServiceInfo
     394 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoImageControlControl, UnoControlBase, szServiceName2_UnoControlImageControl )
     395                 :            : };
     396                 :            : 
     397                 :            : //  ----------------------------------------------------
     398                 :            : //  class UnoControlRadioButtonModel
     399                 :            : //  ----------------------------------------------------
     400         [ -  + ]:         68 : class UnoControlRadioButtonModel :  public GraphicControlModel
     401                 :            : 
     402                 :            : {
     403                 :            : protected:
     404                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     405                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
     406                 :            : 
     407                 :            : public:
     408                 :            :                         UnoControlRadioButtonModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     409                 :          4 :                         UnoControlRadioButtonModel( const UnoControlRadioButtonModel& rModel ) : GraphicControlModel( rModel ) {;}
     410                 :            : 
     411         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlRadioButtonModel( *this ); }
     412                 :            : 
     413                 :            :     // ::com::sun::star::io::XPersistObject
     414                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     415                 :            : 
     416                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     417                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     418                 :            : 
     419                 :            :     // ::com::sun::star::lang::XServiceInfo
     420 [ +  - ][ +  - ]:         26 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlRadioButtonModel, GraphicControlModel, szServiceName2_UnoControlRadioButtonModel )
     421                 :            : 
     422                 :            : };
     423                 :            : 
     424                 :            : //  ----------------------------------------------------
     425                 :            : //  class UnoRadioButtonControl
     426                 :            : //  ----------------------------------------------------
     427                 :            : typedef ::cppu::AggImplInheritanceHelper4   <   UnoControlBase
     428                 :            :                                             ,   ::com::sun::star::awt::XButton
     429                 :            :                                             ,   ::com::sun::star::awt::XRadioButton
     430                 :            :                                             ,   ::com::sun::star::awt::XItemListener
     431                 :            :                                             ,   ::com::sun::star::awt::XLayoutConstrains
     432                 :            :                                             >   UnoRadioButtonControl_Base;
     433 [ +  - ][ +  - ]:         28 : class UnoRadioButtonControl : public UnoRadioButtonControl_Base
                 [ -  + ]
     434                 :            : {
     435                 :            : private:
     436                 :            :     ItemListenerMultiplexer     maItemListeners;
     437                 :            :     ActionListenerMultiplexer   maActionListeners;
     438                 :            :     ::rtl::OUString             maActionCommand;
     439                 :            : 
     440                 :            : public:
     441                 :            : 
     442                 :            :                             UnoRadioButtonControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     443                 :            :     ::rtl::OUString         GetComponentServiceName();
     444                 :            : 
     445                 :            :     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);
     446                 :            :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException);
     447                 :         40 :     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException) { UnoControlBase::disposing( Source ); }
     448                 :            : 
     449                 :            :     // ::com::sun::star::awt::XControl
     450                 :            :     sal_Bool SAL_CALL isTransparent(  ) throw(::com::sun::star::uno::RuntimeException);
     451                 :            : 
     452                 :            :     // ::com::sun::star::awt::XButton
     453                 :            :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     454                 :            :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     455                 :            :     void SAL_CALL setActionCommand( const ::rtl::OUString& Command ) throw(::com::sun::star::uno::RuntimeException);
     456                 :            : 
     457                 :            :     // ::com::sun::star::awt::XRadioButton
     458                 :            :     void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     459                 :            :     void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     460                 :            :     sal_Bool SAL_CALL getState(  ) throw(::com::sun::star::uno::RuntimeException);
     461                 :            :     void SAL_CALL setState( sal_Bool b ) throw(::com::sun::star::uno::RuntimeException);
     462                 :            :     void SAL_CALL setLabel( const ::rtl::OUString& Label ) throw(::com::sun::star::uno::RuntimeException);
     463                 :            : 
     464                 :            :     // ::com::sun::star::awt::XItemListener
     465                 :            :     void SAL_CALL itemStateChanged( const ::com::sun::star::awt::ItemEvent& rEvent ) throw(::com::sun::star::uno::RuntimeException);
     466                 :            : 
     467                 :            :     // ::com::sun::star::awt::XLayoutConstrains
     468                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException);
     469                 :            :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException);
     470                 :            :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
     471                 :            : 
     472                 :            :     // ::com::sun::star::lang::XServiceInfo
     473 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoRadioButtonControl, UnoControlBase, szServiceName2_UnoControlRadioButton )
     474                 :            : 
     475                 :            : };
     476                 :            : 
     477                 :            : //  ----------------------------------------------------
     478                 :            : //  class UnoControlCheckBoxModel
     479                 :            : //  ----------------------------------------------------
     480         [ -  + ]:         78 : class UnoControlCheckBoxModel : public GraphicControlModel
     481                 :            : {
     482                 :            : protected:
     483                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     484                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
     485                 :            : 
     486                 :            : public:
     487                 :            :                         UnoControlCheckBoxModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     488                 :          4 :                         UnoControlCheckBoxModel( const UnoControlCheckBoxModel& rModel ) : GraphicControlModel( rModel ) {;}
     489                 :            : 
     490         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlCheckBoxModel( *this ); }
     491                 :            : 
     492                 :            :     // ::com::sun::star::io::XPersistObject
     493                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     494                 :            : 
     495                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     496                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     497                 :            : 
     498                 :            :     // ::com::sun::star::lang::XServiceInfo
     499 [ +  - ][ +  - ]:         26 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlCheckBoxModel, GraphicControlModel, szServiceName2_UnoControlCheckBoxModel )
     500                 :            : };
     501                 :            : 
     502                 :            : //  ----------------------------------------------------
     503                 :            : //  class UnoCheckBoxControl
     504                 :            : //  ----------------------------------------------------
     505                 :            : typedef ::cppu::AggImplInheritanceHelper4   <   UnoControlBase
     506                 :            :                                             ,   ::com::sun::star::awt::XButton
     507                 :            :                                             ,   ::com::sun::star::awt::XCheckBox
     508                 :            :                                             ,   ::com::sun::star::awt::XItemListener
     509                 :            :                                             ,   ::com::sun::star::awt::XLayoutConstrains
     510                 :            :                                             >   UnoCheckBoxControl_Base;
     511                 :            : class UnoCheckBoxControl : public UnoCheckBoxControl_Base
     512                 :            : {
     513                 :            : private:
     514                 :            :     ItemListenerMultiplexer     maItemListeners;
     515                 :            :     ActionListenerMultiplexer   maActionListeners;
     516                 :            :     ::rtl::OUString             maActionCommand;
     517                 :            : 
     518                 :            : public:
     519                 :            : 
     520                 :            :                             UnoCheckBoxControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     521 [ +  - ][ +  - ]:         28 :                             ~UnoCheckBoxControl(){;}
                 [ -  + ]
     522                 :            :     ::rtl::OUString         GetComponentServiceName();
     523                 :            : 
     524                 :            :     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);
     525                 :            :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException);
     526                 :         40 :     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException) { UnoControlBase::disposing( Source ); }
     527                 :            : 
     528                 :            :     // ::com::sun::star::awt::XControl
     529                 :            :     sal_Bool SAL_CALL isTransparent(  ) throw(::com::sun::star::uno::RuntimeException);
     530                 :            : 
     531                 :            :     // ::com::sun::star::awt::XButton
     532                 :            :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     533                 :            :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     534                 :            :     void SAL_CALL setActionCommand( const ::rtl::OUString& Command ) throw(::com::sun::star::uno::RuntimeException);
     535                 :            : 
     536                 :            :     virtual void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw (::com::sun::star::uno::RuntimeException);
     537                 :            :     virtual void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw (::com::sun::star::uno::RuntimeException);
     538                 :            : 
     539                 :            : 
     540                 :            :     sal_Int16 SAL_CALL getState(  ) throw(::com::sun::star::uno::RuntimeException);
     541                 :            :     void SAL_CALL setState( sal_Int16 n ) throw(::com::sun::star::uno::RuntimeException);
     542                 :            :     void SAL_CALL setLabel( const ::rtl::OUString& Label ) throw(::com::sun::star::uno::RuntimeException);
     543                 :            :     void SAL_CALL enableTriState( sal_Bool b ) throw(::com::sun::star::uno::RuntimeException);
     544                 :            : 
     545                 :            :     // ::com::sun::star::awt::XItemListener
     546                 :            :     void SAL_CALL itemStateChanged( const ::com::sun::star::awt::ItemEvent& rEvent ) throw(::com::sun::star::uno::RuntimeException);
     547                 :            : 
     548                 :            :     // ::com::sun::star::awt::XLayoutConstrains
     549                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException);
     550                 :            :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException);
     551                 :            :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
     552                 :            : 
     553                 :            :     // ::com::sun::star::lang::XServiceInfo
     554 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoCheckBoxControl, UnoControlBase, szServiceName2_UnoControlCheckBox )
     555                 :            : 
     556                 :            : };
     557                 :            : 
     558                 :            : //  ----------------------------------------------------
     559                 :            : //  class UnoControlFixedTextModel
     560                 :            : //  ----------------------------------------------------
     561         [ #  # ]:          0 : class UnoControlFixedHyperlinkModel : public UnoControlModel
     562                 :            : {
     563                 :            : protected:
     564                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     565                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
     566                 :            : 
     567                 :            : public:
     568                 :            :     UnoControlFixedHyperlinkModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     569                 :          0 :     UnoControlFixedHyperlinkModel( const UnoControlFixedHyperlinkModel& rModel ) : UnoControlModel( rModel ) {;}
     570                 :            : 
     571         [ #  # ]:          0 :     UnoControlModel*    Clone() const { return new UnoControlFixedHyperlinkModel( *this ); }
     572                 :            : 
     573                 :            :     // ::com::sun::star::io::XPersistObject
     574                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     575                 :            : 
     576                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     577                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     578                 :            : 
     579                 :            :     // ::com::sun::star::lang::XServiceInfo
     580 [ #  # ][ #  # ]:          0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlFixedHyperlinkModel, UnoControlModel, szServiceName_UnoControlFixedHyperlinkModel )
     581                 :            : };
     582                 :            : 
     583                 :            : //  ----------------------------------------------------
     584                 :            : //  class UnoFixedHyperlinkControl
     585                 :            : //  ----------------------------------------------------
     586 [ #  # ][ #  # ]:          0 : class UnoFixedHyperlinkControl : public UnoControlBase,
     587                 :            :                                  public ::com::sun::star::awt::XFixedHyperlink,
     588                 :            :                                  public ::com::sun::star::awt::XLayoutConstrains
     589                 :            : {
     590                 :            : private:
     591                 :            :     ActionListenerMultiplexer   maActionListeners;
     592                 :            : 
     593                 :            : public:
     594                 :            :     UnoFixedHyperlinkControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     595                 :            : 
     596                 :            :     ::rtl::OUString     GetComponentServiceName();
     597                 :            : 
     598                 :          0 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoControlBase::queryInterface(rType); }
     599                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
     600                 :          0 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
     601                 :          0 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
     602                 :            : 
     603                 :            :     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);
     604                 :            :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException);
     605                 :            : 
     606                 :            :     // ::com::sun::star::lang::XTypeProvider
     607                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
     608                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
     609                 :            : 
     610                 :            :     // ::com::sun::star::awt::XControl
     611                 :            :     sal_Bool SAL_CALL isTransparent(  ) throw(::com::sun::star::uno::RuntimeException);
     612                 :            : 
     613                 :            :     // ::com::sun::star::awt::XFixedHyperlink
     614                 :            :     void SAL_CALL setText( const ::rtl::OUString& Text ) throw(::com::sun::star::uno::RuntimeException);
     615                 :            :     ::rtl::OUString SAL_CALL getText(  ) throw(::com::sun::star::uno::RuntimeException);
     616                 :            :     void SAL_CALL setURL( const ::rtl::OUString& URL ) throw(::com::sun::star::uno::RuntimeException);
     617                 :            :     ::rtl::OUString SAL_CALL getURL(  ) throw(::com::sun::star::uno::RuntimeException);
     618                 :            :     void SAL_CALL setAlignment( sal_Int16 nAlign ) throw(::com::sun::star::uno::RuntimeException);
     619                 :            :     sal_Int16 SAL_CALL getAlignment(  ) throw(::com::sun::star::uno::RuntimeException);
     620                 :            :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     621                 :            :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     622                 :            : 
     623                 :            :     // ::com::sun::star::awt::XLayoutConstrains
     624                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException);
     625                 :            :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException);
     626                 :            :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
     627                 :            : 
     628                 :            :     // ::com::sun::star::lang::XServiceInfo
     629 [ #  # ][ #  # ]:          0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoFixedHyperlinkControl, UnoControlBase, szServiceName_UnoControlFixedHyperlink )
     630                 :            : };
     631                 :            : 
     632                 :            : //  ----------------------------------------------------
     633                 :            : //  class UnoControlFixedTextModel
     634                 :            : //  ----------------------------------------------------
     635         [ -  + ]:        298 : class UnoControlFixedTextModel : public UnoControlModel
     636                 :            : {
     637                 :            : protected:
     638                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     639                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
     640                 :            : 
     641                 :            : public:
     642                 :            :                         UnoControlFixedTextModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     643                 :          6 :                         UnoControlFixedTextModel( const UnoControlFixedTextModel& rModel ) : UnoControlModel( rModel ) {;}
     644                 :            : 
     645         [ +  - ]:          6 :     UnoControlModel*    Clone() const { return new UnoControlFixedTextModel( *this ); }
     646                 :            : 
     647                 :            :     // ::com::sun::star::io::XPersistObject
     648                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     649                 :            : 
     650                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     651                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     652                 :            : 
     653                 :            :     // ::com::sun::star::lang::XServiceInfo
     654 [ +  - ][ +  - ]:         40 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlFixedTextModel, UnoControlModel, szServiceName2_UnoControlFixedTextModel )
     655                 :            : 
     656                 :            : };
     657                 :            : 
     658                 :            : //  ----------------------------------------------------
     659                 :            : //  class UnoFixedTextControl
     660                 :            : //  ----------------------------------------------------
     661         [ -  + ]:         32 : class UnoFixedTextControl : public UnoControlBase,
     662                 :            :                             public ::com::sun::star::awt::XFixedText,
     663                 :            :                             public ::com::sun::star::awt::XLayoutConstrains
     664                 :            : {
     665                 :            : public:
     666                 :            :                         UnoFixedTextControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     667                 :            :     ::rtl::OUString     GetComponentServiceName();
     668                 :            : 
     669                 :        172 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoControlBase::queryInterface(rType); }
     670                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
     671                 :        646 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
     672                 :        634 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
     673                 :            : 
     674                 :            :     // ::com::sun::star::lang::XTypeProvider
     675                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
     676                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
     677                 :            : 
     678                 :            :     // ::com::sun::star::awt::XControl
     679                 :            :     sal_Bool SAL_CALL isTransparent(  ) throw(::com::sun::star::uno::RuntimeException);
     680                 :            : 
     681                 :            :     // ::com::sun::star::awt::XFixedText
     682                 :            :     void SAL_CALL setText( const ::rtl::OUString& Text ) throw(::com::sun::star::uno::RuntimeException);
     683                 :            :     ::rtl::OUString SAL_CALL getText(  ) throw(::com::sun::star::uno::RuntimeException);
     684                 :            :     void SAL_CALL setAlignment( sal_Int16 nAlign ) throw(::com::sun::star::uno::RuntimeException);
     685                 :            :     sal_Int16 SAL_CALL getAlignment(  ) throw(::com::sun::star::uno::RuntimeException);
     686                 :            : 
     687                 :            :     // ::com::sun::star::awt::XLayoutConstrains
     688                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException);
     689                 :            :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException);
     690                 :            :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
     691                 :            : 
     692                 :            :     // ::com::sun::star::lang::XServiceInfo
     693 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoFixedTextControl, UnoControlBase, szServiceName2_UnoControlFixedText )
     694                 :            : 
     695                 :            : };
     696                 :            : 
     697                 :            : //  ----------------------------------------------------
     698                 :            : //  class UnoControlGroupBoxModel
     699                 :            : //  ----------------------------------------------------
     700         [ -  + ]:         84 : class UnoControlGroupBoxModel : public UnoControlModel
     701                 :            : {
     702                 :            : protected:
     703                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     704                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
     705                 :            : 
     706                 :            : public:
     707                 :            :                         UnoControlGroupBoxModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     708                 :          4 :                         UnoControlGroupBoxModel( const UnoControlGroupBoxModel& rModel ) : UnoControlModel( rModel ) {;}
     709                 :            : 
     710         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlGroupBoxModel( *this ); }
     711                 :            : 
     712                 :            :     // ::com::sun::star::io::XPersistObject
     713                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     714                 :            : 
     715                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     716                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     717                 :            : 
     718                 :            :     // ::com::sun::star::lang::XServiceInfo
     719 [ +  - ][ +  - ]:         24 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlGroupBoxModel, UnoControlModel, szServiceName2_UnoControlGroupBoxModel )
     720                 :            : 
     721                 :            : };
     722                 :            : 
     723                 :            : //  ----------------------------------------------------
     724                 :            : //  class UnoGroupBoxControl
     725                 :            : //  ----------------------------------------------------
     726         [ -  + ]:         52 : class UnoGroupBoxControl :  public UnoControlBase
     727                 :            : {
     728                 :            : public:
     729                 :            :                         UnoGroupBoxControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     730                 :            :     ::rtl::OUString     GetComponentServiceName();
     731                 :            : 
     732                 :            :     sal_Bool SAL_CALL isTransparent(  ) throw(::com::sun::star::uno::RuntimeException);
     733                 :            : 
     734                 :            :     // ::com::sun::star::lang::XServiceInfo
     735 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoGroupBoxControl, UnoControlBase, szServiceName2_UnoControlGroupBox )
     736                 :            : 
     737                 :            : };
     738                 :            : 
     739                 :            : //  ----------------------------------------------------
     740                 :            : //  class UnoControlListBoxModel
     741                 :            : //  ----------------------------------------------------
     742                 :            : struct UnoControlListBoxModel_Data;
     743                 :            : typedef ::cppu::AggImplInheritanceHelper1   <   UnoControlModel
     744                 :            :                                             ,   ::com::sun::star::awt::XItemList
     745                 :            :                                             >   UnoControlListBoxModel_Base;
     746                 :            : class TOOLKIT_DLLPUBLIC UnoControlListBoxModel : public UnoControlListBoxModel_Base
     747                 :            : {
     748                 :            : protected:
     749                 :            :     enum ConstructorMode
     750                 :            :     {
     751                 :            :         ConstructDefault,
     752                 :            :         ConstructWithoutProperties
     753                 :            :     };
     754                 :            : 
     755                 :            : public:
     756                 :            :                         UnoControlListBoxModel(
     757                 :            :                             const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory,
     758                 :            :                             ConstructorMode const i_mode = ConstructDefault
     759                 :            :                         );
     760                 :            :                         UnoControlListBoxModel( const UnoControlListBoxModel& i_rSource );
     761                 :            :                         ~UnoControlListBoxModel();
     762                 :            : 
     763         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlListBoxModel( *this ); }
     764                 :            : 
     765                 :            :     virtual void        ImplNormalizePropertySequence(
     766                 :            :                             const sal_Int32                 _nCount,        /// the number of entries in the arrays
     767                 :            :                             sal_Int32*                      _pHandles,      /// the handles of the properties to set
     768                 :            :                             ::com::sun::star::uno::Any*     _pValues,       /// the values of the properties to set
     769                 :            :                             sal_Int32*                      _pValidHandles  /// pointer to the valid handles, allowed to be adjusted
     770                 :            :                         )   const SAL_THROW(());
     771                 :            : 
     772                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     773                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     774                 :            : 
     775                 :            :     // ::com::sun::star::io::XPersistObject
     776                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     777                 :            : 
     778                 :            :     // ::com::sun::star::lang::XServiceInfo
     779                 :            :     ::rtl::OUString SAL_CALL getImplementationName(  ) throw(::com::sun::star::uno::RuntimeException);
     780                 :            :     ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
     781                 :            : 
     782                 :            :     // ::com::sun::star::awt::XItemList
     783                 :            :     virtual ::sal_Int32 SAL_CALL getItemCount() throw (::com::sun::star::uno::RuntimeException);
     784                 :            :     virtual void SAL_CALL insertItem( ::sal_Int32 Position, const ::rtl::OUString& ItemText, const ::rtl::OUString& ItemImageURL ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     785                 :            :     virtual void SAL_CALL insertItemText( ::sal_Int32 Position, const ::rtl::OUString& ItemText ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     786                 :            :     virtual void SAL_CALL insertItemImage( ::sal_Int32 Position, const ::rtl::OUString& ItemImageURL ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     787                 :            :     virtual void SAL_CALL removeItem( ::sal_Int32 Position ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     788                 :            :     virtual void SAL_CALL removeAllItems(  ) throw (::com::sun::star::uno::RuntimeException);
     789                 :            :     virtual void SAL_CALL setItemText( ::sal_Int32 Position, const ::rtl::OUString& ItemText ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     790                 :            :     virtual void SAL_CALL setItemImage( ::sal_Int32 Position, const ::rtl::OUString& ItemImageURL ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     791                 :            :     virtual void SAL_CALL setItemTextAndImage( ::sal_Int32 Position, const ::rtl::OUString& ItemText, const ::rtl::OUString& ItemImageURL ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     792                 :            :     virtual void SAL_CALL setItemData( ::sal_Int32 Position, const ::com::sun::star::uno::Any& DataValue ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     793                 :            :     virtual ::rtl::OUString SAL_CALL getItemText( ::sal_Int32 Position ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     794                 :            :     virtual ::rtl::OUString SAL_CALL getItemImage( ::sal_Int32 Position ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     795                 :            :     virtual ::com::sun::star::beans::Pair< ::rtl::OUString, ::rtl::OUString > SAL_CALL getItemTextAndImage( ::sal_Int32 Position ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     796                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL getItemData( ::sal_Int32 Position ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
     797                 :            :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Pair< ::rtl::OUString, ::rtl::OUString > > SAL_CALL getAllItems(  ) throw (::com::sun::star::uno::RuntimeException);
     798                 :            :     virtual void SAL_CALL addItemListListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListListener >& Listener ) throw (::com::sun::star::uno::RuntimeException);
     799                 :            :     virtual void SAL_CALL removeItemListListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListListener >& Listener ) throw (::com::sun::star::uno::RuntimeException);
     800                 :            : 
     801                 :            :     // OPropertySetHelper
     802                 :            :     void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception);
     803                 :            : 
     804                 :            : protected:
     805                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     806                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
     807                 :            : 
     808                 :            : private:
     809                 :            :     void    impl_notifyItemListEvent_nolck(
     810                 :            :                 const sal_Int32 i_nItemPosition,
     811                 :            :                 const ::boost::optional< ::rtl::OUString >& i_rItemText,
     812                 :            :                 const ::boost::optional< ::rtl::OUString >& i_rItemImageURL,
     813                 :            :                 void ( SAL_CALL ::com::sun::star::awt::XItemListListener::*NotificationMethod )( const ::com::sun::star::awt::ItemListEvent& )
     814                 :            :             );
     815                 :            : 
     816                 :            :     void    impl_handleInsert(
     817                 :            :                 const sal_Int32 i_nItemPosition,
     818                 :            :                 const ::boost::optional< ::rtl::OUString >& i_rItemText,
     819                 :            :                 const ::boost::optional< ::rtl::OUString >& i_rItemImageURL,
     820                 :            :                 ::osl::ClearableMutexGuard& i_rClearBeforeNotify
     821                 :            :             );
     822                 :            : 
     823                 :            :     void    impl_handleRemove(
     824                 :            :                 const sal_Int32 i_nItemPosition,
     825                 :            :                 ::osl::ClearableMutexGuard& i_rClearBeforeNotify
     826                 :            :             );
     827                 :            : 
     828                 :            :     void    impl_handleModify(
     829                 :            :                 const sal_Int32 i_nItemPosition,
     830                 :            :                 const ::boost::optional< ::rtl::OUString >& i_rItemText,
     831                 :            :                 const ::boost::optional< ::rtl::OUString >& i_rItemImageURL,
     832                 :            :                 ::osl::ClearableMutexGuard& i_rClearBeforeNotify
     833                 :            :             );
     834                 :            : 
     835                 :            :     void    impl_getStringItemList( ::std::vector< ::rtl::OUString >& o_rStringItems ) const;
     836                 :            :     void    impl_setStringItemList_nolck( const ::std::vector< ::rtl::OUString >& i_rStringItems );
     837                 :            : 
     838                 :            : protected:
     839                 :            :     ::boost::scoped_ptr< UnoControlListBoxModel_Data >  m_pData;
     840                 :            :     ::cppu::OInterfaceContainerHelper                   m_aItemListListeners;
     841                 :            : };
     842                 :            : 
     843                 :            : //  ----------------------------------------------------
     844                 :            : //  class UnoListBoxControl
     845                 :            : //  ----------------------------------------------------
     846                 :            : typedef ::cppu::AggImplInheritanceHelper5   <   UnoControlBase
     847                 :            :                                             ,   ::com::sun::star::awt::XListBox
     848                 :            :                                             ,   ::com::sun::star::awt::XItemListener
     849                 :            :                                             ,   ::com::sun::star::awt::XLayoutConstrains
     850                 :            :                                             ,   ::com::sun::star::awt::XTextLayoutConstrains
     851                 :            :                                             ,   ::com::sun::star::awt::XItemListListener
     852                 :            :                                             >   UnoListBoxControl_Base;
     853 [ +  - ][ +  - ]:         24 : class TOOLKIT_DLLPUBLIC UnoListBoxControl : public UnoListBoxControl_Base
                 [ -  + ]
     854                 :            : {
     855                 :            : public:
     856                 :            :                         UnoListBoxControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     857                 :            :     ::rtl::OUString     GetComponentServiceName();
     858                 :            : 
     859                 :            :     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);
     860                 :            :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException);
     861                 :         42 :     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException) { UnoControlBase::disposing( Source ); }
     862                 :            : 
     863                 :            :     // ::com::sun::star::awt::XListBox
     864                 :            :     void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     865                 :            :     void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     866                 :            :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     867                 :            :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     868                 :            :     void SAL_CALL addItem( const ::rtl::OUString& aItem, sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException);
     869                 :            :     void SAL_CALL addItems( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aItems, sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException);
     870                 :            :     void SAL_CALL removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(::com::sun::star::uno::RuntimeException);
     871                 :            :     sal_Int16 SAL_CALL getItemCount(  ) throw(::com::sun::star::uno::RuntimeException);
     872                 :            :     ::rtl::OUString SAL_CALL getItem( sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException);
     873                 :            :     ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getItems(  ) throw(::com::sun::star::uno::RuntimeException);
     874                 :            :     sal_Int16 SAL_CALL getSelectedItemPos(  ) throw(::com::sun::star::uno::RuntimeException);
     875                 :            :     ::com::sun::star::uno::Sequence< sal_Int16 > SAL_CALL getSelectedItemsPos(  ) throw(::com::sun::star::uno::RuntimeException);
     876                 :            :     ::rtl::OUString SAL_CALL getSelectedItem(  ) throw(::com::sun::star::uno::RuntimeException);
     877                 :            :     ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSelectedItems(  ) throw(::com::sun::star::uno::RuntimeException);
     878                 :            :     void SAL_CALL selectItemPos( sal_Int16 nPos, sal_Bool bSelect ) throw(::com::sun::star::uno::RuntimeException);
     879                 :            :     void SAL_CALL selectItemsPos( const ::com::sun::star::uno::Sequence< sal_Int16 >& aPositions, sal_Bool bSelect ) throw(::com::sun::star::uno::RuntimeException);
     880                 :            :     void SAL_CALL selectItem( const ::rtl::OUString& aItem, sal_Bool bSelect ) throw(::com::sun::star::uno::RuntimeException);
     881                 :            :     sal_Bool SAL_CALL isMutipleMode(  ) throw(::com::sun::star::uno::RuntimeException);
     882                 :            :     void SAL_CALL setMultipleMode( sal_Bool bMulti ) throw(::com::sun::star::uno::RuntimeException);
     883                 :            :     sal_Int16 SAL_CALL getDropDownLineCount(  ) throw(::com::sun::star::uno::RuntimeException);
     884                 :            :     void SAL_CALL setDropDownLineCount( sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException);
     885                 :            :     void SAL_CALL makeVisible( sal_Int16 nEntry ) throw(::com::sun::star::uno::RuntimeException);
     886                 :            : 
     887                 :            :     // ::com::sun::star::awt::XItemListener
     888                 :            :     void SAL_CALL itemStateChanged( const ::com::sun::star::awt::ItemEvent& rEvent ) throw(::com::sun::star::uno::RuntimeException);
     889                 :            : 
     890                 :            :     // ::com::sun::star::awt::XLayoutConstrains
     891                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException);
     892                 :            :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException);
     893                 :            :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException);
     894                 :            : 
     895                 :            :     // ::com::sun::star::awt::XTextLayoutConstrains
     896                 :            :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException);
     897                 :            :     void SAL_CALL getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::star::uno::RuntimeException);
     898                 :            : 
     899                 :            :     // XUnoControl
     900                 :            :     sal_Bool SAL_CALL setModel(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& Model) throw ( ::com::sun::star::uno::RuntimeException );
     901                 :            : 
     902                 :            :     // XItemListListener
     903                 :            :     virtual void SAL_CALL listItemInserted( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException);
     904                 :            :     virtual void SAL_CALL listItemRemoved( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException);
     905                 :            :     virtual void SAL_CALL listItemModified( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException);
     906                 :            :     virtual void SAL_CALL allItemsRemoved( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException);
     907                 :            :     virtual void SAL_CALL itemListChanged( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException);
     908                 :            : 
     909                 :            :     // ::com::sun::star::lang::XServiceInfo
     910                 :            :     ::rtl::OUString SAL_CALL getImplementationName(  ) throw(::com::sun::star::uno::RuntimeException);
     911                 :            :     ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
     912                 :            : 
     913                 :            : protected:
     914                 :            :     void                ImplUpdateSelectedItemsProperty();
     915                 :            :     virtual void        ImplSetPeerProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any& rVal );
     916                 :            :     virtual void        updateFromModel();
     917                 :            : 
     918                 :            : private:
     919                 :            :     ActionListenerMultiplexer   maActionListeners;
     920                 :            :     ItemListenerMultiplexer     maItemListeners;
     921                 :            : };
     922                 :            : 
     923                 :            : //  ----------------------------------------------------
     924                 :            : //  class UnoControlComboBoxModel
     925                 :            : //  ----------------------------------------------------
     926         [ -  + ]:         62 : class UnoControlComboBoxModel : public UnoControlListBoxModel
     927                 :            : {
     928                 :            : protected:
     929                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
     930                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
     931                 :            : 
     932                 :            : public:
     933                 :            :                         UnoControlComboBoxModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     934                 :          4 :                         UnoControlComboBoxModel( const UnoControlComboBoxModel& rModel ) : UnoControlListBoxModel( rModel ) {;}
     935                 :            : 
     936         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlComboBoxModel( *this ); }
     937                 :            : 
     938                 :            :     // ::com::sun::star::io::XPersistObject
     939                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
     940                 :            : 
     941                 :            :     // ::com::sun::star::beans::XMultiPropertySet
     942                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     943                 :            :     // OPropertySetHelper
     944                 :            :     void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw (::com::sun::star::uno::Exception);
     945                 :            : 
     946                 :            :     // ::com::sun::star::lang::XServiceInfo
     947                 :            :     ::rtl::OUString SAL_CALL getImplementationName(  ) throw(::com::sun::star::uno::RuntimeException);
     948                 :            :     ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
     949                 :            : 
     950                 :            : };
     951                 :            : 
     952                 :            : //  ----------------------------------------------------
     953                 :            : //  class UnoComboBoxControl
     954                 :            : //  ----------------------------------------------------
     955 [ +  - ][ +  - ]:         28 : class UnoComboBoxControl :  public UnoEditControl
                 [ -  + ]
     956                 :            :                         ,   public ::com::sun::star::awt::XComboBox
     957                 :            :                         ,   public ::com::sun::star::awt::XItemListener
     958                 :            :                         ,   public ::com::sun::star::awt::XItemListListener
     959                 :            : {
     960                 :            : private:
     961                 :            :     ActionListenerMultiplexer   maActionListeners;
     962                 :            :     ItemListenerMultiplexer     maItemListeners;
     963                 :            : 
     964                 :            : public:
     965                 :            : 
     966                 :            :                         UnoComboBoxControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
     967                 :            :     ::rtl::OUString     GetComponentServiceName();
     968                 :            : 
     969                 :            :     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);
     970                 :         46 :     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException) { UnoEditControl::disposing( Source ); }
     971                 :            :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException);
     972                 :            : 
     973                 :       1232 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoEditControl::queryInterface(rType); }
     974                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
     975                 :       5786 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
     976                 :       5786 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
     977                 :            : 
     978                 :            : 
     979                 :            :     // ::com::sun::star::lang::XTypeProvider
     980                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
     981                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
     982                 :            : 
     983                 :            :     // ::com::sun::star::awt::XComboBox
     984                 :            :     void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     985                 :            :     void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     986                 :            :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     987                 :            :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException);
     988                 :            :     void SAL_CALL addItem( const ::rtl::OUString& aItem, sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException);
     989                 :            :     void SAL_CALL addItems( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aItems, sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException);
     990                 :            :     void SAL_CALL removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(::com::sun::star::uno::RuntimeException);
     991                 :            :     sal_Int16 SAL_CALL getItemCount(  ) throw(::com::sun::star::uno::RuntimeException);
     992                 :            :     ::rtl::OUString SAL_CALL getItem( sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException);
     993                 :            :     ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getItems(  ) throw(::com::sun::star::uno::RuntimeException);
     994                 :            :     sal_Int16 SAL_CALL getDropDownLineCount(  ) throw(::com::sun::star::uno::RuntimeException);
     995                 :            :     void SAL_CALL setDropDownLineCount( sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException);
     996                 :            : 
     997                 :            :     // XUnoControl
     998                 :            :     virtual sal_Bool SAL_CALL setModel(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& Model) throw ( ::com::sun::star::uno::RuntimeException );
     999                 :            : 
    1000                 :            :     // XItemListListener
    1001                 :            :     virtual void SAL_CALL listItemInserted( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException);
    1002                 :            :     virtual void SAL_CALL listItemRemoved( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException);
    1003                 :            :     virtual void SAL_CALL listItemModified( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException);
    1004                 :            :     virtual void SAL_CALL allItemsRemoved( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException);
    1005                 :            :     virtual void SAL_CALL itemListChanged( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException);
    1006                 :            : 
    1007                 :            :     // XItemListener
    1008                 :            :     virtual void SAL_CALL itemStateChanged( const ::com::sun::star::awt::ItemEvent& rEvent ) throw (::com::sun::star::uno::RuntimeException);
    1009                 :            : 
    1010                 :            :     // ::com::sun::star::lang::XServiceInfo
    1011                 :            :     ::rtl::OUString SAL_CALL getImplementationName(  ) throw(::com::sun::star::uno::RuntimeException);
    1012                 :            :     ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
    1013                 :            : protected:
    1014                 :            :     virtual void        ImplSetPeerProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any& rVal );
    1015                 :            :     virtual void        updateFromModel();
    1016                 :            :     ActionListenerMultiplexer&  getActionListeners();
    1017                 :            :     ItemListenerMultiplexer&    getItemListeners();
    1018                 :            : 
    1019                 :            : };
    1020                 :            : 
    1021                 :            : //  ----------------------------------------------------
    1022                 :            : //  class UnoSpinFieldControl
    1023                 :            : //  ----------------------------------------------------
    1024 [ +  - ][ -  + ]:         72 : class UnoSpinFieldControl : public UnoEditControl,
    1025                 :            :                             public ::com::sun::star::awt::XSpinField
    1026                 :            : {
    1027                 :            : private:
    1028                 :            :     SpinListenerMultiplexer     maSpinListeners;
    1029                 :            :     sal_Bool                        mbRepeat;
    1030                 :            : 
    1031                 :            : public:
    1032                 :            :                                 UnoSpinFieldControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1033                 :            : 
    1034                 :       6118 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoEditControl::queryInterface(rType); }
    1035                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
    1036                 :        640 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
    1037                 :        640 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
    1038                 :            : 
    1039                 :            :     // ::com::sun::star::lang::XTypeProvider
    1040                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
    1041                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
    1042                 :            : 
    1043                 :            :     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);
    1044                 :            : 
    1045                 :            :     // ::com::sun::star::awt::XSpinField
    1046                 :            :     void SAL_CALL addSpinListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XSpinListener >& l ) throw(::com::sun::star::uno::RuntimeException);
    1047                 :            :     void SAL_CALL removeSpinListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XSpinListener >& l ) throw(::com::sun::star::uno::RuntimeException);
    1048                 :            :     void SAL_CALL up() throw(::com::sun::star::uno::RuntimeException);
    1049                 :            :     void SAL_CALL down() throw(::com::sun::star::uno::RuntimeException);
    1050                 :            :     void SAL_CALL first() throw(::com::sun::star::uno::RuntimeException);
    1051                 :            :     void SAL_CALL last() throw(::com::sun::star::uno::RuntimeException);
    1052                 :            :     void SAL_CALL enableRepeat( sal_Bool bRepeat ) throw(::com::sun::star::uno::RuntimeException);
    1053                 :            : 
    1054                 :            : 
    1055                 :            :     // ::com::sun::star::lang::XServiceInfo
    1056                 :            :     // No service info, only base class for other fields.
    1057                 :            : };
    1058                 :            : 
    1059                 :            : 
    1060                 :            : //  ----------------------------------------------------
    1061                 :            : //  class UnoControlDateFieldModel
    1062                 :            : //  ----------------------------------------------------
    1063         [ -  + ]:         82 : class UnoControlDateFieldModel : public UnoControlModel
    1064                 :            : {
    1065                 :            : protected:
    1066                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
    1067                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
    1068                 :            : 
    1069                 :            : public:
    1070                 :            :                 UnoControlDateFieldModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1071                 :          6 :                 UnoControlDateFieldModel( const UnoControlDateFieldModel& rModel ) : UnoControlModel( rModel ) {;}
    1072                 :            : 
    1073         [ +  - ]:          6 :     UnoControlModel*    Clone() const { return new UnoControlDateFieldModel( *this ); }
    1074                 :            : 
    1075                 :            :     // ::com::sun::star::io::XPersistObject
    1076                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
    1077                 :            : 
    1078                 :            :     // ::com::sun::star::beans::XMultiPropertySet
    1079                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
    1080                 :            : 
    1081                 :            :     // ::com::sun::star::lang::XServiceInfo
    1082 [ +  - ][ +  - ]:         28 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlDateFieldModel, UnoControlModel, szServiceName2_UnoControlDateFieldModel )
    1083                 :            : 
    1084                 :            : };
    1085                 :            : 
    1086                 :            : //  ----------------------------------------------------
    1087                 :            : //  class UnoDateFieldControl
    1088                 :            : //  ----------------------------------------------------
    1089         [ -  + ]:         28 : class UnoDateFieldControl : public UnoSpinFieldControl,
    1090                 :            :                             public ::com::sun::star::awt::XDateField
    1091                 :            : {
    1092                 :            : private:
    1093                 :            :     sal_Int32       mnFirst;
    1094                 :            :     sal_Int32       mnLast;
    1095                 :            :     sal_Bool        mbLongFormat;
    1096                 :            : public:
    1097                 :            :                             UnoDateFieldControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1098                 :            :     ::rtl::OUString         GetComponentServiceName();
    1099                 :            : 
    1100                 :       1242 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoSpinFieldControl::queryInterface(rType); }
    1101                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
    1102                 :       5532 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
    1103                 :       5532 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
    1104                 :            : 
    1105                 :            :     // ::com::sun::star::lang::XTypeProvider
    1106                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
    1107                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
    1108                 :            : 
    1109                 :            :     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);
    1110                 :            : 
    1111                 :            :     // ::com::sun::star::awt::XTextListener
    1112                 :            :     void SAL_CALL textChanged( const ::com::sun::star::awt::TextEvent& rEvent ) throw(::com::sun::star::uno::RuntimeException);
    1113                 :            : 
    1114                 :            :     //XDateField
    1115                 :            :     void SAL_CALL setDate( sal_Int32 Date ) throw(::com::sun::star::uno::RuntimeException);
    1116                 :            :     sal_Int32 SAL_CALL getDate(  ) throw(::com::sun::star::uno::RuntimeException);
    1117                 :            :     void SAL_CALL setMin( sal_Int32 Date ) throw(::com::sun::star::uno::RuntimeException);
    1118                 :            :     sal_Int32 SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException);
    1119                 :            :     void SAL_CALL setMax( sal_Int32 Date ) throw(::com::sun::star::uno::RuntimeException);
    1120                 :            :     sal_Int32 SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException);
    1121                 :            :     void SAL_CALL setFirst( sal_Int32 Date ) throw(::com::sun::star::uno::RuntimeException);
    1122                 :            :     sal_Int32 SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException);
    1123                 :            :     void SAL_CALL setLast( sal_Int32 Date ) throw(::com::sun::star::uno::RuntimeException);
    1124                 :            :     sal_Int32 SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException);
    1125                 :            :     void SAL_CALL setLongFormat( sal_Bool bLong ) throw(::com::sun::star::uno::RuntimeException);
    1126                 :            :     sal_Bool SAL_CALL isLongFormat(  ) throw(::com::sun::star::uno::RuntimeException);
    1127                 :            :     void SAL_CALL setEmpty(  ) throw(::com::sun::star::uno::RuntimeException);
    1128                 :            :     sal_Bool SAL_CALL isEmpty(  ) throw(::com::sun::star::uno::RuntimeException);
    1129                 :            :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException);
    1130                 :            :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException);
    1131                 :            : 
    1132                 :            :     // ::com::sun::star::lang::XServiceInfo
    1133 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoDateFieldControl, UnoSpinFieldControl, szServiceName2_UnoControlDateField )
    1134                 :            : };
    1135                 :            : 
    1136                 :            : //  ----------------------------------------------------
    1137                 :            : //  class UnoControlTimeFieldModel
    1138                 :            : //  ----------------------------------------------------
    1139         [ -  + ]:         62 : class UnoControlTimeFieldModel : public UnoControlModel
    1140                 :            : {
    1141                 :            : protected:
    1142                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
    1143                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
    1144                 :            : 
    1145                 :            : public:
    1146                 :            :                         UnoControlTimeFieldModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1147                 :          4 :                         UnoControlTimeFieldModel( const UnoControlTimeFieldModel& rModel ) : UnoControlModel( rModel ) {;}
    1148                 :            : 
    1149         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlTimeFieldModel( *this ); }
    1150                 :            : 
    1151                 :            :     // ::com::sun::star::io::XPersistObject
    1152                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
    1153                 :            : 
    1154                 :            :     // ::com::sun::star::beans::XMultiPropertySet
    1155                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
    1156                 :            : 
    1157                 :            :     // ::com::sun::star::lang::XServiceInfo
    1158 [ +  - ][ +  - ]:         30 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlTimeFieldModel, UnoControlModel, szServiceName2_UnoControlTimeFieldModel )
    1159                 :            : 
    1160                 :            : };
    1161                 :            : 
    1162                 :            : //  ----------------------------------------------------
    1163                 :            : //  class UnoTimeFieldControl
    1164                 :            : //  ----------------------------------------------------
    1165         [ -  + ]:         28 : class UnoTimeFieldControl : public UnoSpinFieldControl,
    1166                 :            :                             public ::com::sun::star::awt::XTimeField
    1167                 :            : {
    1168                 :            : private:
    1169                 :            :     sal_Int32       mnFirst;
    1170                 :            :     sal_Int32       mnLast;
    1171                 :            : 
    1172                 :            : public:
    1173                 :            :                         UnoTimeFieldControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1174                 :            :     ::rtl::OUString     GetComponentServiceName();
    1175                 :            : 
    1176                 :       1073 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoSpinFieldControl::queryInterface(rType); }
    1177                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
    1178                 :       5235 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
    1179                 :       5235 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
    1180                 :            : 
    1181                 :            :     // ::com::sun::star::lang::XTypeProvider
    1182                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
    1183                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
    1184                 :            : 
    1185                 :            :     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);
    1186                 :            : 
    1187                 :            :     // ::com::sun::star::awt::XTextListener
    1188                 :            :     void SAL_CALL textChanged( const ::com::sun::star::awt::TextEvent& rEvent ) throw(::com::sun::star::uno::RuntimeException);
    1189                 :            : 
    1190                 :            :     //XTimeField
    1191                 :            :     void SAL_CALL setTime( sal_Int32 Time ) throw(::com::sun::star::uno::RuntimeException);
    1192                 :            :     sal_Int32 SAL_CALL getTime(  ) throw(::com::sun::star::uno::RuntimeException);
    1193                 :            :     void SAL_CALL setMin( sal_Int32 Time ) throw(::com::sun::star::uno::RuntimeException);
    1194                 :            :     sal_Int32 SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException);
    1195                 :            :     void SAL_CALL setMax( sal_Int32 Time ) throw(::com::sun::star::uno::RuntimeException);
    1196                 :            :     sal_Int32 SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException);
    1197                 :            :     void SAL_CALL setFirst( sal_Int32 Time ) throw(::com::sun::star::uno::RuntimeException);
    1198                 :            :     sal_Int32 SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException);
    1199                 :            :     void SAL_CALL setLast( sal_Int32 Time ) throw(::com::sun::star::uno::RuntimeException);
    1200                 :            :     sal_Int32 SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException);
    1201                 :            :     void SAL_CALL setEmpty(  ) throw(::com::sun::star::uno::RuntimeException);
    1202                 :            :     sal_Bool SAL_CALL isEmpty(  ) throw(::com::sun::star::uno::RuntimeException);
    1203                 :            :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException);
    1204                 :            :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException);
    1205                 :            : 
    1206                 :            :     // ::com::sun::star::lang::XServiceInfo
    1207 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoTimeFieldControl, UnoSpinFieldControl, szServiceName2_UnoControlTimeField )
    1208                 :            : 
    1209                 :            : };
    1210                 :            : 
    1211                 :            : //  ----------------------------------------------------
    1212                 :            : //  class UnoControlNumericFieldModel
    1213                 :            : //  ----------------------------------------------------
    1214         [ -  + ]:         62 : class UnoControlNumericFieldModel : public UnoControlModel
    1215                 :            : {
    1216                 :            : protected:
    1217                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
    1218                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
    1219                 :            : 
    1220                 :            : public:
    1221                 :            :                 UnoControlNumericFieldModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1222                 :          4 :                 UnoControlNumericFieldModel( const UnoControlNumericFieldModel& rModel ) : UnoControlModel( rModel ) {;}
    1223                 :            : 
    1224         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlNumericFieldModel( *this ); }
    1225                 :            : 
    1226                 :            :     // ::com::sun::star::io::XPersistObject
    1227                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
    1228                 :            : 
    1229                 :            :     // ::com::sun::star::beans::XMultiPropertySet
    1230                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
    1231                 :            : 
    1232                 :            :     // ::com::sun::star::lang::XServiceInfo
    1233 [ +  - ][ +  - ]:         30 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlNumericFieldModel, UnoControlModel, szServiceName2_UnoControlNumericFieldModel )
    1234                 :            : 
    1235                 :            : };
    1236                 :            : 
    1237                 :            : //  ----------------------------------------------------
    1238                 :            : //  class UnoNumericFieldControl
    1239                 :            : //  ----------------------------------------------------
    1240         [ -  + ]:         28 : class UnoNumericFieldControl :  public UnoSpinFieldControl,
    1241                 :            :                                 public ::com::sun::star::awt::XNumericField
    1242                 :            : {
    1243                 :            : private:
    1244                 :            :     double mnFirst;
    1245                 :            :     double mnLast;
    1246                 :            : 
    1247                 :            : public:
    1248                 :            :                         UnoNumericFieldControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1249                 :            :     ::rtl::OUString     GetComponentServiceName();
    1250                 :            : 
    1251                 :       1267 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoSpinFieldControl::queryInterface(rType); }
    1252                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
    1253                 :       6295 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
    1254                 :       6295 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
    1255                 :            : 
    1256                 :            :     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);
    1257                 :            : 
    1258                 :            :     // ::com::sun::star::lang::XTypeProvider
    1259                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
    1260                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
    1261                 :            : 
    1262                 :            :     // ::com::sun::star::awt::XTextListener
    1263                 :            :     void SAL_CALL textChanged( const ::com::sun::star::awt::TextEvent& rEvent ) throw(::com::sun::star::uno::RuntimeException);
    1264                 :            : 
    1265                 :            :     // ::com::sun::star::awt::XNumericField
    1266                 :            :     void SAL_CALL setValue( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1267                 :            :     double SAL_CALL getValue(  ) throw(::com::sun::star::uno::RuntimeException);
    1268                 :            :     void SAL_CALL setMin( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1269                 :            :     double SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException);
    1270                 :            :     void SAL_CALL setMax( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1271                 :            :     double SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException);
    1272                 :            :     void SAL_CALL setFirst( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1273                 :            :     double SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException);
    1274                 :            :     void SAL_CALL setLast( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1275                 :            :     double SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException);
    1276                 :            :     void SAL_CALL setSpinSize( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1277                 :            :     double SAL_CALL getSpinSize(  ) throw(::com::sun::star::uno::RuntimeException);
    1278                 :            :     void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException);
    1279                 :            :     sal_Int16 SAL_CALL getDecimalDigits(  ) throw(::com::sun::star::uno::RuntimeException);
    1280                 :            :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException);
    1281                 :            :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException);
    1282                 :            : 
    1283                 :            :     // ::com::sun::star::lang::XServiceInfo
    1284 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoNumericFieldControl, UnoSpinFieldControl, szServiceName2_UnoControlNumericField )
    1285                 :            : 
    1286                 :            : };
    1287                 :            : 
    1288                 :            : //  ----------------------------------------------------
    1289                 :            : //  class UnoControlCurrencyFieldModel
    1290                 :            : //  ----------------------------------------------------
    1291         [ -  + ]:         58 : class UnoControlCurrencyFieldModel : public UnoControlModel
    1292                 :            : {
    1293                 :            : protected:
    1294                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
    1295                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
    1296                 :            : 
    1297                 :            : public:
    1298                 :            :                         UnoControlCurrencyFieldModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1299                 :          4 :                         UnoControlCurrencyFieldModel( const UnoControlCurrencyFieldModel& rModel ) : UnoControlModel( rModel ) {;}
    1300                 :            : 
    1301         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlCurrencyFieldModel( *this ); }
    1302                 :            : 
    1303                 :            :     // ::com::sun::star::io::XPersistObject
    1304                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
    1305                 :            : 
    1306                 :            :     // ::com::sun::star::beans::XMultiPropertySet
    1307                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
    1308                 :            : 
    1309                 :            :     // ::com::sun::star::lang::XServiceInfo
    1310 [ +  - ][ +  - ]:         28 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlCurrencyFieldModel, UnoControlModel, szServiceName2_UnoControlCurrencyFieldModel )
    1311                 :            : 
    1312                 :            : };
    1313                 :            : 
    1314                 :            : //  ----------------------------------------------------
    1315                 :            : //  class UnoCurrencyFieldControl
    1316                 :            : //  ----------------------------------------------------
    1317         [ -  + ]:         28 : class UnoCurrencyFieldControl : public UnoSpinFieldControl,
    1318                 :            :                                 public ::com::sun::star::awt::XCurrencyField
    1319                 :            : {
    1320                 :            : private:
    1321                 :            :     double mnFirst;
    1322                 :            :     double mnLast;
    1323                 :            : 
    1324                 :            : public:
    1325                 :            :                         UnoCurrencyFieldControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1326                 :            :     ::rtl::OUString     GetComponentServiceName();
    1327                 :            : 
    1328                 :       1358 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoSpinFieldControl::queryInterface(rType); }
    1329                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
    1330                 :       5823 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
    1331                 :       5823 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
    1332                 :            : 
    1333                 :            :     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);
    1334                 :            : 
    1335                 :            :     // ::com::sun::star::lang::XTypeProvider
    1336                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
    1337                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
    1338                 :            : 
    1339                 :            :     // ::com::sun::star::awt::XTextListener
    1340                 :            :     void SAL_CALL textChanged( const ::com::sun::star::awt::TextEvent& rEvent ) throw(::com::sun::star::uno::RuntimeException);
    1341                 :            : 
    1342                 :            :     // ::com::sun::star::awt::XCurrencyField
    1343                 :            :     void SAL_CALL setValue( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1344                 :            :     double SAL_CALL getValue(  ) throw(::com::sun::star::uno::RuntimeException);
    1345                 :            :     void SAL_CALL setMin( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1346                 :            :     double SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException);
    1347                 :            :     void SAL_CALL setMax( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1348                 :            :     double SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException);
    1349                 :            :     void SAL_CALL setFirst( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1350                 :            :     double SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException);
    1351                 :            :     void SAL_CALL setLast( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1352                 :            :     double SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException);
    1353                 :            :     void SAL_CALL setSpinSize( double Value ) throw(::com::sun::star::uno::RuntimeException);
    1354                 :            :     double SAL_CALL getSpinSize(  ) throw(::com::sun::star::uno::RuntimeException);
    1355                 :            :     void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException);
    1356                 :            :     sal_Int16 SAL_CALL getDecimalDigits(  ) throw(::com::sun::star::uno::RuntimeException);
    1357                 :            :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException);
    1358                 :            :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException);
    1359                 :            : 
    1360                 :            :     // ::com::sun::star::lang::XServiceInfo
    1361 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoCurrencyFieldControl, UnoSpinFieldControl, szServiceName2_UnoControlCurrencyField )
    1362                 :            : };
    1363                 :            : 
    1364                 :            : //  ----------------------------------------------------
    1365                 :            : //  class UnoControlPatternFieldModel
    1366                 :            : //  ----------------------------------------------------
    1367         [ -  + ]:         20 : class UnoControlPatternFieldModel : public UnoControlModel
    1368                 :            : {
    1369                 :            : protected:
    1370                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
    1371                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
    1372                 :            : 
    1373                 :            : public:
    1374                 :            :                         UnoControlPatternFieldModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1375                 :          4 :                         UnoControlPatternFieldModel( const UnoControlPatternFieldModel& rModel ) : UnoControlModel( rModel ) {;}
    1376                 :            : 
    1377         [ +  - ]:          4 :     UnoControlModel*    Clone() const { return new UnoControlPatternFieldModel( *this ); }
    1378                 :            : 
    1379                 :            :     // ::com::sun::star::io::XPersistObject
    1380                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
    1381                 :            : 
    1382                 :            :     // ::com::sun::star::beans::XMultiPropertySet
    1383                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
    1384                 :            : 
    1385                 :            :     // ::com::sun::star::lang::XServiceInfo
    1386 [ +  - ][ +  - ]:         30 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlPatternFieldModel, UnoControlModel, szServiceName2_UnoControlPatternFieldModel )
    1387                 :            : 
    1388                 :            : };
    1389                 :            : 
    1390                 :            : //  ----------------------------------------------------
    1391                 :            : //  class UnoPatternFieldControl
    1392                 :            : //  ----------------------------------------------------
    1393         [ -  + ]:         28 : class UnoPatternFieldControl :  public UnoSpinFieldControl,
    1394                 :            :                                 public ::com::sun::star::awt::XPatternField
    1395                 :            : {
    1396                 :            : protected:
    1397                 :            :     void            ImplSetPeerProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any& rVal );
    1398                 :            : 
    1399                 :            : public:
    1400                 :            :                         UnoPatternFieldControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1401                 :            :     ::rtl::OUString     GetComponentServiceName();
    1402                 :            : 
    1403                 :       1068 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoSpinFieldControl::queryInterface(rType); }
    1404                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
    1405                 :       5009 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
    1406                 :       5009 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
    1407                 :            : 
    1408                 :            :     // ::com::sun::star::lang::XTypeProvider
    1409                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
    1410                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
    1411                 :            : 
    1412                 :            :     // ::com::sun::star::awt::XPatternField
    1413                 :            :     void SAL_CALL setMasks( const ::rtl::OUString& EditMask, const ::rtl::OUString& LiteralMask ) throw(::com::sun::star::uno::RuntimeException);
    1414                 :            :     void SAL_CALL getMasks( ::rtl::OUString& EditMask, ::rtl::OUString& LiteralMask ) throw(::com::sun::star::uno::RuntimeException);
    1415                 :            :     void SAL_CALL setString( const ::rtl::OUString& Str ) throw(::com::sun::star::uno::RuntimeException);
    1416                 :            :     ::rtl::OUString SAL_CALL getString(  ) throw(::com::sun::star::uno::RuntimeException);
    1417                 :            :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException);
    1418                 :            :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException);
    1419                 :            : 
    1420                 :            :     // ::com::sun::star::lang::XServiceInfo
    1421 [ #  # ][ #  # ]:          2 :     DECLIMPL_SERVICEINFO_DERIVED( UnoPatternFieldControl, UnoSpinFieldControl, szServiceName2_UnoControlPatternField )
    1422                 :            : 
    1423                 :            : };
    1424                 :            : 
    1425                 :            : //  ----------------------------------------------------
    1426                 :            : //  class UnoControlProgressBarModel
    1427                 :            : //  ----------------------------------------------------
    1428         [ -  + ]:         20 : class UnoControlProgressBarModel :  public UnoControlModel
    1429                 :            : {
    1430                 :            : protected:
    1431                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
    1432                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
    1433                 :            : 
    1434                 :            : public:
    1435                 :            :                         UnoControlProgressBarModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1436                 :          2 :                         UnoControlProgressBarModel( const UnoControlProgressBarModel& rModel ) : UnoControlModel( rModel ) {;}
    1437                 :            : 
    1438         [ +  - ]:          2 :     UnoControlModel*    Clone() const { return new UnoControlProgressBarModel( *this ); }
    1439                 :            : 
    1440                 :            :     // ::com::sun::star::beans::XMultiPropertySet
    1441                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
    1442                 :            : 
    1443                 :            :     // ::com::sun::star::io::XPersistObject
    1444                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
    1445                 :            : 
    1446                 :            :     // XServiceInfo
    1447 [ +  - ][ +  - ]:          8 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlProgressBarModel, UnoControlModel, szServiceName2_UnoControlProgressBarModel )
    1448                 :            : };
    1449                 :            : 
    1450                 :            : //  ----------------------------------------------------
    1451                 :            : //  class UnoProgressBarControl
    1452                 :            : //  ----------------------------------------------------
    1453         [ #  # ]:          0 : class UnoProgressBarControl :   public UnoControlBase,
    1454                 :            :                                 public ::com::sun::star::awt::XProgressBar
    1455                 :            : {
    1456                 :            : public:
    1457                 :            :                                 UnoProgressBarControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1458                 :            :     ::rtl::OUString             GetComponentServiceName();
    1459                 :            : 
    1460                 :          0 :     ::com::sun::star::uno::Any  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoControlBase::queryInterface(rType); }
    1461                 :            :     ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
    1462                 :          0 :     void                        SAL_CALL acquire() throw()  { OWeakAggObject::acquire(); }
    1463                 :          0 :     void                        SAL_CALL release() throw()  { OWeakAggObject::release(); }
    1464                 :            : 
    1465                 :            :     // ::com::sun::star::lang::XTypeProvider
    1466                 :            :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
    1467                 :            :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
    1468                 :            : 
    1469                 :            :     // ::com::sun::star::awt::XProgressBar
    1470                 :            :     void SAL_CALL setForegroundColor( sal_Int32 nColor ) throw(::com::sun::star::uno::RuntimeException);
    1471                 :            :     void SAL_CALL setBackgroundColor( sal_Int32 nColor ) throw(::com::sun::star::uno::RuntimeException);
    1472                 :            :     void SAL_CALL setValue( sal_Int32 nValue ) throw(::com::sun::star::uno::RuntimeException);
    1473                 :            :     void SAL_CALL setRange( sal_Int32 nMin, sal_Int32 nMax ) throw(::com::sun::star::uno::RuntimeException );
    1474                 :            :     sal_Int32 SAL_CALL getValue() throw(::com::sun::star::uno::RuntimeException);
    1475                 :            : 
    1476                 :            :     // ::com::sun::star::lang::XServiceInfo
    1477 [ #  # ][ #  # ]:          0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoProgressBarControl, UnoControlBase, szServiceName2_UnoControlProgressBar )
    1478                 :            : };
    1479                 :            : 
    1480                 :            : 
    1481                 :            : //  ----------------------------------------------------
    1482                 :            : //  class UnoControlFixedLineModel
    1483                 :            : //  ----------------------------------------------------
    1484         [ -  + ]:         20 : class UnoControlFixedLineModel : public UnoControlModel
    1485                 :            : {
    1486                 :            : protected:
    1487                 :            :     ::com::sun::star::uno::Any      ImplGetDefaultValue( sal_uInt16 nPropId ) const;
    1488                 :            :     ::cppu::IPropertyArrayHelper&   SAL_CALL getInfoHelper();
    1489                 :            : 
    1490                 :            : public:
    1491                 :            :                         UnoControlFixedLineModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1492                 :          2 :                         UnoControlFixedLineModel( const UnoControlFixedLineModel& rModel ) : UnoControlModel( rModel ) {;}
    1493                 :            : 
    1494         [ +  - ]:          2 :     UnoControlModel*    Clone() const { return new UnoControlFixedLineModel( *this ); }
    1495                 :            : 
    1496                 :            :     // ::com::sun::star::beans::XMultiPropertySet
    1497                 :            :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
    1498                 :            : 
    1499                 :            :     // ::com::sun::star::io::XPersistObject
    1500                 :            :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
    1501                 :            : 
    1502                 :            :     // ::com::sun::star::lang::XServiceInfo
    1503 [ +  - ][ +  - ]:         14 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlFixedLineModel, UnoControlModel, szServiceName2_UnoControlFixedLineModel )
    1504                 :            : 
    1505                 :            : };
    1506                 :            : 
    1507                 :            : //  ----------------------------------------------------
    1508                 :            : //  class UnoFixedLineControl
    1509                 :            : //  ----------------------------------------------------
    1510         [ #  # ]:          0 : class UnoFixedLineControl : public UnoControlBase
    1511                 :            : {
    1512                 :            : public:
    1513                 :            :                         UnoFixedLineControl( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
    1514                 :            :     ::rtl::OUString     GetComponentServiceName();
    1515                 :            : 
    1516                 :            :     sal_Bool SAL_CALL isTransparent(  ) throw(::com::sun::star::uno::RuntimeException);
    1517                 :            : 
    1518                 :            :     // ::com::sun::star::lang::XServiceInfo
    1519 [ #  # ][ #  # ]:          0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoFixedLineControl, UnoControlBase, szServiceName2_UnoControlFixedLine )
    1520                 :            : 
    1521                 :            : };
    1522                 :            : 
    1523                 :            : 
    1524                 :            : 
    1525                 :            : #endif // _TOOLKIT_HELPER_UNOCONTROLS_HXX_
    1526                 :            : 
    1527                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10