LCOV - code coverage report
Current view: top level - svtools/source/inc - unoiface.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 22 0.0 %
Date: 2014-04-14 Functions: 0 23 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #ifndef INCLUDED_SVTOOLS_SOURCE_INC_UNOIFACE_HXX
      21             : #define INCLUDED_SVTOOLS_SOURCE_INC_UNOIFACE_HXX
      22             : 
      23             : #include <toolkit/awt/vclxwindow.hxx>
      24             : #include <toolkit/awt/vclxwindows.hxx>
      25             : #include <toolkit/helper/listenermultiplexer.hxx>
      26             : 
      27             : #include <cppuhelper/typeprovider.hxx>
      28             : 
      29             : #include <com/sun/star/awt/XTextArea.hpp>
      30             : #include <com/sun/star/awt/XTextComponent.hpp>
      31             : #include <com/sun/star/awt/XTextLayoutConstrains.hpp>
      32             : #include <svtools/svmedit.hxx>
      33             : #include <svtools/fmtfield.hxx>
      34             : 
      35             : 
      36             : #include <comphelper/uno3.hxx>
      37             : #include <cppuhelper/implbase2.hxx>
      38             : #include <cppuhelper/implbase3.hxx>
      39             : #include <com/sun/star/awt/XItemEventBroadcaster.hpp>
      40             : 
      41             : 
      42             : namespace com { namespace sun { namespace star { namespace util {
      43             :     class XNumberFormatsSupplier;
      44             : } } } }
      45             : 
      46             : class SvNumberFormatsSupplierObj;
      47             : 
      48             : 
      49             : //  class VCLXMultiLineEdit
      50             : 
      51             : class VCLXMultiLineEdit :   public ::com::sun::star::awt::XTextComponent,
      52             :                             public ::com::sun::star::awt::XTextArea,
      53             :                             public ::com::sun::star::awt::XTextLayoutConstrains,
      54             :                             public VCLXWindow
      55             : {
      56             : private:
      57             :     TextListenerMultiplexer maTextListeners;
      58             :     LineEnd                 meLineEndType;
      59             : 
      60             : protected:
      61             :     void                ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
      62             : 
      63             : public:
      64             :                     VCLXMultiLineEdit();
      65             :                     virtual ~VCLXMultiLineEdit();
      66             : 
      67             :     // ::com::sun::star::uno::XInterface
      68             :     ::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;
      69           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { VCLXWindow::acquire(); }
      70           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { VCLXWindow::release(); }
      71             : 
      72             :     // ::com::sun::star::lang::XTypeProvider
      73             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      74             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      75             : 
      76             :     // ::com::sun::star::awt::XTextComponent
      77             :     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;
      78             :     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;
      79             :     void SAL_CALL setText( const OUString& aText ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      80             :     void SAL_CALL insertText( const ::com::sun::star::awt::Selection& Sel, const OUString& Text ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      81             :     OUString SAL_CALL getText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      82             :     OUString SAL_CALL getSelectedText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      83             :     void SAL_CALL setSelection( const ::com::sun::star::awt::Selection& aSelection ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      84             :     ::com::sun::star::awt::Selection SAL_CALL getSelection(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      85             :     sal_Bool SAL_CALL isEditable(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      86             :     void SAL_CALL setEditable( sal_Bool bEditable ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      87             :     void SAL_CALL setMaxTextLen( sal_Int16 nLen ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      88             :     sal_Int16 SAL_CALL getMaxTextLen(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      89             : 
      90             :     //XTextArea
      91             :     OUString SAL_CALL getTextLines(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      92             : 
      93             :     // ::com::sun::star::awt::XLayoutConstrains
      94             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      95             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      96             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      97             : 
      98             :     // ::com::sun::star::awt::XTextLayoutConstrains
      99             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     100             :     void SAL_CALL getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     101             : 
     102             :     // ::com::sun::star::awt::XVclWindowPeer
     103             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     104             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     105             : 
     106             :     // ::com::sun::star::awt::XWindow
     107             :     void SAL_CALL setFocus(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     108             : 
     109             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     110           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     111             : };
     112             : 
     113             : 
     114             : 
     115             : //  class VCLXFileControl
     116             : 
     117             : class VCLXFileControl : ::com::sun::star::awt::XTextComponent, public ::com::sun::star::awt::XTextLayoutConstrains, public VCLXWindow
     118             : {
     119             : protected:
     120             :     DECL_LINK(ModifyHdl, void *);
     121             :     TextListenerMultiplexer maTextListeners;
     122             : 
     123             : public:
     124             :                     VCLXFileControl();
     125             :                     virtual ~VCLXFileControl();
     126             : 
     127             :     void            SetWindow( Window* pWindow ) SAL_OVERRIDE;
     128             : 
     129             :     // ::com::sun::star::uno::XInterface
     130             :     ::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;
     131           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { VCLXWindow::acquire(); }
     132           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { VCLXWindow::release(); }
     133             : 
     134             :     // ::com::sun::star::lang::XTypeProvider
     135             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     136             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     137             : 
     138             :     // ::com::sun::star::awt::XTextComponent
     139             :     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;
     140             :     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;
     141             :     void SAL_CALL setText( const OUString& aText ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     142             :     void SAL_CALL insertText( const ::com::sun::star::awt::Selection& Sel, const OUString& Text ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     143             :     OUString SAL_CALL getText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     144             :     OUString SAL_CALL getSelectedText(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     145             :     void SAL_CALL setSelection( const ::com::sun::star::awt::Selection& aSelection ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     146             :     ::com::sun::star::awt::Selection SAL_CALL getSelection(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     147             :     sal_Bool SAL_CALL isEditable(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     148             :     void SAL_CALL setEditable( sal_Bool bEditable ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     149             :     void SAL_CALL setMaxTextLen( sal_Int16 nLen ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     150             :     sal_Int16 SAL_CALL getMaxTextLen(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     151             : 
     152             :     // ::com::sun::star::awt::XLayoutConstrains
     153             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     154             :     ::com::sun::star::awt::Size SAL_CALL getPreferredSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     155             :     ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     156             : 
     157             :     // ::com::sun::star::awt::XTextLayoutConstrains
     158             :     ::com::sun::star::awt::Size SAL_CALL getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     159             :     void SAL_CALL getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     160             : 
     161             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     162             : 
     163             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     164           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     165             : };
     166             : 
     167             : 
     168             : //  class SVTXFormattedField
     169             : 
     170             : 
     171             : class SVTXFormattedField : public VCLXSpinField
     172             : {
     173             : protected:
     174             :     SvNumberFormatsSupplierObj* m_pCurrentSupplier;
     175             :     sal_Bool                    bIsStandardSupplier;
     176             : 
     177             :     sal_Int32                   nKeyToSetDelayed;
     178             : 
     179           0 :     FormattedField*             GetFormattedField() const { return (FormattedField*)GetWindow(); }
     180             : 
     181             : public:
     182             :     SVTXFormattedField();
     183             :     virtual ~SVTXFormattedField();
     184             : 
     185             :     // ::com::sun::star::awt::XVclWindowPeer
     186             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     187             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     188             : 
     189             : protected:
     190             :     ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >  getFormatsSupplier(void) const;
     191             :     void    setFormatsSupplier(const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > & xSupplier);
     192             :     sal_Int32   getFormatKey(void) const;
     193             :     void    setFormatKey(sal_Int32 nKey);
     194             : 
     195             :     void    SetValue(const ::com::sun::star::uno::Any& rValue);
     196             :     ::com::sun::star::uno::Any  GetValue();
     197             : 
     198             :     void    SetTreatAsNumber(sal_Bool bSet);
     199             :     sal_Bool    GetTreatAsNumber();
     200             : 
     201             :     void    SetDefaultValue(const ::com::sun::star::uno::Any& rValue);
     202             :     ::com::sun::star::uno::Any  GetDefaultValue();
     203             : 
     204             :     void    SetMinValue(const ::com::sun::star::uno::Any& rValue);
     205             :     ::com::sun::star::uno::Any  GetMinValue();
     206             : 
     207             :     void    SetMaxValue(const ::com::sun::star::uno::Any& rValue);
     208             :     ::com::sun::star::uno::Any  GetMaxValue();
     209             : 
     210             :     void    NotifyTextListeners();
     211             :     ::com::sun::star::uno::Any  convertEffectiveValue(const ::com::sun::star::uno::Any& rValue);
     212             : 
     213             :     virtual void    SetWindow(Window* _pWindow) SAL_OVERRIDE;
     214             : 
     215             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     216           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     217             : };
     218             : 
     219             : 
     220             : 
     221             : 
     222             : //  class SVTXRoadmap
     223             : 
     224             : 
     225             : namespace svt
     226             : {
     227             :     class ORoadmap;
     228             : }
     229             : 
     230           0 : struct RMItemData
     231             : {
     232             :     sal_Bool            b_Enabled;
     233             :     sal_Int32           n_ID;
     234             :     OUString     Label;
     235             : };
     236             : 
     237             : typedef ::cppu::ImplInheritanceHelper3  <   VCLXGraphicControl
     238             :                                         ,   ::com::sun::star::container::XContainerListener
     239             :                                         ,   ::com::sun::star::beans::XPropertyChangeListener
     240             :                                         ,   ::com::sun::star::awt::XItemEventBroadcaster
     241             :                                         >   SVTXRoadmap_Base;
     242             : class SVTXRoadmap : public SVTXRoadmap_Base
     243             : 
     244             : 
     245             : {
     246             : private:
     247             :     ItemListenerMultiplexer     maItemListeners;
     248             : 
     249             :     RMItemData CurRMItemData;
     250             :     RMItemData GetRMItemData( const ::com::sun::star::container::ContainerEvent& _rEvent );
     251             : 
     252             : protected:
     253           0 :     ::svt::ORoadmap*                GetRoadmap() const { return (::svt::ORoadmap*)GetWindow(); }
     254             :     void                            ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
     255             : 
     256             :     virtual ~SVTXRoadmap();
     257             : 
     258             : public:
     259             :     SVTXRoadmap();
     260             : 
     261           0 :     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { VCLXWindow::disposing( Source ); }
     262             : 
     263             :     // ::com::sun::star::awt::XVclWindowPeer
     264             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     265             : 
     266             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     267             : 
     268             :     // XContainerListener
     269             :     void SAL_CALL elementInserted( const ::com::sun::star::container::ContainerEvent& rEvent )throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     270             :     void SAL_CALL elementRemoved( const ::com::sun::star::container::ContainerEvent& rEvent )throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     271             :     void SAL_CALL elementReplaced( const ::com::sun::star::container::ContainerEvent& rEvent )throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     272             : 
     273             :     // XItemEventBroadcaster
     274             :     virtual 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;
     275             :     virtual 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;
     276             : 
     277             :     // XPropertyChangeListener
     278             :     virtual void SAL_CALL propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     279             : 
     280             : protected:
     281             : 
     282             :     // VCLXGraphicControl overridables
     283             :     virtual void    ImplSetNewImage() SAL_OVERRIDE;
     284             : 
     285             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     286           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     287             : };
     288             : 
     289             : 
     290             : 
     291             : 
     292             : //  class SVTXNumericField
     293             : 
     294             : class SVTXNumericField : public ::com::sun::star::awt::XNumericField, public SVTXFormattedField
     295             : {
     296             : public:
     297             :                     SVTXNumericField();
     298             :                     virtual ~SVTXNumericField();
     299             : 
     300             :     // ::com::sun::star::uno::XInterface
     301             :     ::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;
     302           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { SVTXFormattedField::acquire(); }
     303           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { SVTXFormattedField::release(); }
     304             : 
     305             :     // ::com::sun::star::lang::XTypeProvider
     306             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     307             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     308             : 
     309             :     // ::com::sun::star::awt::XNumericField
     310             :     void SAL_CALL setValue( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     311             :     double SAL_CALL getValue(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     312             :     void SAL_CALL setMin( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     313             :     double SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     314             :     void SAL_CALL setMax( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     315             :     double SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     316             :     void SAL_CALL setFirst( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     317             :     double SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     318             :     void SAL_CALL setLast( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     319             :     double SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     320             :     void SAL_CALL setSpinSize( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     321             :     double SAL_CALL getSpinSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     322             :     void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     323             :     sal_Int16 SAL_CALL getDecimalDigits(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     324             :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     325             :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     326             : 
     327             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     328           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     329             : };
     330             : 
     331             : 
     332             : //  class VCLXCurrencyField
     333             : 
     334             : class SVTXCurrencyField : public ::com::sun::star::awt::XCurrencyField, public SVTXFormattedField
     335             : {
     336             : public:
     337             :                     SVTXCurrencyField();
     338             :                     virtual ~SVTXCurrencyField();
     339             : 
     340             :     // ::com::sun::star::uno::XInterface
     341             :     ::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;
     342           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { SVTXFormattedField::acquire(); }
     343           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { SVTXFormattedField::release(); }
     344             : 
     345             :     // ::com::sun::star::lang::XTypeProvider
     346             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     347             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     348             : 
     349             :     // ::com::sun::star::awt::XVclWindowPeer
     350             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     351             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     352             : 
     353             :     // ::com::sun::star::awt::XCurrencyField
     354             :     void SAL_CALL setValue( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     355             :     double SAL_CALL getValue(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     356             :     void SAL_CALL setMin( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     357             :     double SAL_CALL getMin(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     358             :     void SAL_CALL setMax( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     359             :     double SAL_CALL getMax(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     360             :     void SAL_CALL setFirst( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     361             :     double SAL_CALL getFirst(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     362             :     void SAL_CALL setLast( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     363             :     double SAL_CALL getLast(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     364             :     void SAL_CALL setSpinSize( double Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     365             :     double SAL_CALL getSpinSize(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     366             :     void SAL_CALL setDecimalDigits( sal_Int16 nDigits ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     367             :     sal_Int16 SAL_CALL getDecimalDigits(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     368             :     void SAL_CALL setStrictFormat( sal_Bool bStrict ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     369             :     sal_Bool SAL_CALL isStrictFormat(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     370             : 
     371             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     372           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     373             : };
     374             : 
     375             : 
     376             : //  class VCLXProgressBar
     377             : 
     378             : class VCLXProgressBar : public ::com::sun::star::awt::XProgressBar,
     379             :                         public VCLXWindow
     380             : {
     381             : private:
     382             :     sal_Int32   m_nValue;
     383             :     sal_Int32   m_nValueMin;
     384             :     sal_Int32   m_nValueMax;
     385             : 
     386             : protected:
     387             :     void            ImplUpdateValue();
     388             : 
     389             : public:
     390             :                     VCLXProgressBar();
     391             :                     virtual ~VCLXProgressBar();
     392             : 
     393             :     // ::com::sun::star::uno::XInterface
     394             :     ::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;
     395           0 :     void                                        SAL_CALL acquire() throw() SAL_OVERRIDE  { VCLXWindow::acquire(); }
     396           0 :     void                                        SAL_CALL release() throw() SAL_OVERRIDE  { VCLXWindow::release(); }
     397             : 
     398             :     // ::com::sun::star::lang::XTypeProvider
     399             :     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >  SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     400             :     ::com::sun::star::uno::Sequence< sal_Int8 >                     SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     401             : 
     402             :     // ::com::sun::star::awt::XProgressBar
     403             :     void SAL_CALL setForegroundColor( sal_Int32 nColor ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     404             :     void SAL_CALL setBackgroundColor( sal_Int32 nColor ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     405             :     void SAL_CALL setValue( sal_Int32 nValue ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     406             :     void SAL_CALL setRange( sal_Int32 nMin, sal_Int32 nMax ) throw(::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
     407             :     sal_Int32 SAL_CALL getValue() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     408             : 
     409             :     // ::com::sun::star::awt::VclWindowPeer
     410             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     411             :     ::com::sun::star::uno::Any SAL_CALL getProperty( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     412             : 
     413             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     414           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     415             : };
     416             : 
     417             : 
     418             : //  class SVTXDateField
     419             : 
     420             : class SVTXDateField : public VCLXDateField
     421             : {
     422             : public:
     423             :                     SVTXDateField();
     424             :                     virtual ~SVTXDateField();
     425             : 
     426             :     // ::com::sun::star::awt::VclWindowPeer
     427             :     void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     428             : 
     429             :     static void     ImplGetPropertyIds( std::list< sal_uInt16 > &aIds );
     430           0 :     virtual void    GetPropertyIds( std::list< sal_uInt16 > &aIds ) SAL_OVERRIDE { return ImplGetPropertyIds( aIds ); }
     431             : };
     432             : 
     433             : #endif // INCLUDED_SVTOOLS_SOURCE_INC_UNOIFACE_HXX
     434             : 
     435             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10