SlsPageSelector.hxx (7950f2af) SlsPageSelector.hxx (916729d0)
1/**************************************************************
1/**************************************************************
2 *
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
9 * with the License. You may obtain a copy of the License at
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
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
19 *
20 *************************************************************/
21
22
23
24#ifndef SD_SLIDESORTER_PAGE_SELECTOR_HXX
25#define SD_SLIDESORTER_PAGE_SELECTOR_HXX
26
27#include "model/SlsSharedPageDescriptor.hxx"

--- 42 unchanged lines hidden (view full) ---

70
71 /** Update the selection state of all page descriptors to be the same as
72 that of the corresponding pages of the SdPage objects and issue
73 redraw requests where necessary.
74 */
75 void GetCoreSelection (void);
76
77 /** Update the selection state of the SdPage objects to be the same as
20 *************************************************************/
21
22
23
24#ifndef SD_SLIDESORTER_PAGE_SELECTOR_HXX
25#define SD_SLIDESORTER_PAGE_SELECTOR_HXX
26
27#include "model/SlsSharedPageDescriptor.hxx"

--- 42 unchanged lines hidden (view full) ---

70
71 /** Update the selection state of all page descriptors to be the same as
72 that of the corresponding pages of the SdPage objects and issue
73 redraw requests where necessary.
74 */
75 void GetCoreSelection (void);
76
77 /** Update the selection state of the SdPage objects to be the same as
78 that of the correspinding page descriptors.
78 that of the corresponding page descriptors.
79 */
80 void SetCoreSelection (void);
81
82 /** Select the specified descriptor. The selection state of the other
83 descriptors is not affected.
84 */
85 void SelectPage (int nPageIndex);
86 /** Select the descriptor that is associated with the given page. The
87 selection state of the other descriptors is not affected.
88 */
89 void SelectPage (const SdPage* pPage);
90 /** Select the specified descriptor. The selection state of the other
91 descriptors is not affected.
92 */
93 void SelectPage (const model::SharedPageDescriptor& rpDescriptor);
94
95 /** Return whether the specified page is selected. This convenience
79 */
80 void SetCoreSelection (void);
81
82 /** Select the specified descriptor. The selection state of the other
83 descriptors is not affected.
84 */
85 void SelectPage (int nPageIndex);
86 /** Select the descriptor that is associated with the given page. The
87 selection state of the other descriptors is not affected.
88 */
89 void SelectPage (const SdPage* pPage);
90 /** Select the specified descriptor. The selection state of the other
91 descriptors is not affected.
92 */
93 void SelectPage (const model::SharedPageDescriptor& rpDescriptor);
94
95 /** Return whether the specified page is selected. This convenience
96 method is a subsitute for
96 method is a substitute for
97 SlideSorterModel::GetPageDescriptor(i)->IsSelected() is included
98 here to make this class more self contained.
97 SlideSorterModel::GetPageDescriptor(i)->IsSelected() is included
98 here to make this class more self contained.
99 */
99 */
100 bool IsPageSelected (int nPageIndex);
101
102 /** Deselect the descriptor that is associated with the given page.
103 @param bUpdateCurrentPage
104 When <TRUE/> then the current page is updated to the first slide
105 of the remaining selection.
106 */
107 void DeselectPage (

--- 120 unchanged lines hidden ---
100 bool IsPageSelected (int nPageIndex);
101
102 /** Deselect the descriptor that is associated with the given page.
103 @param bUpdateCurrentPage
104 When <TRUE/> then the current page is updated to the first slide
105 of the remaining selection.
106 */
107 void DeselectPage (

--- 120 unchanged lines hidden ---