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: bibbeam.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 ************************************************************************/
34 #include <com/sun/star/awt/XControlContainer.hpp>
35 #include <com/sun/star/awt/XControl.hpp>
36 #include <com/sun/star/awt/XControlModel.hpp>
37 #include <com/sun/star/form/XForm.hpp>
38 // #100312# -----------------
39 #include <com/sun/star/frame/XDispatchProviderInterception.hpp>
40 #include <cppuhelper/implbase1.hxx> // helper for implementations
41 #include <vcl/splitwin.hxx>
42 #include "toolbar.hxx"
43 #include "formcontrolcontainer.hxx"
44 #include "bibshortcuthandler.hxx"
48 //.........................................................................
51 //.........................................................................
55 :public BibSplitWindow
56 ,public FormControlContainer
60 ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XController
> m_xController
;
61 ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XFrame
> m_xToolBarRef
;
62 ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XFrame
> m_xGridRef
;
63 ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XWindow
> m_xGridWin
;
65 BibDataManager
* pDatMan
;
69 DECL_LINK( RecalcLayout_Impl
, void* );
76 // FormControlContainer ----------
77 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XControlContainer
>
78 getControlContainer();
80 // #100312# -------------------
81 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XDispatchProviderInterception
>
82 getDispatchProviderInterception();
84 BibBeamer(Window
* pParent
,BibDataManager
* pDatMan
, WinBits nStyle
= WB_3DLOOK
);
87 void SetXController(const ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XController
> &);
89 virtual void GetFocus();
92 //.........................................................................
94 //.........................................................................