Better, Faster, Freer

The LXR Cross Referencer

source navigation ]
diff markup ]
identifier search ]
general search ]
 
 
Architecture: i386 ]
Version: HEAD ]

001 /*************************************************************************
002  *
003  *  OpenOffice.org - a multi-platform office productivity suite
004  *
005  *  $RCSfile: swdetect.hxx,v $
006  *
007  *  $Revision: 1.4 $
008  *
009  *  last change: $Author: hr $ $Date: 2006/08/14 18:00:06 $
010  *
011  *  The Contents of this file are made available subject to
012  *  the terms of GNU Lesser General Public License Version 2.1.
013  *
014  *
015  *    GNU Lesser General Public License Version 2.1
016  *    =============================================
017  *    Copyright 2005 by Sun Microsystems, Inc.
018  *    901 San Antonio Road, Palo Alto, CA 94303, USA
019  *
020  *    This library is free software; you can redistribute it and/or
021  *    modify it under the terms of the GNU Lesser General Public
022  *    License version 2.1, as published by the Free Software Foundation.
023  *
024  *    This library is distributed in the hope that it will be useful,
025  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
026  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
027  *    Lesser General Public License for more details.
028  *
029  *    You should have received a copy of the GNU Lesser General Public
030  *    License along with this library; if not, write to the Free Software
031  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
032  *    MA  02111-1307  USA
033  *
034  ************************************************************************/
035 #ifndef _SW_TYPEDETECT_HXX
036 #define _SW_TYPEDETECT_HXX
037 
038 #ifndef _RTL_USTRING_HXX_
039 #include <rtl/ustring.hxx>
040 #endif
041 
042 #ifndef _TOOLS_DEBUG_HXX
043 #include <tools/debug.hxx>
044 #endif
045 
046 #ifndef _COM_SUN_STAR_DOCUMENT_XEXTENDEDFILTERDETECTION_HPP_
047 #include <com/sun/star/document/XExtendedFilterDetection.hpp>
048 #endif
049 
050 #ifndef _COM_SUN_STAR_UNO_EXCEPTION_HPP_
051 #include <com/sun/star/uno/Exception.hpp>
052 #endif
053 
054 #ifndef _COM_SUN_STAR_UNO_REFERENCE_H_
055 #include <com/sun/star/uno/Reference.h>
056 #endif
057 
058 #ifndef _CPPUHELPER_IMPLBASE2_HXX_
059 #include <cppuhelper/implbase2.hxx>
060 #endif
061 
062 #include <com/sun/star/lang/XServiceInfo.hpp>
063 #include <com/sun/star/lang/XSingleServiceFactory.hpp>
064 #include <cppuhelper/factory.hxx>
065 #include <tools/link.hxx>
066 #include <tools/string.hxx>
067 
068 class SfxMedium;
069 
070 namespace com
071 {
072     namespace sun
073     {
074         namespace star
075         {
076             namespace uno
077             {
078                 class Any;
079             }
080             namespace lang
081             {
082                 class XMultiServiceFactory;
083             }
084             namespace frame
085             {
086                 class XFrame;
087             }
088             namespace beans
089             {
090                 struct PropertyValue;
091             }
092         }
093     }
094 }
095 
096 #include <sfx2/sfxuno.hxx>
097 class SfxMedium;
098 class SfxFilter;
099 
100 #define REFERENCE ::com::sun::star::uno::Reference
101 #define SEQUENCE ::com::sun::star::uno::Sequence
102 #define RUNTIME_EXCEPTION ::com::sun::star::uno::RuntimeException
103 
104 class SwFilterDetect : public ::cppu::WeakImplHelper2< ::com::sun::star::document::XExtendedFilterDetection, ::com::sun::star::lang::XServiceInfo >
105 {
106         static ULONG    DetectFilter( SfxMedium& rMedium, const SfxFilter** ppFilter );
107         static ULONG    GlobDetectFilter( SfxMedium& rMedium, const SfxFilter** ppFilter );
108 public:
109                             SwFilterDetect( const REFERENCE < ::com::sun::star::lang::XMultiServiceFactory >& xFactory );
110     virtual                 ~SwFilterDetect();
111 
112     SFX_DECL_XSERVICEINFO
113 
114         //----------------------------------------------------------------------------------
115     // XExtendedFilterDetect
116         //----------------------------------------------------------------------------------
117     virtual ::rtl::OUString SAL_CALL detect( SEQUENCE< ::com::sun::star::beans::PropertyValue >& lDescriptor ) throw( RUNTIME_EXCEPTION );
118 };
119 
120 #endif

source navigation ] diff markup ] identifier search ] general search ]

This page was automatically generated by the LXR engine.
The LXR team
Valid HTML 4.01!