SidebarController.hxx (52d13b84) | SidebarController.hxx (7e429a12) |
---|---|
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 --- 102 unchanged lines hidden (view full) --- 111 */ 112 void RequestCloseDeck (void); 113 114 /** Open the deck area and restore the parent window to its old width. 115 */ 116 void RequestOpenDeck (void); 117 118 FocusManager& GetFocusManager (void); | 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 --- 102 unchanged lines hidden (view full) --- 111 */ 112 void RequestCloseDeck (void); 113 114 /** Open the deck area and restore the parent window to its old width. 115 */ 116 void RequestOpenDeck (void); 117 118 FocusManager& GetFocusManager (void); |
119 | 119 |
120private: 121 ::boost::scoped_ptr<Deck> mpCurrentDeck; 122 SidebarDockingWindow* mpParentWindow; 123 ::boost::scoped_ptr<TabBar> mpTabBar; 124 cssu::Reference<css::frame::XFrame> mxFrame; 125 Context maCurrentContext; 126 Context maRequestedContext; 127 ::rtl::OUString msCurrentDeckId; --- 39 unchanged lines hidden (view full) --- 167 const SharedPanelContainer& rCurrentPanels, 168 const ResourceManager::PanelContextDescriptorContainer& rRequestedPanels); 169 cssu::Reference<css::ui::XUIElement> CreateUIElement ( 170 const cssu::Reference<css::awt::XWindowPeer>& rxWindow, 171 const ::rtl::OUString& rsImplementationURL, 172 const bool bWantsCanvas); 173 SharedPanel CreatePanel ( 174 const ::rtl::OUString& rsPanelId, | 120private: 121 ::boost::scoped_ptr<Deck> mpCurrentDeck; 122 SidebarDockingWindow* mpParentWindow; 123 ::boost::scoped_ptr<TabBar> mpTabBar; 124 cssu::Reference<css::frame::XFrame> mxFrame; 125 Context maCurrentContext; 126 Context maRequestedContext; 127 ::rtl::OUString msCurrentDeckId; --- 39 unchanged lines hidden (view full) --- 167 const SharedPanelContainer& rCurrentPanels, 168 const ResourceManager::PanelContextDescriptorContainer& rRequestedPanels); 169 cssu::Reference<css::ui::XUIElement> CreateUIElement ( 170 const cssu::Reference<css::awt::XWindowPeer>& rxWindow, 171 const ::rtl::OUString& rsImplementationURL, 172 const bool bWantsCanvas); 173 SharedPanel CreatePanel ( 174 const ::rtl::OUString& rsPanelId, |
175 ::Window* pParentWindow ); | 175 ::Window* pParentWindow, 176 const bool bIsInitiallyExpanded); |
176 void SwitchToDeck ( 177 const DeckDescriptor& rDeckDescriptor, 178 const Context& rContext); 179 void ShowPopupMenu ( 180 const Rectangle& rButtonBox, 181 const ::std::vector<TabBar::DeckMenuData>& rDeckSelectionData, 182 const ::std::vector<TabBar::DeckMenuData>& rDeckShowData) const; 183 void ShowDetailMenu (const ::rtl::OUString& rsMenuCommand) const; --- 26 unchanged lines hidden (view full) --- 210 void ProcessNewWidth (const sal_Int32 nNewWidth); 211 void UpdateCloseIndicator (const bool bIsIndicatorVisible); 212 213 /** Typically called when a panel is focused via keyboard. 214 Tries to scroll the deck up or down to make the given panel 215 completely visible. 216 */ 217 void ShowPanel (const Panel& rPanel); | 177 void SwitchToDeck ( 178 const DeckDescriptor& rDeckDescriptor, 179 const Context& rContext); 180 void ShowPopupMenu ( 181 const Rectangle& rButtonBox, 182 const ::std::vector<TabBar::DeckMenuData>& rDeckSelectionData, 183 const ::std::vector<TabBar::DeckMenuData>& rDeckShowData) const; 184 void ShowDetailMenu (const ::rtl::OUString& rsMenuCommand) const; --- 26 unchanged lines hidden (view full) --- 211 void ProcessNewWidth (const sal_Int32 nNewWidth); 212 void UpdateCloseIndicator (const bool bIsIndicatorVisible); 213 214 /** Typically called when a panel is focused via keyboard. 215 Tries to scroll the deck up or down to make the given panel 216 completely visible. 217 */ 218 void ShowPanel (const Panel& rPanel); |
218 | 219 220 Context GetCurrentContext (void) const; 221 |
219 virtual void SAL_CALL disposing (void); 220}; 221 222 223} } // end of namespace sfx2::sidebar 224 225#endif | 222 virtual void SAL_CALL disposing (void); 223}; 224 225 226} } // end of namespace sfx2::sidebar 227 228#endif |