PanelFactory.cxx (58e893ae) PanelFactory.cxx (35fa8f12)
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

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

16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22#include "sidebar/PanelFactory.hxx"
23
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

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

16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22#include "sidebar/PanelFactory.hxx"
23
24#include "text/TextPropertyPanel.hxx"
25#include "geometry/AreaPropertyPanel.hxx"
24#include <text/TextPropertyPanel.hxx>
25#include <geometry/AreaPropertyPanel.hxx>
26#include <geometry/LinePropertyPanel.hxx>
26#include <geometry/LinePropertyPanel.hxx>
27#include <geometry/TransformationPropertyPanel.hxx>
27#include <sfx2/sidebar/SidebarPanelBase.hxx>
28#include <sfx2/sfxbasecontroller.hxx>
29#include <toolkit/helper/vclunohelper.hxx>
30#include <vcl/window.hxx>
31#include <rtl/ref.hxx>
32#include <comphelper/namedvaluecollection.hxx>
33
34#include <boost/bind.hpp>

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

145 {
146 LinePropertyPanel* pPanel = LinePropertyPanel::Create(pParentWindow, xFrame, pBindings);
147 xElement = sfx2::sidebar::SidebarPanelBase::Create(
148 rsResourceURL,
149 xFrame,
150 pPanel,
151 ::boost::function<void(void)>());
152 }
28#include <sfx2/sidebar/SidebarPanelBase.hxx>
29#include <sfx2/sfxbasecontroller.hxx>
30#include <toolkit/helper/vclunohelper.hxx>
31#include <vcl/window.hxx>
32#include <rtl/ref.hxx>
33#include <comphelper/namedvaluecollection.hxx>
34
35#include <boost/bind.hpp>

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

146 {
147 LinePropertyPanel* pPanel = LinePropertyPanel::Create(pParentWindow, xFrame, pBindings);
148 xElement = sfx2::sidebar::SidebarPanelBase::Create(
149 rsResourceURL,
150 xFrame,
151 pPanel,
152 ::boost::function<void(void)>());
153 }
154 else if (rsResourceURL.endsWithAsciiL("/TransformationPropertyPanel", strlen("/TransformationPropertyPanel")))
155 {
156 LinePropertyPanel* pPanel = LinePropertyPanel::Create(pParentWindow, xFrame, pBindings);
157 xElement = sfx2::sidebar::SidebarPanelBase::Create(
158 rsResourceURL,
159 xFrame,
160 pPanel,
161 ::boost::function<void(void)>());
162 }
153
154 return xElement;
155}
156
157} } // end of namespace svx::sidebar
163
164 return xElement;
165}
166
167} } // end of namespace svx::sidebar
168
169// eof