Tag: cws_src680_oj14 User: fs Date: 2007-05-30 13:08:19+0000 Log: removed dead implementations
File Changes: Directory: /dba/reportdesign/source/ui/inc/ =========================================== File [changed]: metadata.hxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/metadata.hxx?r1=1.1.2.1&r2=1.1.2.2 Delta lines: +16 -57 --------------------- --- metadata.hxx 2007-05-09 14:01:52+0000 1.1.2.1 +++ metadata.hxx 2007-05-30 13:08:17+0000 1.1.2.2 @@ -6,9 +6,9 @@ * * $RCSfile: metadata.hxx,v $ * - * $Revision: 1.1.2.1 $ + * $Revision: 1.1.2.2 $ * - * last change: $Author: oj $ $Date: 2007/05/09 14:01:52 $ + * last change: $Author: fs $ $Date: 2007/05/30 13:08:17 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -35,18 +35,19 @@ * ************************************************************************/ - -#ifndef _COMPHELPER_COMPOSEDPROPS_HXX_ -#include <comphelper/composedprops.hxx> -#endif -#ifndef _RTL_REF_HXX_ -#include <rtl/ref.hxx> -#endif #ifndef _RPTUI_MODULE_HELPER_RPT_HXX_ #include "ModuleHelper.hxx" #endif -namespace com{namespace sun{namespace star{namespace inspection{ class XPropertyHandler; }}}} +/** === begin UNO includes === **/ +#ifndef _COM_SUN_STAR_BEANS_PROPERTY_HPP_ +#include <com/sun/star/beans/Property.hpp> +#endif +#ifndef _COM_SUN_STAR_INSPECTION_XPROPERTYHANDLER_HPP_ +#include <com/sun/star/inspection/XPropertyHandler.hpp> +#endif +/** === end UNO includes === **/ + //............................................................................ namespace rptui { @@ -58,8 +59,7 @@ //= OPropertyInfoService //======================================================================== class OPropertyInfoService - :public ::comphelper::IPropertySetComposerCallback - ,public OModuleClient + :public OModuleClient { OPropertyInfoService(const OPropertyInfoService&); void operator =(const OPropertyInfoService&); @@ -81,8 +81,10 @@ String getPropertyName( sal_Int32 _nPropId ); static void getExcludeProperties(::std::vector< com::sun::star::beans::Property >& _rExcludeProperties,const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyHandler >& _xFormComponentHandler); - // IPropertySetComposerCallback - virtual sal_Bool isComposeable( const ::rtl::OUString& _rPropertyName ) const; + bool isComposable( + const ::rtl::OUString& _rPropertyName, + const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyHandler >& _xFormComponentHandler + ); protected: static const OPropertyInfoImpl* getPropertyInfo(); @@ -92,49 +94,6 @@ }; //======================================================================== - //= DefaultEnumRepresentation - //======================================================================== - /** an implementation of the IPropertyEnumRepresentation - - To be used with properties which, in formmetadata.cxx, are declared as ENUM. - */ - class DefaultEnumRepresentation : public ::rtl::IReference - { - private: - oslInterlockedCount m_refCount; - const OPropertyInfoService& m_rMetaData; - ::com::sun::star::uno::Type m_aType; - const sal_Int32 m_nPropertyId; - - public: - /** constructs an instance - - @param _rInfo - An instance implementing IPropertyInfoService. Must live at least as - long as the DefaultEnumRepresentation should live. - */ - DefaultEnumRepresentation( const OPropertyInfoService& _rInfo, const ::com::sun::star::uno::Type& _rType, sal_Int32 _nPropertyId ); - - protected: - virtual ~DefaultEnumRepresentation(); - - public: - // IPropertyEnumRepresentation implementqation - virtual void SAL_CALL getDescriptions(::std::vector< ::rtl::OUString >& _rOut) const; - virtual void SAL_CALL getValueFromDescription( const ::rtl::OUString& _rDescription, ::com::sun::star::uno::Any& _out_rValue ) const; - virtual ::rtl::OUString SAL_CALL getDescriptionForValue( const ::com::sun::star::uno::Any& _rEnumValue ) const; - - // IReference implementqation - virtual oslInterlockedCount SAL_CALL acquire(); - virtual oslInterlockedCount SAL_CALL release(); - - private: - DefaultEnumRepresentation(); // never implemented - DefaultEnumRepresentation( const DefaultEnumRepresentation& ); // never implemented - DefaultEnumRepresentation& operator=( const DefaultEnumRepresentation& ); // never implemented - }; - - //======================================================================== //= HelpIdUrl //======================================================================== /// small helper to translate help ids into help urls --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
