Version 7.5.1.1, tag libreoffice-7.5.1.1
[LibreOffice.git] / sc / inc / numformat.hxx
blobcfd36538611979b0c665f50c7c6d7d6de42a262c
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 "scdllapi.h"
14 #include <tools/solar.h>
16 class ScPatternAttr;
17 class ScDocument;
19 namespace sc
21 class SC_DLLPUBLIC NumFmtUtil
23 public:
24 /**
25 * Check if the attribute pattern has a number format that only produces
26 * latin script output.
28 static bool isLatinScript(const ScPatternAttr& rPat, ScDocument& rDoc);
30 static bool isLatinScript(sal_uLong nFormat, ScDocument& rDoc);
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */