diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-05-06 08:28:20 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-05-06 08:28:20 +0000 |
commit | af86dfec240463869c1a4aa9cecf6880be615c07 (patch) | |
tree | 495857ddfba5d0b9a9b617137841de4eada766a7 | |
parent | 0095304967a5958d8b6b77201a0ea46d941118db (diff) |
INTEGRATION: CWS sj18 (1.5.48); FILE MERGED
2005/04/29 14:56:53 af 1.5.48.1: #i48426# Integrated fix for i46482 to adapt number of rows to updated content.
-rw-r--r-- | sd/source/ui/toolpanel/LayoutMenu.hxx | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/sd/source/ui/toolpanel/LayoutMenu.hxx b/sd/source/ui/toolpanel/LayoutMenu.hxx index 38885107ae08..6ab958d497e4 100644 --- a/sd/source/ui/toolpanel/LayoutMenu.hxx +++ b/sd/source/ui/toolpanel/LayoutMenu.hxx @@ -2,9 +2,9 @@ * * $RCSfile: LayoutMenu.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: kz $ $Date: 2005-03-18 16:55:10 $ + * last change: $Author: obo $ $Date: 2005-05-06 09:28:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -84,12 +84,19 @@ class SfxModule; + namespace sd { class DrawDocShell; class PaneManagerEvent; class ViewShellBase; } + +namespace sd { namespace tools { +class EventMultiplexerEvent; +} } + + namespace sd { namespace toolpanel { class ControlFactory; @@ -189,6 +196,8 @@ private: ::com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> mxListener; + bool mbSelectionUpdatePending; + /** Calculate the number of displayed rows. This depends on the given item size, the given number of columns, and the size of the control. Note that this is not the number of rows managed by the @@ -232,12 +241,16 @@ private: USHORT nSlotId, AutoLayout aLayout); + /** Select the layout that is used by the current page. + */ + void UpdateSelection (void); + /** When clicked then set the current page of the view in the center pane. */ DECL_LINK(ClickHandler, ValueSet*); - DECL_LINK(ViewShellChangeCallback, PaneManagerEvent*); DECL_LINK(RightClickHandler, MouseEvent*); DECL_LINK(StateChangeHandler, ::rtl::OUString*); + DECL_LINK(EventMultiplexerListener, ::sd::tools::EventMultiplexerEvent*); }; } } // end of namespace ::sd::toolpanel |