LibreOffice Module sw (master)  1
BorderCacheOwner.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef INCLUDED_SW_INC_CACHEOWNER_HXX
11 #define INCLUDED_SW_INC_CACHEOWNER_HXX
12 
13 #include <sal/types.h>
14 #include "swdllapi.h"
15 
16 class SwBorderAttrs;
17 class SwBorderAttrAccess;
18 
19 namespace sw
20 {
23 {
24 private:
25  friend SwBorderAttrs;
27  bool m_bInCache;
28 
29 public:
31  : m_bInCache(false)
32  {
33  }
35  : m_bInCache(false)
36  {
37  }
39  {
40  m_bInCache = false;
41  return *this;
42  }
44  bool IsInCache() const { return m_bInCache; }
45  void InvalidateInSwCache(const sal_uInt16);
46 };
47 }
48 #endif
49 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Dialog to specify the properties of date form field.
Bookkeeping helper for SwCache caching writer borders.
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
BorderCacheOwner & operator=(const BorderCacheOwner &)
BorderCacheOwner(BorderCacheOwner &)