22#include <com/sun/star/container/NoSuchElementException.hpp>
34using namespace ::
cppu;
37 : mxForbiddenChars(
std::move(xForbiddenChars))
57 const ForbiddenCharacters* pForbidden =
mxForbiddenChars->GetForbiddenCharacters( eLang,
false );
59 throw NoSuchElementException();
72 const ForbiddenCharacters* pForbidden =
mxForbiddenChars->GetForbiddenCharacters( eLang,
false );
74 return nullptr != pForbidden;
110 Sequence< lang::Locale > aLocales(
nCount );
113 lang::Locale* pLocales = aLocales.getArray();
const css::lang::Locale & getLocale(bool bResolveSystem=true) const
static LanguageType convertToLanguageType(const css::lang::Locale &rLocale, bool bResolveSystem=true)
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getLocales() override
virtual sal_Bool SAL_CALL hasForbiddenCharacters(const css::lang::Locale &rLocale) override
virtual void SAL_CALL setForbiddenCharacters(const css::lang::Locale &rLocale, const css::i18n::ForbiddenCharacters &rForbiddenCharacters) override
std::shared_ptr< SvxForbiddenCharactersTable > mxForbiddenChars
virtual void onChange()
this virtual function is called if the forbidden characters are changed
virtual void SAL_CALL removeForbiddenCharacters(const css::lang::Locale &rLocale) override
virtual ~SvxUnoForbiddenCharsTable() override
virtual sal_Bool SAL_CALL hasLocale(const css::lang::Locale &aLocale) override
SvxUnoForbiddenCharsTable(std::shared_ptr< SvxForbiddenCharactersTable > xForbiddenChars)
virtual css::i18n::ForbiddenCharacters SAL_CALL getForbiddenCharacters(const css::lang::Locale &rLocale) override