Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / ui / inc / condformathelper.hxx
blob47270d061c46de6fc96f6d64aab1792a0cf0c7a3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef SC_CONDFORMATHELPER_HXX
11 #define SC_CONDFORMATHELPER_HXX
13 #include <rtl/ustring.hxx>
14 #include "conditio.hxx"
16 #include "global.hxx"
18 enum ScCondFormatEntryType
20 CONDITION,
21 COLORSCALE,
22 DATABAR,
23 FORMULA,
24 ICONSET,
25 DATE,
26 COLLAPSE
29 class ScCondFormatHelper
31 public:
32 static SC_DLLPUBLIC OUString GetExpression(const ScConditionalFormat& rFormat, const ScAddress& rPos);
34 static SC_DLLPUBLIC OUString GetExpression( ScCondFormatEntryType eType, sal_Int32 nIndex,
35 OUString aStr1 = OUString(), OUString aStr2 = OUString() );
38 #endif
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */