tdf#130857 qt weld: Support mail merge "Server Auth" dialog
[LibreOffice.git] / extensions / source / bibliography / bibbeam.hxx
blob4cc32d7da93e6c2de4f2818d5ad16b2af3ba576f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #pragma once
22 #include <com/sun/star/awt/XControlContainer.hpp>
23 #include <com/sun/star/frame/XDispatchProviderInterception.hpp>
24 #include "toolbar.hxx"
25 #include "formcontrolcontainer.hxx"
26 #include "bibshortcuthandler.hxx"
28 class BibDataManager;
31 namespace bib
35 class BibGridwin;
36 class BibBeamer final
37 :public BibSplitWindow
38 ,public FormControlContainer
40 css::uno::Reference< css::frame::XController > m_xController;
42 BibDataManager* pDatMan;
43 VclPtr<BibToolBar> pToolBar;
44 VclPtr<BibGridwin> pGridWin;
46 DECL_LINK( RecalcLayout_Impl, void*, void );
48 void createToolBar();
49 void createGridWin();
51 // FormControlContainer ----------
52 virtual css::uno::Reference< css::awt::XControlContainer >
53 getControlContainer() override;
54 public:
55 css::uno::Reference< css::frame::XDispatchProviderInterception >
56 getDispatchProviderInterception() const;
58 BibBeamer(vcl::Window* pParent,BibDataManager* pDatMan );
59 virtual ~BibBeamer() override;
60 virtual void dispose() override;
62 void SetXController(const css::uno::Reference< css::frame::XController > &);
64 virtual void GetFocus() override;
68 } // namespace bib
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */