LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/inspection - XPropertyHandler.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-27 Functions: 0 2 0.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             : namespace com { namespace sun { namespace star { namespace inspection { class XObjectInspectorUI; } } } }
       7             : #include "com/sun/star/inspection/InteractiveSelectionResult.hdl"
       8             : namespace com { namespace sun { namespace star { namespace beans { class XPropertyChangeListener; } } } }
       9             : #include "com/sun/star/inspection/LineDescriptor.hdl"
      10             : #include "com/sun/star/beans/Property.hdl"
      11             : #include "com/sun/star/uno/RuntimeException.hdl"
      12             : namespace com { namespace sun { namespace star { namespace inspection { class XPropertyControlFactory; } } } }
      13             : #include "com/sun/star/beans/UnknownPropertyException.hdl"
      14             : #include "com/sun/star/lang/NullPointerException.hdl"
      15             : #include "com/sun/star/lang/XComponent.hdl"
      16             : #include "com/sun/star/beans/PropertyState.hdl"
      17             : #include "com/sun/star/beans/PropertyVetoException.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           0 : 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 ) = 0;
      37             :     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) = 0;
      38             :     virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) = 0;
      39             :     virtual css::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName ) = 0;
      40             :     virtual css::inspection::LineDescriptor SAL_CALL describePropertyLine( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< css::inspection::XPropertyControlFactory >& ControlFactory ) = 0;
      41             :     virtual ::com::sun::star::uno::Any SAL_CALL convertToPropertyValue( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Any& ControlValue ) = 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 ) = 0;
      43             :     virtual void SAL_CALL addPropertyChangeListener( const ::com::sun::star::uno::Reference< css::beans::XPropertyChangeListener >& Listener ) = 0;
      44             :     virtual void SAL_CALL removePropertyChangeListener( const ::com::sun::star::uno::Reference< css::beans::XPropertyChangeListener >& Listener ) = 0;
      45             :     virtual ::com::sun::star::uno::Sequence< css::beans::Property > SAL_CALL getSupportedProperties() = 0;
      46             :     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupersededProperties() = 0;
      47             :     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getActuatingProperties() = 0;
      48             :     virtual ::sal_Bool SAL_CALL isComposable( const ::rtl::OUString& PropertyName ) = 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 ) = 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 ) = 0;
      51             :     virtual ::sal_Bool SAL_CALL suspend( ::sal_Bool Suspend ) = 0;
      52             : 
      53             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      54             : 
      55             : protected:
      56           0 :     ~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