tdf#104816 sw: if non-section content, let all sections hide.
[LibreOffice.git] / sc / inc / numformat.hxx
blobc3aa957ed2094eb832e86c7de3bf00b31d8e1200
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_NUMFORMAT_HXX
11 #define INCLUDED_SC_NUMFORMAT_HXX
13 #include "scdllapi.h"
15 #include <tools/solar.h>
17 class ScPatternAttr;
18 class ScDocument;
20 namespace sc {
22 class SC_DLLPUBLIC NumFmtUtil
24 public:
25 /**
26 * Check if the attribute pattern has a number format that only produces
27 * latin script output.
29 static bool isLatinScript( const ScPatternAttr& rPat, ScDocument& rDoc );
31 static bool isLatinScript( sal_uLong nFormat, ScDocument& rDoc );
36 #endif
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */