xref: /aoo42x/main/sfx2/source/inc/hexplwnd.hxx (revision 353d8f4d)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _HEXPLWND_HXX
24 #define _HEXPLWND_HXX
25 
26 // includes --------------------------------------------------------------
27 
28 #include <com/sun/star/beans/PropertyValues.hpp>
29 #include <com/sun/star/beans/XPropertySet.hpp>
30 #include <com/sun/star/beans/PropertyValue.hpp>
31 #include <com/sun/star/beans/PropertyState.hpp>
32 #include <com/sun/star/beans/XPropertySetInfo.hpp>
33 #include <com/sun/star/beans/XMultiPropertySet.hpp>
34 #include <com/sun/star/beans/XFastPropertySet.hpp>
35 #include <com/sun/star/beans/XVetoableChangeListener.hpp>
36 #include <com/sun/star/beans/XPropertyState.hpp>
37 #include <com/sun/star/beans/XPropertyStateChangeListener.hpp>
38 #include <com/sun/star/beans/PropertyAttribute.hpp>
39 #include <com/sun/star/beans/XPropertiesChangeListener.hpp>
40 #include <com/sun/star/beans/XPropertyChangeListener.hpp>
41 #include <com/sun/star/beans/XPropertyAccess.hpp>
42 #include <com/sun/star/beans/XPropertyContainer.hpp>
43 #include <com/sun/star/beans/PropertyStateChangeEvent.hpp>
44 #include <com/sun/star/beans/PropertyChangeEvent.hpp>
45 #include <com/sun/star/frame/XFrame.hpp>
46 #include <com/sun/star/util/URL.hpp>
47 #include <sfx2/childwin.hxx>
48 #include <sfx2/dockwin.hxx>
49 
50 // forward ---------------------------------------------------------------
51 
52 class SfxBeamerUnoFrame_Impl;
53 
54 // class SfxExplorerHorizChildWnd_Impl -----------------------------------
55 
56 class SfxExplorerHorizChildWnd_Impl : public SfxChildWindow
57 {
58 public:
59 	SfxExplorerHorizChildWnd_Impl( Window* pParent, sal_uInt16 nId,
60 								   SfxBindings* pBindings,
61 								   SfxChildWinInfo* pInfo );
62 
63 	SFX_DECL_CHILDWINDOW(SfxExplorerHorizChildWnd_Impl);
64 
65 
66 	virtual sal_Bool		QueryClose();
67 };
68 
69 // class SfxExplorerDockWnd_Impl -----------------------------------------
70 
71 class SfxExplorerHorizDockWnd_Impl : public SfxDockingWindow
72 {
73 private:
74 	SfxBeamerUnoFrame_Impl*	_pFrame;
75 
76 protected:
77 	virtual void 			GetFocus();
78 	virtual long			Notify( NotifyEvent& rNEvt );
79 
80 public:
81 	SfxExplorerHorizDockWnd_Impl( SfxBindings* pBindings,
82 								  SfxChildWindow* pChildWin,
83 								  Window* pParent, const ResId& rResId );
84 	~SfxExplorerHorizDockWnd_Impl();
85 
86 	virtual void    		FillInfo( SfxChildWinInfo& ) const;
87 	virtual void        	FadeIn( sal_Bool );
88 	sal_Bool					QueryClose();
89 	void 					SetURL( const ::com::sun::star::util::URL& rURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rArgs );
90 	const ::com::sun::star::util::URL&				GetURL() const;
91 	::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >				GetFrameInterface();
92 	const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >&	GetArgs() const;
93 };
94 
95 
96 #endif
97 
98