summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/OutlineView.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-04-12 15:56:04 +0000
committerOliver Bolte <obo@openoffice.org>2005-04-12 15:56:04 +0000
commitb6b79ae92942cd6adc7a9c41acc467f361cc549e (patch)
tree3b7ce86f54f7bbd349ad6c68e503fe7ff07e5e5b /sd/source/ui/inc/OutlineView.hxx
parent269f6fa91357084cf94696774be0990583049971 (diff)
INTEGRATION: CWS impress44 (1.4.160); FILE MERGED
2005/04/06 07:51:31 af 1.4.160.1: #i46615# Added methods IgnoreCurrentPageChanges() and EventMultiplexerListner and data member mbIgnoreCurrentPageChanges.
Diffstat (limited to 'sd/source/ui/inc/OutlineView.hxx')
-rw-r--r--sd/source/ui/inc/OutlineView.hxx23
1 files changed, 21 insertions, 2 deletions
diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx
index 3f7e307f1739..adc873da5926 100644
--- a/sd/source/ui/inc/OutlineView.hxx
+++ b/sd/source/ui/inc/OutlineView.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: OutlineView.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2004-11-16 16:12:35 $
+ * last change: $Author: obo $ $Date: 2005-04-12 16:56:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,6 +76,10 @@ class SdrTextObj;
class Outliner;
class SfxProgress;
+namespace sd { namespace tools {
+class EventMultiplexerEvent;
+} }
+
namespace sd {
class OutlineViewShell;
@@ -172,6 +176,14 @@ public:
// #97766# Re-implement GetScriptType for this view to get correct results
virtual sal_uInt16 GetScriptType() const;
+ /** After this method has been called with <TRUE/> following changes of
+ the current page are ignored in that the corresponding text is not
+ selected.
+ This is used to supress unwanted side effects between selection and
+ cursor position.
+ */
+ void IgnoreCurrentPageChanges (bool bIgnore);
+
private:
OutlineViewShell* pOutlineViewShell;
SdrOutliner* pOutliner;
@@ -206,6 +218,11 @@ private:
*/
Color maDocColor;
+ /** While the value of this flag is <TRUE/> changes of the current page
+ do not lead to selecting the corresponding text in the outliner.
+ */
+ bool mbIgnoreCurrentPageChanges;
+
/** updates the high contrast settings and document color if they changed.
@param bForceUpdate forces the method to set all style settings
*/
@@ -215,6 +232,8 @@ private:
change. Its only purpose is to call onUpdateStyleSettings() then.
*/
DECL_LINK( AppEventListenerHdl, void * );
+
+ DECL_LINK(EventMultiplexerListener, sd::tools::EventMultiplexerEvent*);
};
} // end of namespace sd