1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: appuno.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _SFX_APPUNO_HXX
31 #define _SFX_APPUNO_HXX
33 //____________________________________________________________________________________________________________________________________
35 //____________________________________________________________________________________________________________________________________
37 #ifndef _COM_SUN_STAR_FRAME_XFRAME_HPP_
38 #include <com/sun/star/frame/XFrame.hpp>
41 #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
42 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
45 #ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
46 #include <com/sun/star/lang/XServiceInfo.hpp>
49 #ifndef _COM_SUN_STAR_LANG_XINITIALIZATION_HPP_
50 #include <com/sun/star/lang/XInitialization.hpp>
53 #ifndef _COM_SUN_STAR_LANG_XTYPEPROVIDER_HPP_
54 #include <com/sun/star/lang/XTypeProvider.hpp>
57 #ifndef _COM_SUN_STAR_REGISTRY_XSIMPLEREGISTRY_HPP_
58 #include <com/sun/star/registry/XSimpleRegistry.hpp>
61 #ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
62 #include <com/sun/star/beans/PropertyValue.hpp>
65 #ifndef _COM_SUN_STAR_UTIL_URL_HPP_
66 #include <com/sun/star/util/URL.hpp>
69 #ifndef _COM_SUN_STAR_UNO_EXCEPTION_HPP_
70 #include <com/sun/star/uno/Exception.hpp>
73 #ifndef _COM_SUN_STAR_FRAME_XDISPATCHPROVIDER_HPP_
74 #include <com/sun/star/frame/XDispatchProvider.hpp>
77 #ifndef _COM_SUN_STAR_FRAME_XDISPATCH_HPP_
78 #include <com/sun/star/frame/XDispatch.hpp>
81 #ifndef _COM_SUN_STAR_FRAME_XSYNCHRONOUSDISPATCH_HPP_
82 #include <com/sun/star/frame/XSynchronousDispatch.hpp>
85 #ifndef _COM_SUN_STAR_FRAME_XNOTIFYINGDISPATCH_HPP_
86 #include <com/sun/star/frame/XNotifyingDispatch.hpp>
89 #ifndef _COM_SUN_STAR_FRAME_XDISPATCHRESULTLISTENER_HPP_
90 #include <com/sun/star/frame/XDispatchResultListener.hpp>
93 #ifndef _COM_SUN_STAR_FRAME_DISPATCHDESCRIPTOR_HPP_
94 #include <com/sun/star/frame/DispatchDescriptor.hpp>
97 #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
98 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
101 //____________________________________________________________________________________________________________________________________
103 //____________________________________________________________________________________________________________________________________
105 #ifndef _COM_SUN_STAR_UNO_ANY_H_
106 #include <com/sun/star/uno/Any.h>
109 #ifndef _COM_SUN_STAR_UNO_REFERENCE_H_
110 #include <com/sun/star/uno/Reference.h>
113 #ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
114 #include <com/sun/star/uno/Sequence.hxx>
117 #ifndef _CPPUHELPER_WEAK_HXX_
118 #include <cppuhelper/weak.hxx>
121 #ifndef _CPPUHELPER_IMPLBASE3_HXX_
122 #include <cppuhelper/implbase3.hxx>
125 //____________________________________________________________________________________________________________________________________
126 // something else header
127 //____________________________________________________________________________________________________________________________________
130 #include <tools/errcode.hxx>
132 #include <bf_svtools/svarray.hxx>
133 #define _SVSTDARR_STRINGSDTOR
134 #include <bf_svtools/svstdarr.hxx>
135 #include <bf_sfx2/sfxuno.hxx>
137 #include <bf_svtools/poolitem.hxx>
139 namespace binfilter
{
143 class SfxUsrAnyItem
: public SfxPoolItem
145 ::com::sun::star::uno::Any aValue
;
148 SfxUsrAnyItem( sal_uInt16 nWhich
, const ::com::sun::star::uno::Any
& rAny
);
149 ::com::sun::star::uno::Any
GetValue() const
151 virtual int operator==( const SfxPoolItem
& ) const;
152 virtual String
GetValueText() const{DBG_BF_ASSERT(0, "STRIP"); return String();} //STRIP001 virtual String GetValueText() const;
153 virtual SfxPoolItem
* Clone( SfxItemPool
*pPool
= 0 ) const;
156 typedef SfxUsrAnyItem SfxUnoAnyItem
;
158 void TransformParameters( sal_uInt16 nSlotId
,
159 const UNOSEQUENCE
< UNOPROPERTYVALUE
>& seqArgs
,
160 SfxAllItemSet
& aSet
);
162 void TransformItems( sal_uInt16 nSlotId
,
163 const SfxItemSet
& aSet
,
164 UNOSEQUENCE
< UNOPROPERTYVALUE
>& seqArgs
);
167 }//end of namespace binfilter