ScPanelFactory.cxx (3c226292) ScPanelFactory.cxx (4847afeb)
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 "precompiled_sc.hxx"
23
24#include "ScPanelFactory.hxx"
25
26#include <AlignmentPropertyPanel.hxx>
27#include <CellAppearancePropertyPanel.hxx>
28#include <NumberFormatPropertyPanel.hxx>
29#include <navipi.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 "precompiled_sc.hxx"
23
24#include "ScPanelFactory.hxx"
25
26#include <AlignmentPropertyPanel.hxx>
27#include <CellAppearancePropertyPanel.hxx>
28#include <NumberFormatPropertyPanel.hxx>
29#include <navipi.hxx>
30#include <dwfunctr.hxx>
31#include "sc.hrc"
30
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

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

147 {
148 Window* pPanel = new ScNavigatorDlg(pBindings, NULL, pParentWindow);
149 xElement = sfx2::sidebar::SidebarPanelBase::Create(
150 rsResourceURL,
151 xFrame,
152 pPanel,
153 ui::LayoutSize(0,-1,-1));
154 }
32
33#include <sfx2/sidebar/SidebarPanelBase.hxx>
34#include <sfx2/sfxbasecontroller.hxx>
35#include <toolkit/helper/vclunohelper.hxx>
36#include <vcl/window.hxx>
37#include <rtl/ref.hxx>
38#include <comphelper/namedvaluecollection.hxx>
39

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

149 {
150 Window* pPanel = new ScNavigatorDlg(pBindings, NULL, pParentWindow);
151 xElement = sfx2::sidebar::SidebarPanelBase::Create(
152 rsResourceURL,
153 xFrame,
154 pPanel,
155 ui::LayoutSize(0,-1,-1));
156 }
157 else if (DoesResourceEndWith("/FunctionsPanel"))
158 {
159 Window* pPanel = new ScFunctionDockWin(pBindings, NULL, pParentWindow, ScResId(FID_FUNCTION_BOX));
160 xElement = sfx2::sidebar::SidebarPanelBase::Create(
161 rsResourceURL,
162 xFrame,
163 pPanel,
164 ui::LayoutSize(0,-1,-1));
165 }
155#undef DoesResourceEndWith
156
157 return xElement;
158}
159
160} } // end of namespace sc::sidebar
161
162// eof
166#undef DoesResourceEndWith
167
168 return xElement;
169}
170
171} } // end of namespace sc::sidebar
172
173// eof