diff options
author | Sascha Ballach <sab@openoffice.org> | 2001-07-23 14:18:23 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2001-07-23 14:18:23 +0000 |
commit | 42d343219bd4b78b0e01fb7d621a10b641362ab2 (patch) | |
tree | 334ed8efc6188269312358ee5b33ea0b3529d60d /sc/source/ui/inc/docsh.hxx | |
parent | 1832a73fe9889434e7b9db4ced9b9524031d8fff (diff) |
#80365#; new methods to distinguish between document lock and paint lock added
Diffstat (limited to 'sc/source/ui/inc/docsh.hxx')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 8c10aa1011cf..3661c2a3f6aa 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -2,9 +2,9 @@ * * $RCSfile: docsh.hxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: nn $ $Date: 2001-06-22 19:51:42 $ + * last change: $Author: sab $ $Date: 2001-07-23 15:13:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -142,6 +142,7 @@ class ScDocShell: public SfxObjectShell, public SfxInPlaceObject, public SfxList BOOL bIsEmpty; BOOL bIsInUndo; BOOL bDocumentModifiedPending; + USHORT nDocumentLock; ScSbxDocHelper* pDocHelper; @@ -173,6 +174,11 @@ class ScDocShell: public SfxObjectShell, public SfxInPlaceObject, public SfxList static BOOL KillFile( const INetURLObject& rURL ); static BOOL IsDocument( const INetURLObject& rURL ); + void LockPaint_Impl(BOOL bDoc); + void UnlockPaint_Impl(BOOL bDoc); + void LockDocument_Impl(USHORT nNew); + void UnlockDocument_Impl(USHORT nNew); + protected: virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, @@ -338,6 +344,9 @@ public: USHORT GetLockCount() const; void SetLockCount(USHORT nNew); + void LockDocument(); + void UnlockDocument(); + DECL_LINK( ChartSelectionHdl, ChartSelectionInfo* ); virtual SfxStyleSheetBasePool* GetStyleSheetPool(); |