SwPanelFactory.cxx (a5761a6e) | SwPanelFactory.cxx (721f296a) |
---|---|
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 --- 10 unchanged lines hidden (view full) --- 19 * 20 *************************************************************/ 21 22#include "precompiled_sw.hxx" 23 24#include "SwPanelFactory.hxx" 25 26#include <PagePropertyPanel.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 --- 10 unchanged lines hidden (view full) --- 19 * 20 *************************************************************/ 21 22#include "precompiled_sw.hxx" 23 24#include "SwPanelFactory.hxx" 25 26#include <PagePropertyPanel.hxx> |
27#include <WrapPropertyPanel.hxx> |
|
27 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 --- 82 unchanged lines hidden (view full) --- 117 { 118 PagePropertyPanel* pPanel = PagePropertyPanel::Create( pParentWindow, pBindings ); 119 xElement = sfx2::sidebar::SidebarPanelBase::Create( 120 rsResourceURL, 121 xFrame, 122 pPanel, 123 ui::LayoutSize(-1,-1,-1)); 124 } | 28 29#include <sfx2/sidebar/SidebarPanelBase.hxx> 30#include <sfx2/sfxbasecontroller.hxx> 31#include <toolkit/helper/vclunohelper.hxx> 32#include <vcl/window.hxx> 33#include <rtl/ref.hxx> 34#include <comphelper/namedvaluecollection.hxx> 35 --- 82 unchanged lines hidden (view full) --- 118 { 119 PagePropertyPanel* pPanel = PagePropertyPanel::Create( pParentWindow, pBindings ); 120 xElement = sfx2::sidebar::SidebarPanelBase::Create( 121 rsResourceURL, 122 xFrame, 123 pPanel, 124 ui::LayoutSize(-1,-1,-1)); 125 } |
126 else if (DoesResourceEndWith("/WrapPropertyPanel")) 127 { 128 WrapPropertyPanel* pPanel = WrapPropertyPanel::Create( pParentWindow, xFrame, pBindings ); 129 xElement = sfx2::sidebar::SidebarPanelBase::Create( 130 rsResourceURL, 131 xFrame, 132 pPanel, 133 ui::LayoutSize(-1,-1,-1)); 134 } |
|
125#undef DoesResourceEndWith 126 127 return xElement; 128} 129 130} } // end of namespace sw::sidebar 131 132// eof | 135#undef DoesResourceEndWith 136 137 return xElement; 138} 139 140} } // end of namespace sw::sidebar 141 142// eof |