tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / condformathelper.hxx
blob29baf8d9ec44fa2dff34e06330edfce95bfeca9b
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 #pragma once
12 #include <rtl/ustring.hxx>
13 #include <address.hxx>
15 class ScConditionalFormat;
17 enum ScCondFormatEntryType
19 CONDITION,
20 COLORSCALE,
21 DATABAR,
22 FORMULA,
23 ICONSET,
24 DATE
27 class ScCondFormatHelper
29 public:
30 static SC_DLLPUBLIC OUString GetExpression(const ScConditionalFormat& rFormat, const ScAddress& rPos);
32 static SC_DLLPUBLIC OUString GetExpression(ScCondFormatEntryType eType, sal_Int32 nIndex,
33 std::u16string_view aStr1 = std::u16string_view(),
34 std::u16string_view aStr2 = std::u16string_view());
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */