/Users/ericb/Desktop/SRC680_m247/starmath/source/smdetect.hxx

Go to the documentation of this file.
00001 /*************************************************************************
00002  *
00003  *  OpenOffice.org - a multi-platform office productivity suite
00004  *
00005  *  $RCSfile: smdetect.hxx,v $
00006  *
00007  *  $Revision: 1.3 $
00008  *
00009  *  last change: $Author: rt $ $Date: 2005/09/07 15:12:12 $
00010  *
00011  *  The Contents of this file are made available subject to
00012  *  the terms of GNU Lesser General Public License Version 2.1.
00013  *
00014  *
00015  *    GNU Lesser General Public License Version 2.1
00016  *    =============================================
00017  *    Copyright 2005 by Sun Microsystems, Inc.
00018  *    901 San Antonio Road, Palo Alto, CA 94303, USA
00019  *
00020  *    This library is free software; you can redistribute it and/or
00021  *    modify it under the terms of the GNU Lesser General Public
00022  *    License version 2.1, as published by the Free Software Foundation.
00023  *
00024  *    This library is distributed in the hope that it will be useful,
00025  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00026  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00027  *    Lesser General Public License for more details.
00028  *
00029  *    You should have received a copy of the GNU Lesser General Public
00030  *    License along with this library; if not, write to the Free Software
00031  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00032  *    MA  02111-1307  USA
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     // XExtendedFilterDetect
00116         //----------------------------------------------------------------------------------
00117     virtual ::rtl::OUString SAL_CALL detect( SEQUENCE< ::com::sun::star::beans::PropertyValue >& lDescriptor ) throw( RUNTIME_EXCEPTION );
00118 };
00119 
00120 #endif

Generated on Wed Feb 20 17:21:57 2008 for maths by  doxygen 1.5.1