1*ca6f8f21SArmin Le Grand /**************************************************************
2*ca6f8f21SArmin Le Grand *
3*ca6f8f21SArmin Le Grand * Licensed to the Apache Software Foundation (ASF) under one
4*ca6f8f21SArmin Le Grand * or more contributor license agreements. See the NOTICE file
5*ca6f8f21SArmin Le Grand * distributed with this work for additional information
6*ca6f8f21SArmin Le Grand * regarding copyright ownership. The ASF licenses this file
7*ca6f8f21SArmin Le Grand * to you under the Apache License, Version 2.0 (the
8*ca6f8f21SArmin Le Grand * "License"); you may not use this file except in compliance
9*ca6f8f21SArmin Le Grand * with the License. You may obtain a copy of the License at
10*ca6f8f21SArmin Le Grand *
11*ca6f8f21SArmin Le Grand * http://www.apache.org/licenses/LICENSE-2.0
12*ca6f8f21SArmin Le Grand *
13*ca6f8f21SArmin Le Grand * Unless required by applicable law or agreed to in writing,
14*ca6f8f21SArmin Le Grand * software distributed under the License is distributed on an
15*ca6f8f21SArmin Le Grand * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*ca6f8f21SArmin Le Grand * KIND, either express or implied. See the License for the
17*ca6f8f21SArmin Le Grand * specific language governing permissions and limitations
18*ca6f8f21SArmin Le Grand * under the License.
19*ca6f8f21SArmin Le Grand *
20*ca6f8f21SArmin Le Grand *************************************************************/
21*ca6f8f21SArmin Le Grand
22*ca6f8f21SArmin Le Grand // MARKER(update_precomp.py): autogen include statement, do not remove
23*ca6f8f21SArmin Le Grand #include "precompiled_svx.hxx"
24*ca6f8f21SArmin Le Grand
25*ca6f8f21SArmin Le Grand #include <svx/SvxColorChildWindow.hxx>
26*ca6f8f21SArmin Le Grand #include <sfx2/dockwin.hxx>
27*ca6f8f21SArmin Le Grand #include <svx/svxids.hrc>
28*ca6f8f21SArmin Le Grand #include <svx/dialogs.hrc>
29*ca6f8f21SArmin Le Grand #include <svx/colrctrl.hxx>
30*ca6f8f21SArmin Le Grand #include <svx/dialmgr.hxx>
31*ca6f8f21SArmin Le Grand
SFX_IMPL_DOCKINGWINDOW(SvxColorChildWindow,SID_COLOR_CONTROL)32*ca6f8f21SArmin Le Grand SFX_IMPL_DOCKINGWINDOW( SvxColorChildWindow, SID_COLOR_CONTROL )
33*ca6f8f21SArmin Le Grand
34*ca6f8f21SArmin Le Grand /*************************************************************************
35*ca6f8f21SArmin Le Grand |*
36*ca6f8f21SArmin Le Grand |* Ableitung vom SfxChildWindow als "Behaelter" fuer Animator
37*ca6f8f21SArmin Le Grand |*
38*ca6f8f21SArmin Le Grand \************************************************************************/
39*ca6f8f21SArmin Le Grand
40*ca6f8f21SArmin Le Grand SvxColorChildWindow::SvxColorChildWindow( Window* _pParent,
41*ca6f8f21SArmin Le Grand sal_uInt16 nId,
42*ca6f8f21SArmin Le Grand SfxBindings* pBindings,
43*ca6f8f21SArmin Le Grand SfxChildWinInfo* pInfo ) :
44*ca6f8f21SArmin Le Grand SfxChildWindow( _pParent, nId )
45*ca6f8f21SArmin Le Grand {
46*ca6f8f21SArmin Le Grand SvxColorDockingWindow* pWin = new SvxColorDockingWindow( pBindings, this,
47*ca6f8f21SArmin Le Grand _pParent, SVX_RES( RID_SVXCTRL_COLOR ) );
48*ca6f8f21SArmin Le Grand pWindow = pWin;
49*ca6f8f21SArmin Le Grand
50*ca6f8f21SArmin Le Grand eChildAlignment = SFX_ALIGN_BOTTOM;
51*ca6f8f21SArmin Le Grand
52*ca6f8f21SArmin Le Grand pWin->Initialize( pInfo );
53*ca6f8f21SArmin Le Grand }
54*ca6f8f21SArmin Le Grand
55*ca6f8f21SArmin Le Grand // eof
56