22#include <com/sun/star/awt/PosSize.hpp>
23#include <com/sun/star/uno/XComponentContext.hpp>
46 DBG_ASSERT( pParent,
"-GetTaskPaneList(): everybody here should have a parent!" );
75 virtual void Resize()
override;
81 virtual void dispose()
override;
83 void createGridWin(
const Reference< awt::XControlModel > & xDbForm);
133 uno::Reference< XPropertySet > xPropSet(
m_xGridModel, UNO_QUERY );
137 uno::Any aAny = xPropSet->getPropertyValue(
"DefaultControl" );
138 OUString aControlName;
139 aAny >>= aControlName;
141 m_xControl.set( xContext->getServiceManager()->createInstanceWithContext(aControlName, xContext), UNO_QUERY_THROW );
164 Reference< awt::XControl > xDel(
m_xControl );
230 Reference< awt::XControlContainer > xReturn;
232 xReturn =
pGridWin->getControlContainer();
238 Reference< frame::XDispatchProviderInterception > xReturn;
240 xReturn =
pGridWin->getDispatchProviderInterception();
261 tools::Long nHeight = pToolBar->get_preferred_size().Height();
css::uno::Reference< css::awt::XControlModel > const & updateGridModel(const css::uno::Reference< css::form::XForm > &xDbForm)
void SetToolbar(BibToolBar *pSet)
constexpr tools::Long Height() const
constexpr tools::Long Width() const
virtual void dispose() override
void InsertItem(sal_uInt16 nId, vcl::Window *pWindow, tools::Long nSize, sal_uInt16 nPos, sal_uInt16 nIntoSetId, SplitWindowItemFlags nBits)
TaskPaneList * GetTaskPaneList()
void AddWindow(vcl::Window *pWindow)
void RemoveWindow(vcl::Window *pWindow)
static css::uno::Reference< css::awt::XControlContainer > CreateControlContainer(vcl::Window *pWindow)
static VclPtr< reference_type > Create(Arg &&... arg)
void SetXController(const css::uno::Reference< css::frame::XController > &)
VclPtr< BibToolBar > pToolBar
virtual css::uno::Reference< css::awt::XControlContainer > getControlContainer() override
css::uno::Reference< css::frame::XDispatchProviderInterception > getDispatchProviderInterception() const
virtual void GetFocus() override
virtual ~BibBeamer() override
BibBeamer(vcl::Window *pParent, BibDataManager *pDatMan)
css::uno::Reference< css::frame::XController > m_xController
VclPtr< BibGridwin > pGridWin
virtual void dispose() override
virtual void dispose() override
void createGridWin(const Reference< awt::XControlModel > &xDbForm)
Reference< awt::XControlContainer > m_xControlContainer
virtual ~BibGridwin() override
BibGridwin(vcl::Window *pParent, WinBits nStyle)
virtual void Resize() override
Reference< awt::XControlModel > m_xGridModel
const Reference< frame::XDispatchProviderInterception > & getDispatchProviderInterception() const
const Reference< awt::XControlContainer > & getControlContainer() const
virtual void GetFocus() override
Reference< frame::XDispatchProviderInterception > m_xDispatchProviderInterception
Reference< awt::XControl > m_xControl
Reference< awt::XWindow > m_xGridWin
virtual void dispose() override
vcl::Window * GetParent() const
SystemWindow * GetSystemWindow() const
Size GetOutputSizePixel() const
#define DBG_ASSERT(sCon, aError)
#define LINK(Instance, Class, Member)
void AddToTaskPaneList(vcl::Window *pWindowToBeHandled)
IMPL_LINK_NOARG(BibBeamer, RecalcLayout_Impl, void *, void)
void RemoveFromTaskPaneList(vcl::Window *pWindowToBeHandled)
void HandleTaskPaneList(vcl::Window *pWindow, bool bAddToList)
Reference< XComponentContext > getProcessComponentContext()
WinBits const WB_NOSPLITDRAW