22#include <document.hxx>
57 static std::optional<LocaleDataWrapper> localeCache;
58 if (!localeCache || localeCache->getLanguageTag().getLanguageType() != nFormatLang)
61 aDecSep = localeCache->getNumDecimalSep();
65 return (nScript == SvtScriptType::NONE || nScript == SvtScriptType::LATIN);
const OUString & getNumDecimalSep() const
SC_DLLPUBLIC SvtScriptType GetStringScriptType(const OUString &rString)
SC_DLLPUBLIC SvNumberFormatter * GetFormatTable() const
static SC_DLLPUBLIC const LocaleDataWrapper & getLocaleData()
sal_uInt32 GetNumberFormat(SvNumberFormatter *) const
static bool isLatinScript(const ScPatternAttr &rPat, ScDocument &rDoc)
Check if the attribute pattern has a number format that only produces latin script output.
Reference< XComponentContext > getProcessComponentContext()
CAUTION! The following defines must be in the same namespace as the respective type.