PanelFactory.cxx (02c50d82) PanelFactory.cxx (2d839242)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 13 unchanged lines hidden (view full) ---

22#include "sidebar/PanelFactory.hxx"
23
24#include "text/TextPropertyPanel.hxx"
25#include "geometry/AreaPropertyPanel.hxx"
26#include "geometry/GraphicPropertyPanel.hxx"
27#include "geometry/LinePropertyPanel.hxx"
28#include "geometry/TransformationPropertyPanel.hxx"
29#include "gallery/GalleryControl.hxx"
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 13 unchanged lines hidden (view full) ---

22#include "sidebar/PanelFactory.hxx"
23
24#include "text/TextPropertyPanel.hxx"
25#include "geometry/AreaPropertyPanel.hxx"
26#include "geometry/GraphicPropertyPanel.hxx"
27#include "geometry/LinePropertyPanel.hxx"
28#include "geometry/TransformationPropertyPanel.hxx"
29#include "gallery/GalleryControl.hxx"
30#include "ColorPanel.hxx"
30#include <sfx2/sidebar/SidebarPanelBase.hxx>
31#include <sfx2/sfxbasecontroller.hxx>
32#include <toolkit/helper/vclunohelper.hxx>
33#include <vcl/window.hxx>
34#include <rtl/ref.hxx>
35#include <comphelper/namedvaluecollection.hxx>
36
37

--- 147 unchanged lines hidden (view full) ---

185 pParentWindow);
186 xElement = sfx2::sidebar::SidebarPanelBase::Create(
187 rsResourceURL,
188 xFrame,
189 pGalleryControl,
190 ::boost::function<void(void)>(),
191 ui::LayoutSize(300,-1,400));
192 }
31#include <sfx2/sidebar/SidebarPanelBase.hxx>
32#include <sfx2/sfxbasecontroller.hxx>
33#include <toolkit/helper/vclunohelper.hxx>
34#include <vcl/window.hxx>
35#include <rtl/ref.hxx>
36#include <comphelper/namedvaluecollection.hxx>
37
38

--- 147 unchanged lines hidden (view full) ---

186 pParentWindow);
187 xElement = sfx2::sidebar::SidebarPanelBase::Create(
188 rsResourceURL,
189 xFrame,
190 pGalleryControl,
191 ::boost::function<void(void)>(),
192 ui::LayoutSize(300,-1,400));
193 }
194 else if (DoesResourceEndWith("/Debug_ColorPanel"))
195 {
196 ColorPanel* pColorPanel = new ColorPanel(
197 pParentWindow);
198 xElement = sfx2::sidebar::SidebarPanelBase::Create(
199 rsResourceURL,
200 xFrame,
201 pColorPanel,
202 ::boost::function<void(void)>(),
203 ui::LayoutSize(300,-1,400));
204 }
193#undef DoesResourceEndWith
194
195 return xElement;
196}
197
198} } // end of namespace svx::sidebar
199
200// eof
205#undef DoesResourceEndWith
206
207 return xElement;
208}
209
210} } // end of namespace svx::sidebar
211
212// eof