LCOV - code coverage report
Current view: top level - inspection - XPropertyHandler.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_INSPECTION_XPROPERTYHANDLER_HDL
       2             : #define INCLUDED_COM_SUN_STAR_INSPECTION_XPROPERTYHANDLER_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/beans/Property.hdl"
       7             : #include "com/sun/star/beans/PropertyState.hdl"
       8             : #include "com/sun/star/beans/PropertyVetoException.hdl"
       9             : #include "com/sun/star/beans/UnknownPropertyException.hdl"
      10             : namespace com { namespace sun { namespace star { namespace beans { class XPropertyChangeListener; } } } }
      11             : #include "com/sun/star/inspection/InteractiveSelectionResult.hdl"
      12             : #include "com/sun/star/inspection/LineDescriptor.hdl"
      13             : namespace com { namespace sun { namespace star { namespace inspection { class XObjectInspectorUI; } } } }
      14             : namespace com { namespace sun { namespace star { namespace inspection { class XPropertyControlFactory; } } } }
      15             : #include "com/sun/star/lang/NullPointerException.hdl"
      16             : #include "com/sun/star/lang/XComponent.hdl"
      17             : #include "com/sun/star/uno/RuntimeException.hdl"
      18             : namespace com { namespace sun { namespace star { namespace uno { class XInterface; } } } }
      19             : #include "com/sun/star/uno/Any.h"
      20             : #include "com/sun/star/uno/Reference.h"
      21             : #include "com/sun/star/uno/Sequence.h"
      22             : #include "com/sun/star/uno/Type.h"
      23             : #include "cppu/macros.hxx"
      24             : #include "rtl/ustring.hxx"
      25             : #include "sal/types.h"
      26             : 
      27             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      28             : 
      29             : namespace com { namespace sun { namespace star { namespace inspection {
      30             : 
      31           4 : class SAL_NO_VTABLE XPropertyHandler : public css::lang::XComponent
      32             : {
      33             : public:
      34             : 
      35             :     // Methods
      36             :     virtual void SAL_CALL inspect( const ::com::sun::star::uno::Reference< css::uno::XInterface >& Component ) /* throw (css::lang::NullPointerException, ::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) /* throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual css::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual css::inspection::LineDescriptor SAL_CALL describePropertyLine( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< css::inspection::XPropertyControlFactory >& ControlFactory ) /* throw (css::beans::UnknownPropertyException, css::lang::NullPointerException, ::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual ::com::sun::star::uno::Any SAL_CALL convertToPropertyValue( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Any& ControlValue ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual ::com::sun::star::uno::Any SAL_CALL convertToControlValue( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Any& PropertyValue, const ::com::sun::star::uno::Type& ControlValueType ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual void SAL_CALL addPropertyChangeListener( const ::com::sun::star::uno::Reference< css::beans::XPropertyChangeListener >& Listener ) /* throw (css::lang::NullPointerException, ::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual void SAL_CALL removePropertyChangeListener( const ::com::sun::star::uno::Reference< css::beans::XPropertyChangeListener >& Listener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual ::com::sun::star::uno::Sequence< css::beans::Property > SAL_CALL getSupportedProperties() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupersededProperties() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getActuatingProperties() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      48             :     virtual ::sal_Bool SAL_CALL isComposable( const ::rtl::OUString& PropertyName ) /* throw (css::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) */ = 0;
      49             :     virtual css::inspection::InteractiveSelectionResult SAL_CALL onInteractivePropertySelection( const ::rtl::OUString& PropertyName, ::sal_Bool Primary, ::com::sun::star::uno::Any& out_Data, const ::com::sun::star::uno::Reference< css::inspection::XObjectInspectorUI >& InspectorUI ) /* throw (css::beans::UnknownPropertyException, css::lang::NullPointerException, ::com::sun::star::uno::RuntimeException) */ = 0;
      50             :     virtual void SAL_CALL actuatingPropertyChanged( const ::rtl::OUString& ActuatingPropertyName, const ::com::sun::star::uno::Any& NewValue, const ::com::sun::star::uno::Any& OldValue, const ::com::sun::star::uno::Reference< css::inspection::XObjectInspectorUI >& InspectorUI, ::sal_Bool FirstTimeInit ) /* throw (css::lang::NullPointerException, ::com::sun::star::uno::RuntimeException) */ = 0;
      51             :     virtual ::sal_Bool SAL_CALL suspend( ::sal_Bool Suspend ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      52             : 
      53             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      54             : 
      55             : protected:
      56           4 :     ~XPropertyHandler() throw () {} // avoid warnings about virtual members and non-virtual dtor
      57             : };
      58             : 
      59             : 
      60             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::inspection::XPropertyHandler const *);
      61             : } } } }
      62             : 
      63             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::inspection::XPropertyHandler > *) SAL_THROW(());
      64             : 
      65             : #endif

Generated by: LCOV version 1.10