summaryrefslogtreecommitdiff
path: root/sd/inc/Outliner.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 10:53:50 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 10:53:50 +0000
commita410eb6f6f9ce99d485b4730547e4cf6e011cfd6 (patch)
tree4755619f8b6cbf914f9d25443bc004cb13b3a4f0 /sd/inc/Outliner.hxx
parentaa071f39f524f3c65724abe5c36b71e731a91651 (diff)
INTEGRATION: CWS impress8ea1 (1.2.88); FILE MERGED
2004/05/03 18:03:19 af 1.2.88.3: #115867# Modified the view shell change hints. New flag for thhe validity of the view shell. 2004/04/30 15:13:44 af 1.2.88.2: #115867# Added a way to inform the Outliner about view shell switches. 2004/04/27 08:45:53 af 1.2.88.1: #115867# Added member for remembering where the last text object was found.
Diffstat (limited to 'sd/inc/Outliner.hxx')
-rw-r--r--sd/inc/Outliner.hxx28
1 files changed, 26 insertions, 2 deletions
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx
index fce9243d9529..f77d654bc1f6 100644
--- a/sd/inc/Outliner.hxx
+++ b/sd/inc/Outliner.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Outliner.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: obo $ $Date: 2004-04-27 16:00:53 $
+ * last change: $Author: hr $ $Date: 2004-05-10 11:53:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -208,6 +208,15 @@ public:
DECL_LINK( SpellError, void * );
+ enum ChangeHint { CH_VIEW_SHELL_INVALID, CH_VIEW_SHELL_VALID, };
+
+ /** Handle a change outside the outliner which may affect the outliner.
+ At the moment this is restricted to changes of the main view shell
+ but later may include any changes that are detected now by
+ DetectChange().
+ */
+ void HandleOutsideChange (ChangeHint eHint);
+
private:
/// Specifies whether to search and replace, to spell check or to do a
/// hangul hanja conversion.
@@ -352,6 +361,11 @@ private:
/// The position when the search started. Corresponds largely to the
/// m?Start* members.
::sd::outliner::Iterator maSearchStartPosition;
+ /** The last valid position desribes where the last text object has been
+ found. This position is restored when some dialogs are shown. The
+ position is initially set to the where the search begins.
+ */
+ ::sd::outliner::IteratorPosition maLastValidPosition;
/** This flag remebers a selection change between a call to the
selection change listener callback and the next
@@ -364,6 +378,16 @@ private:
*/
bool mbExpectingSelectionChangeEvent;
+ /** When this flag is true then a PrepareSpelling() is executed when
+ StartSearchAndReplace() is called the next time.
+ */
+ bool mbPrepareSpellingPending;
+
+ /** In this flag we store whether the view shell is valid and may be
+ accessed.
+ */
+ bool mbViewShellValid;
+
/** Initialize the object iterator. Call this method after being
invoked from the search or spellcheck dialog. It creates a new
iterator pointing at the current object when this has not been done