LibreOffice Module sfx2 (master) 1
DevelopmentToolChildWindow.cxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 */
10
13#include <sfx2/sfxsids.hrc>
14
15SFX_IMPL_DOCKINGWINDOW_WITHID(DevelopmentToolChildWindow, SID_DEVELOPMENT_TOOLS_DOCKING_WINDOW);
16
18 SfxBindings* pBindings,
19 SfxChildWinInfo* pInfo)
20 : SfxChildWindow(pParentWindow, nId)
21{
23 = VclPtr<DevelopmentToolDockingWindow>::Create(pBindings, this, pParentWindow);
24 SetWindow(pWin);
26 pWin->SetSizePixel(Size(0, 290));
27 pWin->Initialize(pInfo);
28}
29
30/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SFX_IMPL_DOCKINGWINDOW_WITHID(DevelopmentToolChildWindow, SID_DEVELOPMENT_TOOLS_DOCKING_WINDOW)
Necessary child window for the development tools docking window.
DevelopmentToolChildWindow(vcl::Window *pParentWindow, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo)
void SetAlignment(SfxChildAlignment eAlign)
Definition: childwin.cxx:299
void SetWindow(const VclPtr< vcl::Window > &p)
Definition: childwin.hxx:111
static VclPtr< reference_type > Create(Arg &&... arg)
sal_Int16 nId