Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_sfx2 / appuno.hxx
blobc6f1580359b9378c963e8c76411f7ded979de658
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: appuno.hxx,v $
10 * $Revision: 1.7 $
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 //____________________________________________________________________________________________________________________________________
34 // generated header
35 //____________________________________________________________________________________________________________________________________
37 #ifndef _COM_SUN_STAR_FRAME_XFRAME_HPP_
38 #include <com/sun/star/frame/XFrame.hpp>
39 #endif
41 #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
42 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
43 #endif
45 #ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
46 #include <com/sun/star/lang/XServiceInfo.hpp>
47 #endif
49 #ifndef _COM_SUN_STAR_LANG_XINITIALIZATION_HPP_
50 #include <com/sun/star/lang/XInitialization.hpp>
51 #endif
53 #ifndef _COM_SUN_STAR_LANG_XTYPEPROVIDER_HPP_
54 #include <com/sun/star/lang/XTypeProvider.hpp>
55 #endif
57 #ifndef _COM_SUN_STAR_REGISTRY_XSIMPLEREGISTRY_HPP_
58 #include <com/sun/star/registry/XSimpleRegistry.hpp>
59 #endif
61 #ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
62 #include <com/sun/star/beans/PropertyValue.hpp>
63 #endif
65 #ifndef _COM_SUN_STAR_UTIL_URL_HPP_
66 #include <com/sun/star/util/URL.hpp>
67 #endif
69 #ifndef _COM_SUN_STAR_UNO_EXCEPTION_HPP_
70 #include <com/sun/star/uno/Exception.hpp>
71 #endif
73 #ifndef _COM_SUN_STAR_FRAME_XDISPATCHPROVIDER_HPP_
74 #include <com/sun/star/frame/XDispatchProvider.hpp>
75 #endif
77 #ifndef _COM_SUN_STAR_FRAME_XDISPATCH_HPP_
78 #include <com/sun/star/frame/XDispatch.hpp>
79 #endif
81 #ifndef _COM_SUN_STAR_FRAME_XSYNCHRONOUSDISPATCH_HPP_
82 #include <com/sun/star/frame/XSynchronousDispatch.hpp>
83 #endif
85 #ifndef _COM_SUN_STAR_FRAME_XNOTIFYINGDISPATCH_HPP_
86 #include <com/sun/star/frame/XNotifyingDispatch.hpp>
87 #endif
89 #ifndef _COM_SUN_STAR_FRAME_XDISPATCHRESULTLISTENER_HPP_
90 #include <com/sun/star/frame/XDispatchResultListener.hpp>
91 #endif
93 #ifndef _COM_SUN_STAR_FRAME_DISPATCHDESCRIPTOR_HPP_
94 #include <com/sun/star/frame/DispatchDescriptor.hpp>
95 #endif
97 #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
98 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
99 #endif
101 //____________________________________________________________________________________________________________________________________
102 // fix uno header
103 //____________________________________________________________________________________________________________________________________
105 #ifndef _COM_SUN_STAR_UNO_ANY_H_
106 #include <com/sun/star/uno/Any.h>
107 #endif
109 #ifndef _COM_SUN_STAR_UNO_REFERENCE_H_
110 #include <com/sun/star/uno/Reference.h>
111 #endif
113 #ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
114 #include <com/sun/star/uno/Sequence.hxx>
115 #endif
117 #ifndef _CPPUHELPER_WEAK_HXX_
118 #include <cppuhelper/weak.hxx>
119 #endif
121 #ifndef _CPPUHELPER_IMPLBASE3_HXX_
122 #include <cppuhelper/implbase3.hxx>
123 #endif
125 //____________________________________________________________________________________________________________________________________
126 // something else header
127 //____________________________________________________________________________________________________________________________________
129 #ifndef _ERRCODE_HXX
130 #include <tools/errcode.hxx>
131 #endif
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 {
140 class SfxAllItemSet;
141 class SfxItemSet;
143 class SfxUsrAnyItem : public SfxPoolItem
145 ::com::sun::star::uno::Any aValue;
146 public:
147 TYPEINFO();
148 SfxUsrAnyItem( sal_uInt16 nWhich, const ::com::sun::star::uno::Any& rAny );
149 ::com::sun::star::uno::Any GetValue() const
150 { return aValue; }
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
168 #endif