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: hexplwnd.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 ************************************************************************/
33 // includes --------------------------------------------------------------
35 #include <com/sun/star/beans/PropertyValues.hpp>
36 #include <com/sun/star/beans/XPropertySet.hpp>
37 #include <com/sun/star/beans/PropertyValue.hpp>
38 #include <com/sun/star/beans/PropertyState.hpp>
39 #include <com/sun/star/beans/XPropertySetInfo.hpp>
40 #include <com/sun/star/beans/XMultiPropertySet.hpp>
41 #include <com/sun/star/beans/XFastPropertySet.hpp>
42 #include <com/sun/star/beans/XVetoableChangeListener.hpp>
43 #include <com/sun/star/beans/XPropertyState.hpp>
44 #include <com/sun/star/beans/XPropertyStateChangeListener.hpp>
45 #include <com/sun/star/beans/PropertyAttribute.hpp>
46 #include <com/sun/star/beans/XPropertiesChangeListener.hpp>
47 #include <com/sun/star/beans/XPropertyChangeListener.hpp>
48 #include <com/sun/star/beans/XPropertyAccess.hpp>
49 #include <com/sun/star/beans/XPropertyContainer.hpp>
50 #include <com/sun/star/beans/PropertyStateChangeEvent.hpp>
51 #include <com/sun/star/beans/PropertyChangeEvent.hpp>
52 #include <com/sun/star/frame/XFrame.hpp>
53 #include <com/sun/star/util/URL.hpp>
54 #include <sfx2/childwin.hxx>
55 #include <sfx2/dockwin.hxx>
57 // forward ---------------------------------------------------------------
59 class SfxBeamerUnoFrame_Impl
;
61 // class SfxExplorerHorizChildWnd_Impl -----------------------------------
63 class SfxExplorerHorizChildWnd_Impl
: public SfxChildWindow
66 SfxExplorerHorizChildWnd_Impl( Window
* pParent
, sal_uInt16 nId
,
67 SfxBindings
* pBindings
,
68 SfxChildWinInfo
* pInfo
);
70 SFX_DECL_CHILDWINDOW(SfxExplorerHorizChildWnd_Impl
);
73 virtual sal_Bool
QueryClose();
76 // class SfxExplorerDockWnd_Impl -----------------------------------------
78 class SfxExplorerHorizDockWnd_Impl
: public SfxDockingWindow
81 SfxBeamerUnoFrame_Impl
* _pFrame
;
84 virtual void GetFocus();
85 virtual long Notify( NotifyEvent
& rNEvt
);
88 SfxExplorerHorizDockWnd_Impl( SfxBindings
* pBindings
,
89 SfxChildWindow
* pChildWin
,
90 Window
* pParent
, const ResId
& rResId
);
91 ~SfxExplorerHorizDockWnd_Impl();
93 virtual void FillInfo( SfxChildWinInfo
& ) const;
94 virtual void FadeIn( sal_Bool
);
95 sal_Bool
QueryClose();
96 void SetURL( const ::com::sun::star::util::URL
& rURL
, const ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
>& rArgs
);
97 const ::com::sun::star::util::URL
& GetURL() const;
98 ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XFrame
> GetFrameInterface();
99 const ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
>& GetArgs() const;