summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2010-06-15 17:45:26 +0200
committerAndre Fischer <af@openoffice.org>2010-06-15 17:45:26 +0200
commit0832b196adfe382c4cbced57ff309cf4dda439b7 (patch)
treefd66dc72585e36a2c8e3af7af685db026a219e41 /sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
parent6efdc84459e2f1b1545278cca890de8135885d3e (diff)
renaissance1: #i107215# Integrated accessibility fix from other CWS impressaccessibility7.
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx')
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx18
1 files changed, 17 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
index 449d76e7a9c2..f28287b15a0e 100644
--- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
@@ -195,7 +195,22 @@ public:
/** Add a shape to the page. Typically used from inside
PostModelChange().
*/
- void AddSdrObject (SdrObject& rObject);
+ // void AddSdrObject (SdrObject& rObject);
+
+ /** Add a listener that is called when the set of visible slides.
+ @param rListener
+ When this method is called multiple times for the same listener
+ the second and all following calls are ignored. Each listener
+ is added only once.
+ */
+ void AddVisibilityChangeListener (const Link& rListener);
+
+ /** Remove a listener that is called when the set of visible slides changes.
+ @param rListener
+ It is save to pass a listener that was not added or has been
+ removed previously. Such calls are ignored.
+ */
+ void RemoveVisibilityChangeListener (const Link& rListener);
/** The page under the mouse is not highlighted in some contexts. Call
this method on context changes.
@@ -269,6 +284,7 @@ private:
::boost::scoped_ptr<ButtonBar> mpButtonBar;
::boost::scoped_ptr<ToolTip> mpToolTip;
bool mbIsRearrangePending;
+ ::std::vector<Link> maVisibilityChangeListeners;
/** Determine the visibility of all page objects.
*/