diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-01-25 14:34:40 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-01-25 14:34:40 +0000 |
commit | 62434ce968af57490f04dcb9c820b68d10cd6aa1 (patch) | |
tree | bb5ae8c7dc2e8108fc480bb5704007dbb15f320b /sd/source/ui | |
parent | 4de4c1126b4596fc48fed5b0e9e722dbab865815 (diff) |
INTEGRATION: CWS impress29 (1.2.186); FILE MERGED
2005/01/13 10:18:45 af 1.2.186.1: #i32465# Added new SetFocusedPage() method in two variants.
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx index f0d483188ff8..4355af465551 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx @@ -2,9 +2,9 @@ * * $RCSfile: SlsFocusManager.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: kz $ $Date: 2005-01-13 17:28:46 $ + * last change: $Author: obo $ $Date: 2005-01-25 15:34:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,7 +58,6 @@ * * ************************************************************************/ - #ifndef SD_SLIDESORTER_FOCUS_MANAGER_HXX #define SD_SLIDESORTER_FOCUS_MANAGER_HXX @@ -148,7 +147,9 @@ public: */ sal_Int32 GetFocusedPageIndex (void) const; - /** Set the focus to the page with the given index. This does not make + /** DEPRECATED. (Use equivalent SetFocusedPage(sal_Int32) instead. + + Set the focus to the page with the given index. This does not make the focus visible. @param nPageIndex Index of a page as it is accepted by the slide sorter model. @@ -156,6 +157,21 @@ public: */ void FocusPage (sal_Int32 nPageIndex); + /** Set the focused page to the one described by the given page + descriptor. The visibility of the focus indicator is not modified. + @param rDescriptor + One of the page descriptors that are currently managed by the + SlideSorterModel. + */ + void SetFocusedPage (const model::PageDescriptor& rDescriptor); + + /** Set the focused page to the one described by the given page + index. The visibility of the focus indicator is not modified. + @param nPageIndex + A valid page index that is understood by the SlideSorterModel. + */ + void SetFocusedPage (sal_Int32 nPageIndex); + /** Return <TRUE/> when the focus inidcator is currently shown. A prerequisite is that the window managed by this focus manager has the input focus as indicated by a <TRUE/> return value of |