Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / sc / source / ui / inc / condformathelper.hxx
blob79de9c7d6d7b0d7535fbd272583937cbde25d5bf
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 INCLUDED_SC_SOURCE_UI_INC_CONDFORMATHELPER_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATHELPER_HXX
13 #include <rtl/ustring.hxx>
14 #include <address.hxx>
16 class ScConditionalFormat;
18 enum ScCondFormatEntryType
20 CONDITION,
21 COLORSCALE,
22 DATABAR,
23 FORMULA,
24 ICONSET,
25 DATE
28 class ScCondFormatHelper
30 public:
31 static SC_DLLPUBLIC OUString GetExpression(const ScConditionalFormat& rFormat, const ScAddress& rPos);
33 static SC_DLLPUBLIC OUString GetExpression( ScCondFormatEntryType eType, sal_Int32 nIndex,
34 const OUString& aStr1 = OUString(), const OUString& aStr2 = OUString() );
37 #endif
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */