00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifndef _SM_TYPEDETECT_HXX
00037 #define _SM_TYPEDETECT_HXX
00038
00039 #ifndef _RTL_USTRING_HXX_
00040 #include <rtl/ustring.hxx>
00041 #endif
00042
00043 #ifndef _TOOLS_DEBUG_HXX
00044 #include <tools/debug.hxx>
00045 #endif
00046
00047 #ifndef _COM_SUN_STAR_DOCUMENT_XEXTENDEDFILTERDETECTION_HPP_
00048 #include <com/sun/star/document/XExtendedFilterDetection.hpp>
00049 #endif
00050
00051 #ifndef _COM_SUN_STAR_UNO_EXCEPTION_HPP_
00052 #include <com/sun/star/uno/Exception.hpp>
00053 #endif
00054
00055 #ifndef _COM_SUN_STAR_UNO_REFERENCE_H_
00056 #include <com/sun/star/uno/Reference.h>
00057 #endif
00058
00059 #ifndef _CPPUHELPER_IMPLBASE2_HXX_
00060 #include <cppuhelper/implbase2.hxx>
00061 #endif
00062
00063 #include <com/sun/star/lang/XServiceInfo.hpp>
00064 #include <com/sun/star/lang/XSingleServiceFactory.hpp>
00065 #include <cppuhelper/factory.hxx>
00066 #include <tools/link.hxx>
00067 #include <tools/string.hxx>
00068
00069 class SfxObjectFactory;
00070 class SfxFilterMatcher;
00071 class LoadEnvironment_Impl;
00072 class SfxMedium;
00073
00074 namespace com
00075 {
00076 namespace sun
00077 {
00078 namespace star
00079 {
00080 namespace uno
00081 {
00082 class Any;
00083 }
00084 namespace lang
00085 {
00086 class XMultiServiceFactory;
00087 }
00088 namespace frame
00089 {
00090 class XFrame;
00091 }
00092 namespace beans
00093 {
00094 struct PropertyValue;
00095 }
00096 }
00097 }
00098 }
00099
00100 #include <sfx2/sfxuno.hxx>
00101
00102 #define REFERENCE ::com::sun::star::uno::Reference
00103 #define SEQUENCE ::com::sun::star::uno::Sequence
00104 #define RUNTIME_EXCEPTION ::com::sun::star::uno::RuntimeException
00105
00106 class SmFilterDetect : public ::cppu::WeakImplHelper2< ::com::sun::star::document::XExtendedFilterDetection, ::com::sun::star::lang::XServiceInfo >
00107 {
00108 public:
00109 SmFilterDetect( const REFERENCE < ::com::sun::star::lang::XMultiServiceFactory >& xFactory );
00110 virtual ~SmFilterDetect();
00111
00112 SFX_DECL_XSERVICEINFO
00113
00114
00115
00116
00117 virtual ::rtl::OUString SAL_CALL detect( SEQUENCE< ::com::sun::star::beans::PropertyValue >& lDescriptor ) throw( RUNTIME_EXCEPTION );
00118 };
00119
00120 #endif