Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 : *
5 : * The contents of this file are subject to the Mozilla Public License Version
6 : * 1.1 (the "License"); you may not use this file except in compliance with
7 : * the License. You may obtain a copy of the License at
8 : * http://www.mozilla.org/MPL/
9 : *
10 : * Software distributed under the License is distributed on an "AS IS" basis,
11 : * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 : * for the specific language governing rights and limitations under the
13 : * License.
14 : *
15 : * The Initial Developer of the Original Code is
16 : * Caolán McNamara <caolanm@redhat.com>
17 : *
18 : * Contributor(s):
19 : * Caolán McNamara <caolanm@redhat.com>
20 : * Dózsa Bálint <dozsa@linux-dugf.site>
21 : *
22 : * Alternatively, the contents of this file may be used under the terms of
23 : * either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 : * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 : * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 : * instead of those above.
27 : */
28 : #ifndef INCLUDED_UNOTOOLS_CASEROTATE_HXX
29 : #define INCLUDED_UNOTOOLS_CASEROTATE_HXX
30 :
31 : #include <sal/config.h>
32 :
33 : #include "unotools/unotoolsdllapi.h"
34 :
35 : //TODO Use XCharacterClassification::getStringType to determine the current
36 : //(possibly mixed) case type and rotate to the next one
37 :
38 : class UNOTOOLS_DLLPUBLIC RotateTransliteration
39 : {
40 : private:
41 : int nF3ShiftCounter;
42 : public:
43 238 : RotateTransliteration() : nF3ShiftCounter(0)
44 : {
45 238 : }
46 : sal_uInt32 getNextMode();
47 : };
48 :
49 : #endif
50 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|