LCOV - code coverage report
Current view: top level - include/toolkit/awt - vclxwindows.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 33 71 46.5 %
Date: 2014-11-03 Functions: 39 79 49.4 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #ifndef INCLUDED_TOOLKIT_AWT_VCLXWINDOWS_HXX
      21             : #define INCLUDED_TOOLKIT_AWT_VCLXWINDOWS_HXX
      22             : 
      23             : #include <toolkit/dllapi.h>
      24             : 
      25             : #include <com/sun/star/beans/PropertyValues.hpp>
      26             : #include <com/sun/star/beans/XPropertySet.hpp>
      27             : #include <com/sun/star/beans/PropertyValue.hpp>
      28             : #include <com/sun/star/beans/PropertyState.hpp>
      29             : #include <com/sun/star/beans/XPropertySetInfo.hpp>
      30             : #include <com/sun/star/beans/XMultiPropertySet.hpp>
      31             : #include <com/sun/star/beans/XFastPropertySet.hpp>
      32             : #include <com/sun/star/beans/XVetoableChangeListener.hpp>
      33             : #include <com/sun/star/beans/XPropertyState.hpp>
      34             : #include <com/sun/star/beans/PropertyAttribute.hpp>
      35             : #include <com/sun/star/beans/XPropertiesChangeListener.hpp>
      36             : #include <com/sun/star/beans/XPropertyChangeListener.hpp>
      37             : #include <com/sun/star/beans/XPropertyAccess.hpp>
      38             : #include <com/sun/star/beans/XPropertyContainer.hpp>
      39             : #include <com/sun/star/beans/PropertyStateChangeEvent.hpp>
      40             : #include <com/sun/star/beans/PropertyChangeEvent.hpp>
      41             : #include <com/sun/star/awt/XFileDialog.hpp>
      42             : #include <com/sun/star/awt/XTextComponent.hpp>
      43             : #include <com/sun/star/awt/XListBox.hpp>
      44             : #include <com/sun/star/awt/XProgressMonitor.hpp>
      45             : #include <com/sun/star/awt/TextAlign.hpp>
      46             : #include <com/sun/star/awt/XScrollBar.hpp>
      47             : #include <com/sun/star/awt/XVclContainerPeer.hpp>
      48             : #include <com/sun/star/awt/XTabControllerModel.hpp>
      49             : #include <com/sun/star/awt/XMessageBox.hpp>
      50             : #include <com/sun/star/awt/XTextEditField.hpp>
      51             : #include <com/sun/star/awt/Style.hpp>
      52             : #include <com/sun/star/awt/XTimeField.hpp>
      53             : #include <com/sun/star/awt/XVclWindowPeer.hpp>
      54             : #include <com/sun/star/awt/XControlModel.hpp>
      55             : #include <com/sun/star/awt/XSpinField.hpp>
      56             : #include <com/sun/star/awt/XUnoControlContainer.hpp>
      57             : #include <com/sun/star/awt/XTextLayoutConstrains.hpp>
      58             : #include <com/sun/star/awt/XNumericField.hpp>
      59             : #include <com/sun/star/awt/XMetricField.hpp>
      60             : #include <com/sun/star/awt/XButton.hpp>
      61             : #include <com/sun/star/awt/XToggleButton.hpp>
      62             : #include <com/sun/star/awt/XPointer.hpp>
      63             : #include <com/sun/star/awt/XTextArea.hpp>
      64             : #include <com/sun/star/awt/XImageButton.hpp>
      65             : #include <com/sun/star/awt/XFixedHyperlink.hpp>
      66             : #include <com/sun/star/awt/XFixedText.hpp>
      67             : #include <com/sun/star/awt/XControlContainer.hpp>
      68             : #include <com/sun/star/awt/XDialog2.hpp>
      69             : #include <com/sun/star/awt/XRadioButton.hpp>
      70             : #include <com/sun/star/awt/XCurrencyField.hpp>
      71             : #include <com/sun/star/awt/XPatternField.hpp>
      72             : #include <com/sun/star/awt/XDateField.hpp>
      73             : #include <com/sun/star/awt/XComboBox.hpp>
      74             : #include <com/sun/star/awt/XCheckBox.hpp>
      75             : #include <com/sun/star/awt/XItemListListener.hpp>
      76             : #include <com/sun/star/awt/XImageConsumer.hpp>
      77             : #include <com/sun/star/awt/XSimpleTabController.hpp>
      78             : #include <com/sun/star/util/Time.hpp>
      79             : #include <com/sun/star/util/Date.hpp>
      80             : #include <cppuhelper/weak.hxx>
      81             : #include <cppuhelper/implbase3.hxx>
      82             : #include <cppuhelper/implbase2.hxx>
      83             : 
      84             : #include <toolkit/awt/vclxwindow.hxx>
      85             : #include <toolkit/awt/vclxtopwindow.hxx>
      86             : #include <cppuhelper/implbase1.hxx>
      87             : 
      88             : #include <vcl/pointr.hxx>
      89             : #include <vcl/image.hxx>
      90             : #include <vcl/tabctrl.hxx>
      91             : 
      92             : class Button;
      93             : class CheckBox;
      94             : class RadioButton;
      95             : class ListBox;
      96             : class ScrollBar;
      97             : class Edit;
      98             : class Menu;
      99             : class ComboBox;
     100             : class FormatterBase;
     101             : class SpinField;
     102             : class ToolBox;
     103             : class VclSimpleEvent;
     104             : class VclMenuEvent;
     105             : 
     106             : 
     107             : //  class VCLXGraphicControl
     108             : //    deriving from VCLXWindow, drawing the graphic which exists as "Graphic" at the model
     109             : 
     110             : 
     111             : 
     112         474 : class TOOLKIT_DLLPUBLIC VCLXGraphicControl : public VCLXWindow
     113             : {
     114             : private:
     115             :     /// the image we currently display
     116             :     Image                       maImage;
     117             : 
     118             : protected:
     119         268 :     const Image&    GetImage() const { return maImage; }
     120             : 
     121             : protected:
     122             :     // ::com::sun::star::awt::XWindow
     123             :     void SAL_CALL setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     124             : 
     125             :     // ::com::sun::star::awt::VclWindowPeer
     126             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     127             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     128             : 
     129             : protected:
     130             :     /** forward our bitmap to our window
     131             :         @precond
     132             :             our mutex is locked
     133             :         @precond
     134             :             GetWindow is not <NULL/>
     135             :         @see GetBitmap
     136             :     */
     137             :     virtual void    ImplSetNewImage();
     138             : 
     139             : public:
     140             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     141           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     142             : 
     143             : };
     144             : 
     145             : 
     146             : //  class VCLXButton
     147             : 
     148             : typedef ::cppu::ImplInheritanceHelper2  <   VCLXGraphicControl
     149             :                                         ,   ::com::sun::star::awt::XButton
     150             :                                         ,   ::com::sun::star::awt::XToggleButton
     151             :                                         >   VCLXButton_Base;
     152             : class VCLXButton :public VCLXButton_Base
     153             : {
     154             : private:
     155             :     OUString             maActionCommand;
     156             :     ActionListenerMultiplexer   maActionListeners;
     157             :     ItemListenerMultiplexer     maItemListeners;
     158             : 
     159             : protected:
     160             :     void            ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     161             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
     162             : 
     163             : public:
     164             :                     VCLXButton();
     165             :     virtual ~VCLXButton();
     166             : 
     167             :     // ::com::sun::star::lang::XComponent
     168             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     169             : 
     170             :     // ::com::sun::star::awt::XButton
     171             :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     172             :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     173             :     void SAL_CALL setLabel( const OUString& Label ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     174             :     void SAL_CALL setActionCommand( const OUString& Command ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     175             : 
     176             :     // ::com::sun::star::awt::XToggleButton
     177             :     // ::com::sun::star::awt::XItemEventBroadcaster
     178             :     void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     179             :     void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     180             : 
     181             :     // ::com::sun::star::awt::XLayoutConstrains
     182             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     183             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     184             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     185             : 
     186             :     // ::com::sun::star::awt::VclWindowPeer
     187             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     188             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     189             : 
     190             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     191           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     192             : };
     193             : 
     194             : 
     195             : //  class VCLXImageControl
     196             : 
     197             : class VCLXImageControl : public VCLXGraphicControl
     198             : {
     199             : public:
     200             :                     VCLXImageControl();
     201             :                     virtual ~VCLXImageControl();
     202             : 
     203             :     // ::com::sun::star::awt::XLayoutConstrains
     204             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     205             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     206             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     207             : 
     208             :     // ::com::sun::star::awt::VclWindowPeer
     209             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     210             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     211             : 
     212             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     213           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     214             : 
     215             : protected:
     216             :     virtual void    ImplSetNewImage() SAL_OVERRIDE;
     217             : };
     218             : 
     219             : 
     220             : //  class VCLXCheckBox
     221             : 
     222          96 : class VCLXCheckBox :    public ::com::sun::star::awt::XCheckBox,
     223             :                         public ::com::sun::star::awt::XButton,
     224             :                         public VCLXGraphicControl
     225             : {
     226             : private:
     227             :     ActionListenerMultiplexer   maActionListeners;
     228             :     OUString             maActionCommand;
     229             :     ItemListenerMultiplexer     maItemListeners;
     230             : 
     231             : protected:
     232             :     void    ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     233             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
     234             : 
     235             : public:
     236             :                     VCLXCheckBox();
     237             : 
     238             :     // ::com::sun::star::uno::XInterface
     239             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     240       14611 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     241       14611 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     242             : 
     243             :     // ::com::sun::star::lang::XTypeProvider
     244             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     245             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     246             : 
     247             : 
     248             :     // ::com::sun::star::lang::XComponent
     249             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     250             : 
     251             :     // ::com::sun::star::awt::XCheckBox
     252             :     void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     253             :     void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     254             :     sal_Int16 SAL_CALL getState(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     255             :     void SAL_CALL setState( sal_Int16 n ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     256             :     void SAL_CALL setLabel( const OUString& Label ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     257             :     void SAL_CALL enableTriState( sal_Bool b ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     258             : 
     259             :     // ::com::sun::star::awt::XButton:
     260             :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     261             :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     262             :     void SAL_CALL setActionCommand( const OUString& Command ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     263             : 
     264             :     // ::com::sun::star::awt::XLayoutConstrains
     265             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     266             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     267             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     268             : 
     269             :     // ::com::sun::star::awt::VclWindowPeer
     270             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     271             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     272             : 
     273             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     274           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     275             : };
     276             : 
     277             : 
     278             : //  class VCLXRadioButton
     279             : 
     280         132 : class VCLXRadioButton : public ::com::sun::star::awt::XRadioButton,
     281             :                         public ::com::sun::star::awt::XButton,
     282             :                         public VCLXGraphicControl
     283             : {
     284             : private:
     285             :     ItemListenerMultiplexer     maItemListeners;
     286             :     ActionListenerMultiplexer   maActionListeners;
     287             :     OUString             maActionCommand;
     288             : 
     289             : protected:
     290             :     void            ImplClickedOrToggled( bool bToggled );
     291             :     void            ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     292             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
     293             : 
     294             : public:
     295             :                     VCLXRadioButton();
     296             : 
     297             :     // ::com::sun::star::uno::XInterface
     298             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     299       16484 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     300       16484 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     301             : 
     302             :     // ::com::sun::star::lang::XTypeProvider
     303             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     304             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     305             : 
     306             :     // ::com::sun::star::lang::XComponent
     307             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     308             : 
     309             :     // ::com::sun::star::awt::XRadioButton
     310             :     void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     311             :     void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     312             :     sal_Bool SAL_CALL getState(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     313             :     void SAL_CALL setState( sal_Bool b ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     314             :     void SAL_CALL setLabel( const OUString& Label ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     315             : 
     316             :     // ::com::sun::star::awt::XButton:
     317             :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     318             :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     319             :     void SAL_CALL setActionCommand( const OUString& Command ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     320             : 
     321             :     // ::com::sun::star::awt::XLayoutConstrains
     322             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     323             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     324             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     325             : 
     326             :     // ::com::sun::star::awt::VclWindowPeer
     327             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     328             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     329             : 
     330             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     331           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     332             : 
     333             : };
     334             : 
     335             : 
     336             : //  class VCLXMessageBox
     337             : 
     338             : class VCLXMessageBox :  public ::com::sun::star::awt::XMessageBox,
     339             :                         public VCLXTopWindow
     340             : {
     341             : public:
     342             :                         VCLXMessageBox();
     343             :                         virtual ~VCLXMessageBox();
     344             : 
     345             :     // ::com::sun::star::uno::XInterface
     346             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     347           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     348           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     349             : 
     350             :     // ::com::sun::star::lang::XTypeProvider
     351             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     352             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     353             : 
     354             : 
     355             :     // ::com::sun::star::awt::XMessageBox
     356             :     void SAL_CALL setCaptionText( const OUString& aText ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     357             :     OUString SAL_CALL getCaptionText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     358             :     void SAL_CALL setMessageText( const OUString& aText ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     359             :     OUString SAL_CALL getMessageText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     360             :     sal_Int16 SAL_CALL execute(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     361             : 
     362             :     // ::com::sun::star::awt::XLayoutConstrains
     363             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     364             : 
     365             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     366           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     367             : };
     368             : 
     369             : 
     370             : //  class VCLXFrame
     371             : 
     372             : class VCLXFrame :   public VCLXContainer
     373             : {
     374             : protected:
     375             :     void                        ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     376             : 
     377             : public:
     378             :     VCLXFrame();
     379             :     virtual ~VCLXFrame();
     380             : 
     381             :     // ::com::sun::star::uno::XInterface
     382             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     383           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     384           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     385             : 
     386             :     // ::com::sun::star::lang::XTypeProvider
     387             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     388             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     389             : 
     390             :     // ::com::sun::star::awt::XView
     391             :     void SAL_CALL draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     392             : 
     393             :     // ::com::sun::star::awt::XDevice,
     394             :     ::com::sun::star::awt::DeviceInfo SAL_CALL getInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     395             : 
     396             :     // ::com::sun::star::awt::XVclWindowPeer
     397             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     398             : 
     399             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     400           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     401             : };
     402             : 
     403             : 
     404             : 
     405             : 
     406             : //  class VCLXDialog
     407             : 
     408             : class TOOLKIT_DLLPUBLIC VCLXDialog :    public ::com::sun::star::awt::XDialog2,
     409             :                     public VCLXTopWindow
     410             : {
     411             : public:
     412             :                         VCLXDialog();
     413             :                         virtual ~VCLXDialog();
     414             : 
     415             :     // ::com::sun::star::uno::XInterface
     416             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     417        2546 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     418        2546 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     419             : 
     420             :     // ::com::sun::star::lang::XTypeProvider
     421             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     422             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     423             : 
     424             :     // ::com::sun::star::awt::XDialog2
     425             :     virtual void SAL_CALL endDialog( ::sal_Int32 Result ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     426             :     virtual void SAL_CALL setHelpId( const OUString& Id ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     427             : 
     428             :     // ::com::sun::star::awt::XDialog
     429             :     void SAL_CALL setTitle( const OUString& Title ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     430             :     OUString SAL_CALL getTitle(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     431             :     sal_Int16 SAL_CALL execute(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     432             :     void SAL_CALL endExecute(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     433             : 
     434             :     // ::com::sun::star::awt::XView
     435             :     void SAL_CALL draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     436             : 
     437             :     // ::com::sun::star::awt::XDevice,
     438             :     ::com::sun::star::awt::DeviceInfo SAL_CALL getInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     439             : 
     440             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     441           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     442             : 
     443             :     // ::com::sun::star::awt::XVclWindowPeer
     444             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     445             : 
     446             : };
     447             : 
     448             : 
     449             : //  class VCLXTabPage
     450             : 
     451             : class VCLXTabPage : public VCLXContainer
     452             : {
     453             : public:
     454             :                         VCLXTabPage();
     455             :                         virtual ~VCLXTabPage();
     456             : 
     457             :     // ::com::sun::star::uno::XInterface
     458             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     459           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     460           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     461             : 
     462             :     // ::com::sun::star::lang::XTypeProvider
     463             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     464             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     465             : 
     466             :     // ::com::sun::star::awt::XView
     467             :     void SAL_CALL draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     468             : 
     469             :     // ::com::sun::star::awt::XDevice,
     470             :     ::com::sun::star::awt::DeviceInfo SAL_CALL getInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     471             : 
     472             :     // ::com::sun::star::awt::XVclWindowPeer
     473             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     474             : 
     475             :     TabPage*  getTabPage() const throw ( ::com::sun::star::uno::RuntimeException);
     476             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     477           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     478             : };
     479             : 
     480             : class VCLXMultiPage : public ::com::sun::star::awt::XSimpleTabController, public VCLXContainer
     481             : {
     482             :     TabListenerMultiplexer maTabListeners;
     483             :     sal_Int32 mTabId;
     484             : protected:
     485             :     void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     486             : public:
     487             :     VCLXMultiPage();
     488             :     virtual ~VCLXMultiPage();
     489             : 
     490             :     // ::com::sun::star::uno::XInterface
     491             :     ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     492           0 :     void SAL_CALL acquire() throw() SAL_OVERRIDE { OWeakObject::acquire(); }
     493           0 :     void SAL_CALL release() throw() SAL_OVERRIDE { OWeakObject::release(); }
     494             : 
     495             :     // ::com::sun::star::lang::XTypeProvider
     496             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     497             :     ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     498             : 
     499             :     // ::com::sun::star::lang::XComponent
     500             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     501             : 
     502             :     // ::com::sun::star::awt::XView
     503             :     void SAL_CALL draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     504             : 
     505             :     // ::com::sun::star::awt::XDevice,
     506             :     ::com::sun::star::awt::DeviceInfo SAL_CALL getInfo() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     507             : 
     508             :     // ::com::sun::star::awt::XVclWindowPeer
     509             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     510             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     511             :     // XSimpleTabController
     512             :     virtual ::sal_Int32 SAL_CALL insertTab() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     513             :     virtual void SAL_CALL removeTab( ::sal_Int32 ID ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     514             : 
     515             :     virtual void SAL_CALL setTabProps( ::sal_Int32 ID, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& Properties ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     516             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue > SAL_CALL getTabProps( ::sal_Int32 ID ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     517             : 
     518             :     virtual void SAL_CALL activateTab( ::sal_Int32 ID ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     519             :     virtual ::sal_Int32 SAL_CALL getActiveTabID() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     520             : 
     521             :     virtual void SAL_CALL addTabListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabListener >& Listener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     522             :     virtual void SAL_CALL removeTabListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabListener >& Listener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     523             :     // C++
     524             :     TabControl*  getTabControl() const throw ( ::com::sun::star::uno::RuntimeException);
     525             :     sal_uInt16 insertTab( TabPage*, OUString& sTitle );
     526             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     527           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     528             : };
     529             : 
     530             : 
     531             : //  class VCLXFixedHyperlink
     532             : 
     533             : class TOOLKIT_DLLPUBLIC VCLXFixedHyperlink :
     534             :     public ::com::sun::star::awt::XFixedHyperlink,
     535             :     public VCLXWindow
     536             : {
     537             : private:
     538             :     ActionListenerMultiplexer   maActionListeners;
     539             : 
     540             : protected:
     541             :     void                        ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     542             : 
     543             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext >
     544             :                                 CreateAccessibleContext() SAL_OVERRIDE;
     545             : 
     546             : public:
     547             :     VCLXFixedHyperlink();
     548             :     virtual ~VCLXFixedHyperlink();
     549             : 
     550             :     // ::com::sun::star::uno::XInterface
     551             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     552           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     553           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     554             : 
     555             :     // ::com::sun::star::lang::XComponent
     556             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     557             : 
     558             :     // ::com::sun::star::lang::XTypeProvider
     559             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     560             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     561             : 
     562             :     // ::com::sun::star::awt::XFixedHyperlink
     563             :     void SAL_CALL setText( const OUString& Text ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     564             :     OUString SAL_CALL getText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     565             :     void SAL_CALL setURL( const OUString& URL ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     566             :     OUString SAL_CALL getURL(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     567             :     void SAL_CALL setAlignment( sal_Int16 nAlign ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     568             :     sal_Int16 SAL_CALL getAlignment(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     569             :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     570             :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     571             : 
     572             :     // ::com::sun::star::awt::XLayoutConstrains
     573             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     574             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     575             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     576             : 
     577             :     // ::com::sun::star::awt::VclWindowPeer
     578             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     579             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     580             : 
     581             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     582           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     583             : };
     584             : 
     585             : 
     586             : //  class VCLXFixedText
     587             : 
     588             : class VCLXFixedText :   public ::com::sun::star::awt::XFixedText,
     589             :                         public VCLXWindow
     590             : {
     591             : protected:
     592             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
     593             : 
     594             : public:
     595             :                         VCLXFixedText();
     596             :                         virtual ~VCLXFixedText();
     597             : 
     598             :     // ::com::sun::star::uno::XInterface
     599             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     600         876 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     601         876 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     602             : 
     603             :     // ::com::sun::star::lang::XTypeProvider
     604             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     605             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     606             : 
     607             :     // ::com::sun::star::awt::XFixedText
     608             :     void SAL_CALL setText( const OUString& Text ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     609             :     OUString SAL_CALL getText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     610             :     void SAL_CALL setAlignment( sal_Int16 nAlign ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     611             :     sal_Int16 SAL_CALL getAlignment(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     612             : 
     613             :     // ::com::sun::star::awt::XLayoutConstrains
     614             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     615             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     616             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     617             : 
     618             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     619           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     620             : };
     621             : 
     622             : 
     623             : //  class VCLXScrollBar
     624             : 
     625          80 : class VCLXScrollBar :   public ::com::sun::star::awt::XScrollBar,
     626             :                         public VCLXWindow
     627             : {
     628             : private:
     629             :     AdjustmentListenerMultiplexer maAdjustmentListeners;
     630             : 
     631             : protected:
     632             :     void            ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     633             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
     634             : 
     635             : public:
     636             :                     VCLXScrollBar();
     637             :     // ::com::sun::star::uno::XInterface
     638             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     639        2111 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     640        2111 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     641             : 
     642             :     // ::com::sun::star::lang::XTypeProvider
     643             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     644             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     645             : 
     646             : 
     647             :     // ::com::sun::star::lang::XComponent
     648             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     649             : 
     650             :     // ::com::sun::star::awt::XScrollbar
     651             :     void SAL_CALL addAdjustmentListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XAdjustmentListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     652             :     void SAL_CALL removeAdjustmentListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XAdjustmentListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     653             :     void SAL_CALL setValue( sal_Int32 n ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     654             :     void SAL_CALL setValues( sal_Int32 nValue, sal_Int32 nVisible, sal_Int32 nMax ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     655             :     sal_Int32 SAL_CALL getValue(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     656             :     void SAL_CALL setMaximum( sal_Int32 n ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     657             :     sal_Int32 SAL_CALL getMaximum(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     658             :     void SAL_CALL setLineIncrement( sal_Int32 n ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     659             :     sal_Int32 SAL_CALL getLineIncrement(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     660             :     void SAL_CALL setBlockIncrement( sal_Int32 n ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     661             :     sal_Int32 SAL_CALL getBlockIncrement(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     662             :     void SAL_CALL setVisibleSize( sal_Int32 n ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     663             :     sal_Int32 SAL_CALL getVisibleSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     664             :     void SAL_CALL setOrientation( sal_Int32 n ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     665             :     sal_Int32 SAL_CALL getOrientation(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     666             : 
     667             :     // why isn't this part of the XScrollbar?
     668             :     void SAL_CALL setMinimum( sal_Int32 n ) throw(::com::sun::star::uno::RuntimeException);
     669             :     sal_Int32 SAL_CALL getMinimum(  ) throw(::com::sun::star::uno::RuntimeException);
     670             : 
     671             :     // ::com::sun::star::awt::VclWindowPeer
     672             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     673             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     674             : 
     675             :     // ::com::sun::star::awt::XLayoutConstrains
     676             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     677             :     static ::com::sun::star::awt::Size SAL_CALL implGetMinimumSize( vcl::Window* p ) throw(::com::sun::star::uno::RuntimeException);
     678             : 
     679             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     680           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     681             : };
     682             : 
     683             : 
     684             : //  class VCLXEdit
     685             : 
     686        5670 : class TOOLKIT_DLLPUBLIC VCLXEdit :  public ::com::sun::star::awt::XTextComponent,
     687             :                     public ::com::sun::star::awt::XTextEditField,
     688             :                     public ::com::sun::star::awt::XTextLayoutConstrains,
     689             :                     public VCLXWindow
     690             : {
     691             : private:
     692             :     TextListenerMultiplexer maTextListeners;
     693             : 
     694             : protected:
     695             :     void            ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     696             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
     697             : 
     698             : 
     699             : public:
     700             :                     VCLXEdit();
     701             : 
     702        1040 :     TextListenerMultiplexer&    GetTextListeners() { return maTextListeners; }
     703             : 
     704             :     // ::com::sun::star::uno::XInterface
     705             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     706      644765 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     707      644561 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     708             : 
     709             :     // ::com::sun::star::lang::XTypeProvider
     710             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     711             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     712             : 
     713             : 
     714             :     // ::com::sun::star::lang::XComponent
     715             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     716             : 
     717             :     // ::com::sun::star::awt::XTextComponent
     718             :     void SAL_CALL addTextListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     719             :     void SAL_CALL removeTextListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     720             :     void SAL_CALL setText( const OUString& aText ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     721             :     void SAL_CALL insertText( const ::com::sun::star::awt::Selection& Sel, const OUString& Text ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     722             :     OUString SAL_CALL getText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     723             :     OUString SAL_CALL getSelectedText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     724             :     void SAL_CALL setSelection( const ::com::sun::star::awt::Selection& aSelection ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     725             :     ::com::sun::star::awt::Selection SAL_CALL getSelection(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     726             :     sal_Bool SAL_CALL isEditable(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     727             :     void SAL_CALL setEditable( sal_Bool bEditable ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     728             :     void SAL_CALL setMaxTextLen( sal_Int16 nLen ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     729             :     sal_Int16 SAL_CALL getMaxTextLen(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     730             : 
     731             :     // ::com::sun::star::awt::XTextEditField:
     732             :     void SAL_CALL setEchoChar( sal_Unicode cEcho ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     733             : 
     734             :     // ::com::sun::star::awt::XLayoutConstrains
     735             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     736             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     737             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     738             : 
     739             :     // ::com::sun::star::awt::XTextLayoutConstrains
     740             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     741             :     void SAL_CALL getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     742             : 
     743             :     // ::com::sun::star::awt::VclWindowPeer
     744             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     745             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     746             : 
     747             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     748           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     749             : };
     750             : 
     751             : 
     752             : //  class VCLXListBox
     753             : 
     754             : typedef ::cppu::ImplInheritanceHelper3  <   VCLXWindow
     755             :                                         ,   ::com::sun::star::awt::XListBox
     756             :                                         ,   ::com::sun::star::awt::XTextLayoutConstrains
     757             :                                         ,   ::com::sun::star::awt::XItemListListener
     758             :                                         >   VCLXListBox_Base;
     759         412 : class VCLXListBox  : public VCLXListBox_Base
     760             : {
     761             : private:
     762             :     ActionListenerMultiplexer   maActionListeners;
     763             :     ItemListenerMultiplexer     maItemListeners;
     764             : 
     765             : protected:
     766             :     virtual void    ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     767             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext >
     768             :                     CreateAccessibleContext() SAL_OVERRIDE;
     769             :     void            ImplCallItemListeners();
     770             : 
     771             : public:
     772             :                         VCLXListBox();
     773             : 
     774             :     // ::com::sun::star::lang::XComponent
     775             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     776             : 
     777             :     // ::com::sun::star::awt::XListBox
     778             :     void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     779             :     void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     780             :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     781             :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     782             :     void SAL_CALL addItem( const OUString& aItem, sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     783             :     void SAL_CALL addItems( const ::com::sun::star::uno::Sequence< OUString >& aItems, sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     784             :     void SAL_CALL removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     785             :     sal_Int16 SAL_CALL getItemCount(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     786             :     OUString SAL_CALL getItem( sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     787             :     ::com::sun::star::uno::Sequence< OUString > SAL_CALL getItems(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     788             :     sal_Int16 SAL_CALL getSelectedItemPos(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     789             :     ::com::sun::star::uno::Sequence< sal_Int16 > SAL_CALL getSelectedItemsPos(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     790             :     OUString SAL_CALL getSelectedItem(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     791             :     ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSelectedItems(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     792             :     void SAL_CALL selectItemPos( sal_Int16 nPos, sal_Bool bSelect ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     793             :     void SAL_CALL selectItemsPos( const ::com::sun::star::uno::Sequence< sal_Int16 >& aPositions, sal_Bool bSelect ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     794             :     void SAL_CALL selectItem( const OUString& aItem, sal_Bool bSelect ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     795             :     sal_Bool SAL_CALL isMutipleMode(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     796             :     void SAL_CALL setMultipleMode( sal_Bool bMulti ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     797             :     sal_Int16 SAL_CALL getDropDownLineCount(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     798             :     void SAL_CALL setDropDownLineCount( sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     799             :     void SAL_CALL makeVisible( sal_Int16 nEntry ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     800             : 
     801             :     // ::com::sun::star::awt::XLayoutConstrains
     802             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     803             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     804             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     805             : 
     806             :     // ::com::sun::star::awt::XTextLayoutConstrains
     807             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     808             :     void SAL_CALL getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     809             : 
     810             :     // ::com::sun::star::awt::VclWindowPeer
     811             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     812             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     813             : 
     814             :     // XItemListListener
     815             :     virtual void SAL_CALL listItemInserted( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     816             :     virtual void SAL_CALL listItemRemoved( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     817             :     virtual void SAL_CALL listItemModified( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     818             :     virtual void SAL_CALL allItemsRemoved( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     819             :     virtual void SAL_CALL itemListChanged( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     820             : 
     821             :     // XEventListener
     822             :     virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& i_rEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     823             : 
     824             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     825           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     826             : };
     827             : 
     828             : 
     829             : //  class VCLXComboBox
     830             : 
     831             : typedef ::cppu::ImplInheritanceHelper2  <   VCLXEdit
     832             :                                         ,   ::com::sun::star::awt::XComboBox
     833             :                                         ,   ::com::sun::star::awt::XItemListListener > VCLXComboBox_Base;
     834             : class VCLXComboBox :    public VCLXComboBox_Base
     835             : {
     836             : private:
     837             :     ActionListenerMultiplexer   maActionListeners;
     838             :     ItemListenerMultiplexer     maItemListeners;
     839             : 
     840             : protected:
     841             :     void            ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     842             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
     843             : 
     844             : 
     845             : public:
     846             :                         VCLXComboBox();
     847             :     virtual ~VCLXComboBox();
     848             : 
     849             :      // ::com::sun::star::lang::XComponent
     850             :     void SAL_CALL dispose(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     851             : 
     852             :     // ::com::sun::star::awt::XComboBox
     853             :     void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     854             :     void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     855             :     void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     856             :     void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     857             :     void SAL_CALL addItem( const OUString& aItem, sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     858             :     void SAL_CALL addItems( const ::com::sun::star::uno::Sequence< OUString >& aItems, sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     859             :     void SAL_CALL removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     860             :     sal_Int16 SAL_CALL getItemCount(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     861             :     OUString SAL_CALL getItem( sal_Int16 nPos ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     862             :     ::com::sun::star::uno::Sequence< OUString > SAL_CALL getItems(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     863             :     sal_Int16 SAL_CALL getDropDownLineCount(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     864             :     void SAL_CALL setDropDownLineCount( sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     865             : 
     866             :     // ::com::sun::star::awt::XLayoutConstrains
     867             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     868             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     869             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     870             : 
     871             :     // ::com::sun::star::awt::XTextLayoutConstrains
     872             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     873             :     void SAL_CALL getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     874             : 
     875             :     // ::com::sun::star::awt::VclWindowPeer
     876             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     877             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     878             : 
     879             :     // XItemListListener
     880             :     virtual void SAL_CALL listItemInserted( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     881             :     virtual void SAL_CALL listItemRemoved( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     882             :     virtual void SAL_CALL listItemModified( const ::com::sun::star::awt::ItemListEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     883             :     virtual void SAL_CALL allItemsRemoved( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     884             :     virtual void SAL_CALL itemListChanged( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     885             :     // XEventListener
     886             :     virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& i_rEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     887             : 
     888             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     889           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     890             : };
     891             : 
     892             : 
     893             : //  class VCLXSpinField
     894             : 
     895         310 : class TOOLKIT_DLLPUBLIC VCLXSpinField : public ::com::sun::star::awt::XSpinField,
     896             :                         public VCLXEdit
     897             : {
     898             : private:
     899             :     SpinListenerMultiplexer maSpinListeners;
     900             : 
     901             : protected:
     902             :     void            ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     903             : 
     904             : public:
     905             :                     VCLXSpinField();
     906             : 
     907             :     // ::com::sun::star::uno::XInterface
     908             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     909       38362 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     910       38362 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     911             : 
     912             :     // ::com::sun::star::lang::XTypeProvider
     913             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     914             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     915             : 
     916             : 
     917             :     // ::com::sun::star::awt::XSpinField
     918             :     void SAL_CALL addSpinListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XSpinListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     919             :     void SAL_CALL removeSpinListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XSpinListener >& l ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     920             :     void SAL_CALL up(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     921             :     void SAL_CALL down(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     922             :     void SAL_CALL first(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     923             :     void SAL_CALL last(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     924             :     void SAL_CALL enableRepeat( sal_Bool bRepeat ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     925             : 
     926             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     927           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     928             : };
     929             : 
     930             : 
     931             : //  class VCLXFormattedSpinField
     932             : 
     933             : class VCLXFormattedSpinField : public VCLXSpinField
     934             : {
     935             : private:
     936             :     FormatterBase*  mpFormatter;
     937             : 
     938             : protected:
     939        8672 :     FormatterBase*  GetFormatter() const { return GetWindow() ? mpFormatter : NULL; }
     940             : 
     941             : public:
     942             :                     VCLXFormattedSpinField();
     943             :                     virtual ~VCLXFormattedSpinField();
     944             : 
     945         110 :     void            SetFormatter( FormatterBase* pFormatter ) { mpFormatter = pFormatter; }
     946             : 
     947             :     void            setStrictFormat( bool bStrict );
     948             :     bool        isStrictFormat();
     949             : 
     950             :     // ::com::sun::star::awt::VclWindowPeer
     951             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     952             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     953             : 
     954             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     955           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     956             : };
     957             : 
     958             : 
     959             : //  class VCLXDateField
     960             : 
     961             : class TOOLKIT_DLLPUBLIC VCLXDateField : public ::com::sun::star::awt::XDateField,
     962             :                         public VCLXFormattedSpinField
     963             : {
     964             : protected:
     965             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
     966             : public:
     967             :                     VCLXDateField();
     968             :                     virtual ~VCLXDateField();
     969             : 
     970             :     // ::com::sun::star::uno::XInterface
     971             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     972       20058 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
     973       20052 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
     974             : 
     975             :     // ::com::sun::star::lang::XTypeProvider
     976             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     977             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     978             : 
     979             : 
     980             :     // ::com::sun::star::awt::XDateField
     981             :     void SAL_CALL setDate( const ::com::sun::star::util::Date& Date ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     982             :     ::com::sun::star::util::Date SAL_CALL getDate(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     983             :     void SAL_CALL setMin( const ::com::sun::star::util::Date& Date ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     984             :     ::com::sun::star::util::Date SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     985             :     void SAL_CALL setMax( const ::com::sun::star::util::Date& Date ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     986             :     ::com::sun::star::util::Date SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     987             :     void SAL_CALL setFirst( const ::com::sun::star::util::Date& Date ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     988             :     ::com::sun::star::util::Date SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     989             :     void SAL_CALL setLast( const ::com::sun::star::util::Date& Date ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     990             :     ::com::sun::star::util::Date SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     991             :     void SAL_CALL setLongFormat( sal_Bool bLong ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     992             :     sal_Bool SAL_CALL isLongFormat(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     993             :     void SAL_CALL setEmpty(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     994             :     sal_Bool SAL_CALL isEmpty(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     995             :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     996             :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     997             : 
     998             :     // ::com::sun::star::awt::VclWindowPeer
     999             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1000             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1001             : 
    1002             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
    1003           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
    1004             : };
    1005             : 
    1006             : 
    1007             : //  class VCLXTimeField
    1008             : 
    1009             : class VCLXTimeField :   public ::com::sun::star::awt::XTimeField,
    1010             :                         public VCLXFormattedSpinField
    1011             : {
    1012             : protected:
    1013             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
    1014             : public:
    1015             :                     VCLXTimeField();
    1016             :                     virtual ~VCLXTimeField();
    1017             : 
    1018             :     // ::com::sun::star::uno::XInterface
    1019             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1020       16616 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
    1021       16616 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
    1022             : 
    1023             :     // ::com::sun::star::lang::XTypeProvider
    1024             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1025             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1026             : 
    1027             :     // ::com::sun::star::awt::XTimeField
    1028             :     void SAL_CALL setTime( const ::com::sun::star::util::Time& Time ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1029             :     ::com::sun::star::util::Time SAL_CALL getTime(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1030             :     void SAL_CALL setMin( const ::com::sun::star::util::Time& Time ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1031             :     ::com::sun::star::util::Time SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1032             :     void SAL_CALL setMax( const ::com::sun::star::util::Time& Time ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1033             :     ::com::sun::star::util::Time SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1034             :     void SAL_CALL setFirst( const ::com::sun::star::util::Time& Time ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1035             :     ::com::sun::star::util::Time SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1036             :     void SAL_CALL setLast( const ::com::sun::star::util::Time& Time ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1037             :     ::com::sun::star::util::Time SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1038             :     void SAL_CALL setEmpty(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1039             :     sal_Bool SAL_CALL isEmpty(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1040             :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1041             :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1042             : 
    1043             :     // ::com::sun::star::awt::VclWindowPeer
    1044             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1045             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1046             : 
    1047             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
    1048           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
    1049             : };
    1050             : 
    1051             : 
    1052             : //  class VCLXNumericField
    1053             : 
    1054             : class VCLXNumericField :    public ::com::sun::star::awt::XNumericField,
    1055             :                             public VCLXFormattedSpinField
    1056             : {
    1057             : public:
    1058             :                     VCLXNumericField();
    1059             :                     virtual ~VCLXNumericField();
    1060             : 
    1061             :     // ::com::sun::star::uno::XInterface
    1062             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1063        4096 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
    1064        4048 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
    1065             : 
    1066             :     // ::com::sun::star::lang::XTypeProvider
    1067             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1068             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1069             : 
    1070             :     // ::com::sun::star::awt::XNumericField
    1071             :     void SAL_CALL setValue( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1072             :     double SAL_CALL getValue(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1073             :     void SAL_CALL setMin( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1074             :     double SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1075             :     void SAL_CALL setMax( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1076             :     double SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1077             :     void SAL_CALL setFirst( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1078             :     double SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1079             :     void SAL_CALL setLast( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1080             :     double SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1081             :     void SAL_CALL setSpinSize( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1082             :     double SAL_CALL getSpinSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1083             :     void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1084             :     sal_Int16 SAL_CALL getDecimalDigits(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1085             :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1086             :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1087             : 
    1088             :     // ::com::sun::star::awt::VclWindowPeer
    1089             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1090             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1091             : 
    1092             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
    1093           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
    1094             : };
    1095             : 
    1096             : 
    1097             : //  class VCLXMetricField
    1098             : 
    1099             : class MetricFormatter;
    1100             : class MetricField;
    1101             : class VCLXMetricField : public ::com::sun::star::awt::XMetricField,
    1102             :                         public VCLXFormattedSpinField
    1103             : {
    1104             :     MetricFormatter *GetMetricFormatter() throw(::com::sun::star::uno::RuntimeException);
    1105             :     MetricField     *GetMetricField() throw(::com::sun::star::uno::RuntimeException);
    1106             :     void CallListeners();
    1107             : public:
    1108             :     VCLXMetricField();
    1109             :     virtual ~VCLXMetricField();
    1110             : 
    1111             :     // ::com::sun::star::uno::XInterface
    1112             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1113           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
    1114           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
    1115             : 
    1116             :     // ::com::sun::star::lang::XTypeProvider
    1117             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1118             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1119             : 
    1120             :     // ::com::sun::star::awt::XMetricField
    1121             :     virtual void SAL_CALL setValue( ::sal_Int64 Value, ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1122             :     virtual void SAL_CALL setUserValue( ::sal_Int64 Value, ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1123             :     virtual ::sal_Int64 SAL_CALL getValue( ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1124             :     virtual ::sal_Int64 SAL_CALL getCorrectedValue( ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1125             :     virtual void SAL_CALL setMin( ::sal_Int64 Value, ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1126             :     virtual ::sal_Int64 SAL_CALL getMin( ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1127             :     virtual void SAL_CALL setMax( ::sal_Int64 Value, ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1128             :     virtual ::sal_Int64 SAL_CALL getMax( ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1129             :     virtual void SAL_CALL setFirst( ::sal_Int64 Value, ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1130             :     virtual ::sal_Int64 SAL_CALL getFirst( ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1131             :     virtual void SAL_CALL setLast( ::sal_Int64 Value, ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1132             :     virtual ::sal_Int64 SAL_CALL getLast( ::sal_Int16 Unit ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1133             :     virtual void SAL_CALL setSpinSize( ::sal_Int64 Value ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1134             :     virtual ::sal_Int64 SAL_CALL getSpinSize(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1135             :     virtual void SAL_CALL setDecimalDigits( ::sal_Int16 nDigits ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1136             :     virtual ::sal_Int16 SAL_CALL getDecimalDigits(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1137             :     virtual void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1138             :     virtual sal_Bool SAL_CALL isStrictFormat(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1139             : 
    1140             :     // ::com::sun::star::awt::VclWindowPeer
    1141             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1142             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1143             : 
    1144             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
    1145           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
    1146             : };
    1147             : 
    1148             : 
    1149             : //  class VCLXCurrencyField
    1150             : 
    1151             : class VCLXCurrencyField :   public ::com::sun::star::awt::XCurrencyField,
    1152             :                             public VCLXFormattedSpinField
    1153             : {
    1154             : public:
    1155             :                     VCLXCurrencyField();
    1156             :                     virtual ~VCLXCurrencyField();
    1157             : 
    1158             :     // ::com::sun::star::uno::XInterface
    1159             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1160           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
    1161           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
    1162             : 
    1163             :     // ::com::sun::star::lang::XTypeProvider
    1164             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1165             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1166             : 
    1167             : 
    1168             :     // ::com::sun::star::awt::XCurrencyField
    1169             :     void SAL_CALL setValue( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1170             :     double SAL_CALL getValue(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1171             :     void SAL_CALL setMin( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1172             :     double SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1173             :     void SAL_CALL setMax( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1174             :     double SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1175             :     void SAL_CALL setFirst( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1176             :     double SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1177             :     void SAL_CALL setLast( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1178             :     double SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1179             :     void SAL_CALL setSpinSize( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1180             :     double SAL_CALL getSpinSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1181             :     void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1182             :     sal_Int16 SAL_CALL getDecimalDigits(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1183             :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1184             :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1185             : 
    1186             :     // ::com::sun::star::awt::VclWindowPeer
    1187             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1188             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1189             : 
    1190             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
    1191           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
    1192             : };
    1193             : 
    1194             : 
    1195             : //  class VCLXPatternField
    1196             : 
    1197             : class VCLXPatternField :    public ::com::sun::star::awt::XPatternField,
    1198             :                             public VCLXFormattedSpinField
    1199             : {
    1200             : public:
    1201             :                     VCLXPatternField();
    1202             :                     virtual ~VCLXPatternField();
    1203             : 
    1204             :     // ::com::sun::star::uno::XInterface
    1205             :     ::com::sun::star::uno::Any                  SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1206       14589 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { OWeakObject::acquire(); }
    1207       14589 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { OWeakObject::release(); }
    1208             : 
    1209             :     // ::com::sun::star::lang::XTypeProvider
    1210             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1211             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1212             : 
    1213             : 
    1214             :     // ::com::sun::star::awt::XPatternField
    1215             :     void SAL_CALL setMasks( const OUString& EditMask, const OUString& LiteralMask ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1216             :     void SAL_CALL getMasks( OUString& EditMask, OUString& LiteralMask ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1217             :     void SAL_CALL setString( const OUString& Str ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1218             :     OUString SAL_CALL getString(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1219             :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1220             :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1221             : 
    1222             :     // ::com::sun::star::awt::VclWindowPeer
    1223             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1224             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    1225             : 
    1226             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
    1227           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
    1228             : };
    1229             : 
    1230             : 
    1231             : //  class VCLXToolBox
    1232             : 
    1233             : class VCLXToolBox : public VCLXWindow
    1234             : {
    1235             : private:
    1236             : 
    1237             : protected:
    1238             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext >
    1239             :                         CreateAccessibleContext() SAL_OVERRIDE;
    1240             : 
    1241             : public:
    1242             :                         VCLXToolBox();
    1243             :                         virtual ~VCLXToolBox();
    1244             : };
    1245             : 
    1246             : #endif // INCLUDED_TOOLKIT_AWT_VCLXWINDOWS_HXX
    1247             : 
    1248             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10