/src/libreoffice/include/unotools/caserotate.hxx
Line | Count | Source |
1 | | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 | | /* |
3 | | * This file is part of the LibreOffice project. |
4 | | * |
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 | | */ |
9 | | #ifndef INCLUDED_UNOTOOLS_CASEROTATE_HXX |
10 | | #define INCLUDED_UNOTOOLS_CASEROTATE_HXX |
11 | | |
12 | | #include <sal/config.h> |
13 | | #include <unotools/unotoolsdllapi.h> |
14 | | |
15 | | enum class TransliterationFlags; |
16 | | |
17 | | //TODO Use XCharacterClassification::getStringType to determine the current |
18 | | //(possibly mixed) case type and rotate to the next one |
19 | | |
20 | | class UNOTOOLS_DLLPUBLIC RotateTransliteration |
21 | | { |
22 | | private: |
23 | | int nF3ShiftCounter; |
24 | | |
25 | | public: |
26 | | RotateTransliteration() |
27 | 4.02k | : nF3ShiftCounter(0) |
28 | 4.02k | { |
29 | 4.02k | } |
30 | | TransliterationFlags getNextMode(); |
31 | | }; |
32 | | |
33 | | #endif |
34 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |