1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #ifndef INCLUDED_SC_INC_SCOPETOOLS_HXX
11 #define INCLUDED_SC_INC_SCOPETOOLS_HXX
21 * Temporarily switch on/off auto calculation mode.
23 class SC_DLLPUBLIC AutoCalcSwitch
28 AutoCalcSwitch(ScDocument
& rDoc
, bool bAutoCalc
);
32 class SC_DLLPUBLIC ExpandRefsSwitch
37 ExpandRefsSwitch(ScDocument
& rDoc
, bool bExpandRefs
);
41 class SC_DLLPUBLIC UndoSwitch
46 UndoSwitch(ScDocument
& rDoc
, bool bUndo
);
50 class SC_DLLPUBLIC IdleSwitch
55 IdleSwitch(ScDocument
& rDoc
, bool bEnableIdle
);
59 class WaitPointerSwitch
63 WaitPointerSwitch(Window
* pWin
);
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */