Sidebar.cxx (22de8995) | Sidebar.cxx (ff12d537) |
---|---|
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 --- 8 unchanged lines hidden (view full) --- 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22#include "precompiled_sfx2.hxx" 23 24#include "Sidebar.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 --- 8 unchanged lines hidden (view full) --- 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22#include "precompiled_sfx2.hxx" 23 24#include "Sidebar.hxx" |
25#include "ContentPanelManager.hxx" | 25#include "ResourceManager.hxx" |
26 27using namespace css; 28using namespace cssu; 29 | 26 27using namespace css; 28using namespace cssu; 29 |
30namespace sfx2 { | 30namespace sfx2 { namespace sidebar { |
31 32Sidebar::Sidebar( 33 Window& rParentWindow, 34 const Reference<frame::XFrame>& rxDocumentFrame) 35 : Window(&rParentWindow, WB_DIALOGCONTROL) 36{ 37 ContentPanelManager::Instance(); 38} --- 19 unchanged lines hidden (view full) --- 58 59void Sidebar::GetFocus (void) 60{ 61 Window::GetFocus(); 62 // m_pImpl->OnGetFocus(); 63} 64 65 | 31 32Sidebar::Sidebar( 33 Window& rParentWindow, 34 const Reference<frame::XFrame>& rxDocumentFrame) 35 : Window(&rParentWindow, WB_DIALOGCONTROL) 36{ 37 ContentPanelManager::Instance(); 38} --- 19 unchanged lines hidden (view full) --- 58 59void Sidebar::GetFocus (void) 60{ 61 Window::GetFocus(); 62 // m_pImpl->OnGetFocus(); 63} 64 65 |
66} // end of namespace sfx2 | 66 67 68void Sidebar::DataChanged (const DataChangedEvent& rDataChangedEvent) 69{ 70 if (rDataChangedEvent.GetType() == DATACHANGED_SETTINGS 71 && (rDataChangedEvent.GetFlags() & SETTINGS_STYLE)!= 0) 72 { 73 Invalidate(); 74 } 75 else 76 Window::DataChanged(rDataChangedEvent); 77} 78 79 80 81} } // end of namespace sfx2::sidebar |