File indexing completed on 2025-04-27 10:07:23
0001 /** 0002 * This file is part of the HTML rendering engine for KDE. 0003 * 0004 * Copyright (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 0005 * 0006 * This library is free software; you can redistribute it and/or 0007 * modify it under the terms of the GNU Library General Public 0008 * License as published by the Free Software Foundation; either 0009 * version 2 of the License, or (at your option) any later version. 0010 * 0011 * This library is distributed in the hope that it will be useful, 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0014 * Library General Public License for more details. 0015 * 0016 * You should have received a copy of the GNU Library General Public License 0017 * along with this library; see the file COPYING.LIB. If not, write to 0018 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0019 * Boston, MA 02110-1301, USA. 0020 * 0021 */ 0022 0023 #ifndef ENUMERATE_H 0024 #define ENUMERATE_H 0025 0026 class QString; 0027 0028 namespace khtml 0029 { 0030 0031 namespace Enumerate 0032 { 0033 0034 // Numeric 0035 QString toArabicIndic(int number); 0036 QString toLao(int number); 0037 QString toPersianUrdu(int number); 0038 QString toThai(int number); 0039 QString toTibetan(int number); 0040 0041 // Alphabetic 0042 QString toLowerLatin(int number); 0043 QString toUpperLatin(int number); 0044 QString toLowerGreek(int number); 0045 QString toUpperGreek(int number); 0046 QString toHiragana(int number); 0047 QString toHiraganaIroha(int number); 0048 QString toKatakana(int number); 0049 QString toKatakanaIroha(int number); 0050 0051 // Algorithmic 0052 QString toRoman(int number, bool upper); 0053 QString toHebrew(int number); 0054 QString toGeorgian(int number); 0055 QString toArmenian(int number); 0056 0057 // Ideographic 0058 QString toJapaneseFormal(int number); 0059 QString toJapaneseInformal(int number); 0060 QString toSimpChineseFormal(int number); 0061 QString toSimpChineseInformal(int number); 0062 QString toTradChineseFormal(int number); 0063 QString toTradChineseInformal(int number); 0064 0065 } 0066 } // namespaces 0067 0068 #endif