StarLanguage.cxx File Reference documentation

Classes | Namespaces | Enumerations | Functions | Variables
StarLanguage.cxx File Reference
`#include <map>`
`#include <string>`
`#include <librevenge/librevenge.h>`
`#include "STOFFStringStream.hxx"`
`#include "StarLanguage.hxx"`

## Classes
struct | StarLanguage::IdIsoLanguageEntry
class | StarLanguage::IdIsoLanguageMap

## Namespaces
| StarLanguage
| namespace convert language id in international iso

## Enumerations
enum | StarLanguage::Language { StarLanguage::LANGUAGE_DONTKNOW =0x03FF, StarLanguage::LANGUAGE_NONE =0x00FF, StarLanguage::LANGUAGE_SYSTEM =0x0000, StarLanguage::LANGUAGE_AFRIKAANS =0x0436, StarLanguage::LANGUAGE_ALBANIAN =0x041C, StarLanguage::LANGUAGE_ARABIC =0x0001, StarLanguage::LANGUAGE_ARABIC_SAUDI_ARABIA =0x0401, StarLanguage::LANGUAGE_ARABIC_IRAQ =0x0801, StarLanguage::LANGUAGE_ARABIC_EGYPT =0x0C01, StarLanguage::LANGUAGE_ARABIC_LIBYA =0x1001, StarLanguage::LANGUAGE_ARABIC_ALGERIA =0x1401, StarLanguage::LANGUAGE_ARABIC_MOROCCO =0x1801, StarLanguage::LANGUAGE_ARABIC_TUNISIA =0x1C01, StarLanguage::LANGUAGE_ARABIC_OMAN =0x2001, StarLanguage::LANGUAGE_ARABIC_YEMEN =0x2401, StarLanguage::LANGUAGE_ARABIC_SYRIA =0x2801, StarLanguage::LANGUAGE_ARABIC_JORDAN =0x2C01, StarLanguage::LANGUAGE_ARABIC_LEBANON =0x3001, StarLanguage::LANGUAGE_ARABIC_KUWAIT =0x3401, StarLanguage::LANGUAGE_ARABIC_UAE =0x3801, StarLanguage::LANGUAGE_ARABIC_BAHRAIN =0x3C01, StarLanguage::LANGUAGE_ARABIC_QATAR =0x4001, StarLanguage::LANGUAGE_ARMENIAN =0x042B, StarLanguage::LANGUAGE_ASSAMESE =0x044D, StarLanguage::LANGUAGE_AZERI =0x002C, StarLanguage::LANGUAGE_AZERI_LATIN =0x042C, StarLanguage::LANGUAGE_AZERI_CYRILLIC =0x082C, StarLanguage::LANGUAGE_BASQUE =0x042D, StarLanguage::LANGUAGE_BELARUSIAN =0x0423, StarLanguage::LANGUAGE_BENGALI =0x0445, StarLanguage::LANGUAGE_BULGARIAN =0x0402, StarLanguage::LANGUAGE_BURMESE =0x0455, StarLanguage::LANGUAGE_CATALAN =0x0403, StarLanguage::LANGUAGE_CHINESE =0x0004, StarLanguage::LANGUAGE_CHINESE_TRADITIONAL =0x0404, StarLanguage::LANGUAGE_CHINESE_SIMPLIFIED =0x0804, StarLanguage::LANGUAGE_CHINESE_HONGKONG =0x0C04, StarLanguage::LANGUAGE_CHINESE_SINGAPORE =0x1004, StarLanguage::LANGUAGE_CHINESE_MACAU =0x1404, StarLanguage::LANGUAGE_CZECH =0x0405, StarLanguage::LANGUAGE_DANISH =0x0406, StarLanguage::LANGUAGE_DUTCH =0x0413, StarLanguage::LANGUAGE_DUTCH_BELGIAN =0x0813, StarLanguage::LANGUAGE_ENGLISH =0x0009, StarLanguage::LANGUAGE_ENGLISH_US =0x0409, StarLanguage::LANGUAGE_ENGLISH_UK =0x0809, StarLanguage::LANGUAGE_ENGLISH_AUS =0x0C09, StarLanguage::LANGUAGE_ENGLISH_CAN =0x1009, StarLanguage::LANGUAGE_ENGLISH_NZ =0x1409, StarLanguage::LANGUAGE_ENGLISH_EIRE =0x1809, StarLanguage::LANGUAGE_ENGLISH_SAFRICA =0x1C09, StarLanguage::LANGUAGE_ENGLISH_JAMAICA =0x2009, StarLanguage::LANGUAGE_ENGLISH_CARRIBEAN =0x2409, StarLanguage::LANGUAGE_ENGLISH_BELIZE =0x2809, StarLanguage::LANGUAGE_ENGLISH_TRINIDAD =0x2C09, StarLanguage::LANGUAGE_ENGLISH_ZIMBABWE =0x3009, StarLanguage::LANGUAGE_ENGLISH_PHILIPPINES =0x3409, StarLanguage::LANGUAGE_ESTONIAN =0x0425, StarLanguage::LANGUAGE_FAEROESE =0x0438, StarLanguage::LANGUAGE_FARSI =0x0429, StarLanguage::LANGUAGE_FINNISH =0x040B, StarLanguage::LANGUAGE_FRENCH =0x040C, StarLanguage::LANGUAGE_FRENCH_BELGIAN =0x080C, StarLanguage::LANGUAGE_FRENCH_CANADIAN =0x0C0C, StarLanguage::LANGUAGE_FRENCH_SWISS =0x100C, StarLanguage::LANGUAGE_FRENCH_LUXEMBOURG =0x140C, StarLanguage::LANGUAGE_FRENCH_MONACO =0x180C, StarLanguage::LANGUAGE_FRENCH_WEST_INDIES =0x1C0C, StarLanguage::LANGUAGE_FRENCH_REUNION =0x200C, StarLanguage::LANGUAGE_FRENCH_ZAIRE =0x240C, StarLanguage::LANGUAGE_FRENCH_SENEGAL =0x280C, StarLanguage::LANGUAGE_FRENCH_CAMEROON =0x2C0C, StarLanguage::LANGUAGE_FRENCH_COTE_D_IVOIRE =0x300C, StarLanguage::LANGUAGE_FRENCH_MALI =0x340C, StarLanguage::LANGUAGE_FRISIAN_NETHERLANDS =0x0462, StarLanguage::LANGUAGE_GAELIC_SCOTLAND =0x043C, StarLanguage::LANGUAGE_GAELIC_IRELAND =0x083C, StarLanguage::LANGUAGE_GALICIAN =0x0456, StarLanguage::LANGUAGE_GEORGIAN =0x0437, StarLanguage::LANGUAGE_GERMAN =0x0407, StarLanguage::LANGUAGE_GERMAN_SWISS =0x0807, StarLanguage::LANGUAGE_GERMAN_AUSTRIAN =0x0C07, StarLanguage::LANGUAGE_GERMAN_LUXEMBOURG =0x1007, StarLanguage::LANGUAGE_GERMAN_LIECHTENSTEIN =0x1407, StarLanguage::LANGUAGE_GREEK =0x0408, StarLanguage::LANGUAGE_GUJARATI =0x0447, StarLanguage::LANGUAGE_HEBREW =0x040D, StarLanguage::LANGUAGE_HINDI =0x0439, StarLanguage::LANGUAGE_HUNGARIAN =0x040E, StarLanguage::LANGUAGE_ICELANDIC =0x040F, StarLanguage::LANGUAGE_INDONESIAN =0x0421, StarLanguage::LANGUAGE_ITALIAN =0x0410, StarLanguage::LANGUAGE_ITALIAN_SWISS =0x0810, StarLanguage::LANGUAGE_JAPANESE =0x0411, StarLanguage::LANGUAGE_KANNADA =0x044B, StarLanguage::LANGUAGE_KASHMIRI =0x0460, StarLanguage::LANGUAGE_KASHMIRI_INDIA =0x0860, StarLanguage::LANGUAGE_KAZAK =0x043F, StarLanguage::LANGUAGE_KHMER =0x0453, StarLanguage::LANGUAGE_KIRGHIZ =0x0440, StarLanguage::LANGUAGE_KONKANI =0x0457, StarLanguage::LANGUAGE_KOREAN =0x0412, StarLanguage::LANGUAGE_KOREAN_JOHAB =0x0812, StarLanguage::LANGUAGE_LAO =0x0454, StarLanguage::LANGUAGE_LATVIAN =0x0426, StarLanguage::LANGUAGE_LITHUANIAN =0x0427, StarLanguage::LANGUAGE_LITHUANIAN_CLASSIC =0x0827, StarLanguage::LANGUAGE_MACEDONIAN =0x042F, StarLanguage::LANGUAGE_MALAY =0x003E, StarLanguage::LANGUAGE_MALAY_MALAYSIA =0x043E, StarLanguage::LANGUAGE_MALAY_BRUNEI_DARUSSALAM =0x083E, StarLanguage::LANGUAGE_MALAYALAM =0x044C, StarLanguage::LANGUAGE_MALTESE =0x043A, StarLanguage::LANGUAGE_MANIPURI =0x0458, StarLanguage::LANGUAGE_MARATHI =0x044E, StarLanguage::LANGUAGE_MONGOLIAN =0x0450, StarLanguage::LANGUAGE_NEPALI =0x0461, StarLanguage::LANGUAGE_NEPALI_INDIA =0x0861, StarLanguage::LANGUAGE_NORWEGIAN =0x0014, StarLanguage::LANGUAGE_NORWEGIAN_BOKMAL =0x0414, StarLanguage::LANGUAGE_NORWEGIAN_NYNORSK =0x0814, StarLanguage::LANGUAGE_SEPEDI =0x046C, StarLanguage::LANGUAGE_NORTHERNSOTHO =LANGUAGE_SEPEDI, StarLanguage::LANGUAGE_ORIYA =0x0448, StarLanguage::LANGUAGE_POLISH =0x0415, StarLanguage::LANGUAGE_PORTUGUESE =0x0816, StarLanguage::LANGUAGE_PORTUGUESE_BRAZILIAN =0x0416, StarLanguage::LANGUAGE_PUNJABI =0x0446, StarLanguage::LANGUAGE_RHAETO_ROMAN =0x0417, StarLanguage::LANGUAGE_ROMANIAN =0x0418, StarLanguage::LANGUAGE_ROMANIAN_MOLDOVA =0x0818, StarLanguage::LANGUAGE_RUSSIAN =0x0419, StarLanguage::LANGUAGE_RUSSIAN_MOLDOVA =0x0819, StarLanguage::LANGUAGE_SAMI_LAPPISH =0x043B, StarLanguage::LANGUAGE_SANSKRIT =0x044F, StarLanguage::LANGUAGE_SERBIAN =0x001A, StarLanguage::LANGUAGE_CROATIAN =0x041A, StarLanguage::LANGUAGE_SERBIAN_LATIN =0x081A, StarLanguage::LANGUAGE_SERBIAN_CYRILLIC =0x0C1A, StarLanguage::LANGUAGE_SESOTHO =0x0430, StarLanguage::LANGUAGE_SINDHI =0x0459, StarLanguage::LANGUAGE_SLOVAK =0x041B, StarLanguage::LANGUAGE_SLOVENIAN =0x0424, StarLanguage::LANGUAGE_SORBIAN =0x042E, StarLanguage::LANGUAGE_SPANISH =0x040A, StarLanguage::LANGUAGE_SPANISH_MEXICAN =0x080A, StarLanguage::LANGUAGE_SPANISH_MODERN =0x0C0A, StarLanguage::LANGUAGE_SPANISH_GUATEMALA =0x100A, StarLanguage::LANGUAGE_SPANISH_COSTARICA =0x140A, StarLanguage::LANGUAGE_SPANISH_PANAMA =0x180A, StarLanguage::LANGUAGE_SPANISH_DOMINICAN_REPUBLIC =0x1C0A, StarLanguage::LANGUAGE_SPANISH_VENEZUELA =0x200A, StarLanguage::LANGUAGE_SPANISH_COLOMBIA =0x240A, StarLanguage::LANGUAGE_SPANISH_PERU =0x280A, StarLanguage::LANGUAGE_SPANISH_ARGENTINA =0x2C0A, StarLanguage::LANGUAGE_SPANISH_ECUADOR =0x300A, StarLanguage::LANGUAGE_SPANISH_CHILE =0x340A, StarLanguage::LANGUAGE_SPANISH_URUGUAY =0x380A, StarLanguage::LANGUAGE_SPANISH_PARAGUAY =0x3C0A, StarLanguage::LANGUAGE_SPANISH_BOLIVIA =0x400A, StarLanguage::LANGUAGE_SPANISH_EL_SALVADOR =0x440A, StarLanguage::LANGUAGE_SPANISH_HONDURAS =0x480A, StarLanguage::LANGUAGE_SPANISH_NICARAGUA =0x4C0A, StarLanguage::LANGUAGE_SPANISH_PUERTO_RICO =0x500A, StarLanguage::LANGUAGE_SWAHILI =0x0441, StarLanguage::LANGUAGE_SWEDISH =0x041D, StarLanguage::LANGUAGE_SWEDISH_FINLAND =0x081D, StarLanguage::LANGUAGE_TAJIK =0x0428, StarLanguage::LANGUAGE_TAMIL =0x0449, StarLanguage::LANGUAGE_TATAR =0x0444, StarLanguage::LANGUAGE_TELUGU =0x044A, StarLanguage::LANGUAGE_THAI =0x041E, StarLanguage::LANGUAGE_TIBETAN =0x0451, StarLanguage::LANGUAGE_TSONGA =0x0431, StarLanguage::LANGUAGE_TSWANA =0x0432, StarLanguage::LANGUAGE_TURKISH =0x041F, StarLanguage::LANGUAGE_TURKMEN =0x0442, StarLanguage::LANGUAGE_UKRAINIAN =0x0422, StarLanguage::LANGUAGE_URDU =0x0020, StarLanguage::LANGUAGE_URDU_PAKISTAN =0x0420, StarLanguage::LANGUAGE_URDU_INDIA =0x0820, StarLanguage::LANGUAGE_UZBEK =0x0043, StarLanguage::LANGUAGE_UZBEK_LATIN =0x0443, StarLanguage::LANGUAGE_UZBEK_CYRILLIC =0x0843, StarLanguage::LANGUAGE_VENDA =0x0433, StarLanguage::LANGUAGE_VIETNAMESE =0x042A, StarLanguage::LANGUAGE_WELSH =0x0452, StarLanguage::LANGUAGE_XHOSA =0x0434, StarLanguage::LANGUAGE_ZULU =0x0435, StarLanguage::LANGUAGE_USER1 =0x0201, StarLanguage::LANGUAGE_USER2 =0x0202, StarLanguage::LANGUAGE_USER3 =0x0203, StarLanguage::LANGUAGE_USER4 =0x0204, StarLanguage::LANGUAGE_USER5 =0x0205, StarLanguage::LANGUAGE_USER6 =0x0206, StarLanguage::LANGUAGE_USER7 =0x0207, StarLanguage::LANGUAGE_USER8 =0x0208, StarLanguage::LANGUAGE_USER9 =0x0209, StarLanguage::LANGUAGE_SYSTEM_DEFAULT =0x0800, StarLanguage::LANGUAGE_PROCESS_OR_USER_DEFAULT =0x0400, StarLanguage::LANGUAGE_USER_LATIN =0x0610, StarLanguage::LANGUAGE_USER_ESPERANTO =0x0611, StarLanguage::LANGUAGE_USER_MAORI =0x0620, StarLanguage::LANGUAGE_USER_KINYARWANDA =0x0621 }
| the different language More...

## Functions
bool | StarLanguage::getLanguageId (int id, std::string &lang, std::string &country)
| returns the iso639-1 and iso3166 language code More...

## Variables
static IdIsoLanguageMap | StarLanguage::s_idLanguageMap