1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
11 #include "unotools/caserotate.hxx"
12 #include <com/sun/star/i18n/TransliterationModules.hpp>
13 #include <com/sun/star/i18n/TransliterationModulesExtra.hpp>
15 //TODO Use XCharacterClassification::getStringType to determine the current
16 //(possibly mixed) case type and rotate to the next one
18 sal_uInt32
RotateTransliteration::getNextMode()
20 using namespace ::com::sun::star::i18n
;
24 switch (nF3ShiftCounter
)
27 nMode
= TransliterationModulesExtra::TITLE_CASE
;
30 nMode
= TransliterationModules_LOWERCASE_UPPERCASE
;
34 nMode
= TransliterationModules_UPPERCASE_LOWERCASE
;
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */