diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-07-14 09:17:21 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-07-14 09:17:21 +0000 |
commit | 725c57c4de912a6b0d054c1c6570e47615170173 (patch) | |
tree | 94c7ce24653a45c94034246353e62746b714b576 /sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | |
parent | b12889dfc04c109d5b72f19400ac01dd331b1097 (diff) |
INTEGRATION: CWS impress51 (1.4.256); FILE MERGED
2005/05/17 12:58:26 af 1.4.256.2: #i48703# Remove const modifier from GetVisiblePageRange().
2005/05/04 14:35:06 af 1.4.256.1: #i48703# Added GetVisiblePageRange() method.
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx')
-rw-r--r-- | sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx index 00740dc8aaa2..e22addd05973 100644 --- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx @@ -2,9 +2,9 @@ * * $RCSfile: SlideSorterView.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: kz $ $Date: 2004-10-04 18:38:22 $ + * last change: $Author: kz $ $Date: 2005-07-14 10:17:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -241,6 +241,15 @@ public: ::sdr::contact::ObjectContact& GetObjectContact (void) const; + typedef ::std::pair<sal_Int32,sal_Int32> PageRange; + /** Return the range of currently visible page objects including the + first and last one in that range. + @return + The returned pair of page object indices is empty when the + second index is lower than the first. + */ + PageRange GetVisiblePageRange (void); + private: model::SlideSorterModel& mrModel; /// This model is used for the maPage object. |