diff options
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r-- | sc/inc/document.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 3a5b0189eac2..025c322d585d 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -435,6 +435,9 @@ private: bool mbChangeReadOnlyEnabled; // allow changes in read-only document (for API import filters) bool mbStreamValidLocked; + // #118840# Have a flag to know that this ScDocument is used temporary + bool mbIsTemporary : 1; + sal_Int16 mnNamedRangesLockCount; public: @@ -611,6 +614,10 @@ public: void SetStreamValid( SCTAB nTab, sal_Bool bSet, sal_Bool bIgnoreLock = sal_False ); void LockStreamValid( bool bLock ); bool IsStreamValidLocked() const { return mbStreamValidLocked; } + + // #118840# Have a flag to know that this ScDocument is used temporary + bool IsTemporary() const { return mbIsTemporary; } + SC_DLLPUBLIC sal_Bool IsPendingRowHeights( SCTAB nTab ) const; SC_DLLPUBLIC void SetPendingRowHeights( SCTAB nTab, sal_Bool bSet ); SC_DLLPUBLIC void SetLayoutRTL( SCTAB nTab, sal_Bool bRTL ); |