1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
31 #include <com/sun/star/awt/XControlContainer.hpp>
32 #include <com/sun/star/awt/XControl.hpp>
33 #include <com/sun/star/awt/XControlModel.hpp>
34 #include <com/sun/star/form/XForm.hpp>
35 // #100312# -----------------
36 #include <com/sun/star/frame/XDispatchProviderInterception.hpp>
37 #include <cppuhelper/implbase1.hxx> // helper for implementations
38 #include <vcl/splitwin.hxx>
39 #include "toolbar.hxx"
40 #include "formcontrolcontainer.hxx"
41 #include "bibshortcuthandler.hxx"
45 //.........................................................................
48 //.........................................................................
52 :public BibSplitWindow
53 ,public FormControlContainer
57 ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XController
> m_xController
;
58 ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XFrame
> m_xToolBarRef
;
59 ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XFrame
> m_xGridRef
;
60 ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XWindow
> m_xGridWin
;
62 BibDataManager
* pDatMan
;
66 DECL_LINK( RecalcLayout_Impl
, void* );
73 // FormControlContainer ----------
74 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XControlContainer
>
75 getControlContainer();
77 // #100312# -------------------
78 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XDispatchProviderInterception
>
79 getDispatchProviderInterception();
81 BibBeamer(Window
* pParent
,BibDataManager
* pDatMan
, WinBits nStyle
= WB_3DLOOK
);
84 void SetXController(const ::com::sun::star::uno::Reference
< ::com::sun::star::frame::XController
> &);
86 virtual void GetFocus();
89 //.........................................................................
91 //.........................................................................