home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2002 October / VPR0210A.ISO / OPENOFFICE / f_0302 / xlang.h < prev    next >
C/C++ Source or Header  |  2002-05-30  |  11KB  |  272 lines

  1. /*************************************************************************
  2.  *
  3.  *  $RCSfile: lang.hxx,v $
  4.  *
  5.  *  $Revision: 1.3.14.1 $
  6.  *
  7.  *  last change: $Author: mh $ $Date: 2002/05/30 13:56:11 $
  8.  *
  9.  *  The Contents of this file are made available subject to the terms of
  10.  *  either of the following licenses
  11.  *
  12.  *         - GNU Lesser General Public License Version 2.1
  13.  *         - Sun Industry Standards Source License Version 1.1
  14.  *
  15.  *  Sun Microsystems Inc., October, 2000
  16.  *
  17.  *  GNU Lesser General Public License Version 2.1
  18.  *  =============================================
  19.  *  Copyright 2000 by Sun Microsystems, Inc.
  20.  *  901 San Antonio Road, Palo Alto, CA 94303, USA
  21.  *
  22.  *  This library is free software; you can redistribute it and/or
  23.  *  modify it under the terms of the GNU Lesser General Public
  24.  *  License version 2.1, as published by the Free Software Foundation.
  25.  *
  26.  *  This library is distributed in the hope that it will be useful,
  27.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  28.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  29.  *  Lesser General Public License for more details.
  30.  *
  31.  *  You should have received a copy of the GNU Lesser General Public
  32.  *  License along with this library; if not, write to the Free Software
  33.  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  34.  *  MA  02111-1307  USA
  35.  *
  36.  *
  37.  *  Sun Industry Standards Source License Version 1.1
  38.  *  =================================================
  39.  *  The contents of this file are subject to the Sun Industry Standards
  40.  *  Source License Version 1.1 (the "License"); You may not use this file
  41.  *  except in compliance with the License. You may obtain a copy of the
  42.  *  License at http://www.openoffice.org/license.html.
  43.  *
  44.  *  Software provided under this License is provided on an "AS IS" basis,
  45.  *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
  46.  *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
  47.  *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
  48.  *  See the License for the specific provisions governing your rights and
  49.  *  obligations concerning the Software.
  50.  *
  51.  *  The Initial Developer of the Original Code is: Sun Microsystems, Inc.
  52.  *
  53.  *  Copyright: 2000 by Sun Microsystems, Inc.
  54.  *
  55.  *  All Rights Reserved.
  56.  *
  57.  *  Contributor(s): _______________________________________
  58.  *
  59.  *
  60.  ************************************************************************/
  61.  
  62. #ifndef _LANG_HXX
  63. #define _LANG_HXX
  64.  
  65. typedef unsigned short LanguageType;
  66.  
  67. #define LANGUAGE_DONTKNOW                    0x03FF
  68. #define LANGUAGE_NONE                        0x00FF
  69. #define LANGUAGE_SYSTEM                     0x0000
  70. #define LANGUAGE_AFRIKAANS                    0x0436
  71. #define LANGUAGE_ALBANIAN                    0x041C
  72. #define LANGUAGE_ARABIC                     0x0001
  73. #define LANGUAGE_ARABIC_SAUDI_ARABIA        0x0401
  74. #define LANGUAGE_ARABIC_IRAQ                0x0801
  75. #define LANGUAGE_ARABIC_EGYPT                0x0C01
  76. #define LANGUAGE_ARABIC_LIBYA                0x1001
  77. #define LANGUAGE_ARABIC_ALGERIA             0x1401
  78. #define LANGUAGE_ARABIC_MOROCCO             0x1801
  79. #define LANGUAGE_ARABIC_TUNISIA             0x1C01
  80. #define LANGUAGE_ARABIC_OMAN                0x2001
  81. #define LANGUAGE_ARABIC_YEMEN                0x2401
  82. #define LANGUAGE_ARABIC_SYRIA                0x2801
  83. #define LANGUAGE_ARABIC_JORDAN                0x2C01
  84. #define LANGUAGE_ARABIC_LEBANON             0x3001
  85. #define LANGUAGE_ARABIC_KUWAIT                0x3401
  86. #define LANGUAGE_ARABIC_UAE                 0x3801
  87. #define LANGUAGE_ARABIC_BAHRAIN             0x3C01
  88. #define LANGUAGE_ARABIC_QATAR                0x4001
  89. #define LANGUAGE_ARMENIAN                    0x042B
  90. #define LANGUAGE_ASSAMESE                    0x044D
  91. #define LANGUAGE_AZERI                        0x002C
  92. #define LANGUAGE_AZERI_LATIN                0x042C
  93. #define LANGUAGE_AZERI_CYRILLIC             0x082C
  94. #define LANGUAGE_BASQUE                     0x042D
  95. #define LANGUAGE_BELARUSIAN                 0x0423
  96. #define LANGUAGE_BENGALI                    0x0445
  97. #define LANGUAGE_BULGARIAN                    0x0402
  98. #define LANGUAGE_CATALAN                    0x0403
  99. #define LANGUAGE_CHINESE                    0x0004
  100. #define LANGUAGE_CHINESE_TRADITIONAL        0x0404
  101. #define LANGUAGE_CHINESE_SIMPLIFIED         0x0804
  102. #define LANGUAGE_CHINESE_HONGKONG            0x0C04
  103. #define LANGUAGE_CHINESE_SINGAPORE            0x1004
  104. #define LANGUAGE_CHINESE_MACAU                0x1404
  105. #define LANGUAGE_CZECH                        0x0405
  106. #define LANGUAGE_DANISH                     0x0406
  107. #define LANGUAGE_DUTCH                        0x0413
  108. #define LANGUAGE_DUTCH_BELGIAN                0x0813
  109. #define LANGUAGE_ENGLISH                    0x0009
  110. #define LANGUAGE_ENGLISH_US                 0x0409
  111. #define LANGUAGE_ENGLISH_UK                 0x0809
  112. #define LANGUAGE_ENGLISH_AUS                0x0C09
  113. #define LANGUAGE_ENGLISH_CAN                0x1009
  114. #define LANGUAGE_ENGLISH_NZ                 0x1409
  115. #define LANGUAGE_ENGLISH_EIRE                0x1809
  116. #define LANGUAGE_ENGLISH_SAFRICA            0x1C09
  117. #define LANGUAGE_ENGLISH_JAMAICA            0x2009
  118. #define LANGUAGE_ENGLISH_CARRIBEAN            0x2409
  119. #define LANGUAGE_ENGLISH_BELIZE             0x2809
  120. #define LANGUAGE_ENGLISH_TRINIDAD            0x2C09
  121. #define LANGUAGE_ENGLISH_ZIMBABWE            0x3009
  122. #define LANGUAGE_ENGLISH_PHILIPPINES        0x3409
  123. #define LANGUAGE_ESTONIAN                    0x0425
  124. #define LANGUAGE_FAEROESE                    0x0438
  125. #define LANGUAGE_FARSI                        0x0429
  126. #define LANGUAGE_FINNISH                    0x040B
  127. #define LANGUAGE_FRENCH                     0x040C
  128. #define LANGUAGE_FRENCH_BELGIAN             0x080C
  129. #define LANGUAGE_FRENCH_CANADIAN            0x0C0C
  130. #define LANGUAGE_FRENCH_SWISS                0x100C
  131. #define LANGUAGE_FRENCH_LUXEMBOURG            0x140C
  132. #define LANGUAGE_FRENCH_MONACO                0x180C
  133. #define LANGUAGE_FRENCH_WEST_INDIES            0x1C0C
  134. #define LANGUAGE_FRENCH_REUNION                0x200C
  135. #define LANGUAGE_FRENCH_ZAIRE                0x240C
  136. #define LANGUAGE_FRENCH_SENEGAL                0x280C
  137. #define LANGUAGE_FRENCH_CAMEROON            0x2C0C
  138. #define LANGUAGE_FRENCH_COTE_D_IVOIRE          0x300C
  139. #define LANGUAGE_FRENCH_MALI                   0x340C
  140. #define LANGUAGE_FRISIAN_NETHERLANDS        0x0462
  141. #define LANGUAGE_GAELIC_SCOTLAND               0x043C
  142. #define LANGUAGE_GAELIC_IRELAND                0x083C
  143. #define LANGUAGE_GALICIAN                    0x0456
  144. #define LANGUAGE_GEORGIAN                     0x0437
  145. #define LANGUAGE_GERMAN                     0x0407
  146. #define LANGUAGE_GERMAN_SWISS                0x0807
  147. #define LANGUAGE_GERMAN_AUSTRIAN            0x0C07
  148. #define LANGUAGE_GERMAN_LUXEMBOURG            0x1007
  149. #define LANGUAGE_GERMAN_LIECHTENSTEIN        0x1407
  150. #define LANGUAGE_GREEK                        0x0408
  151. #define LANGUAGE_GUJARATI                    0x0447
  152. #define LANGUAGE_HEBREW                     0x040D
  153. #define LANGUAGE_HINDI                        0x0439
  154. #define LANGUAGE_HUNGARIAN                    0x040E
  155. #define LANGUAGE_ICELANDIC                    0x040F
  156. #define LANGUAGE_INDONESIAN                 0x0421
  157. #define LANGUAGE_ITALIAN                    0x0410
  158. #define LANGUAGE_ITALIAN_SWISS                0x0810
  159. #define LANGUAGE_JAPANESE                    0x0411
  160. #define LANGUAGE_KANNADA                    0x044B
  161. #define LANGUAGE_KASHMIRI                    0x0460
  162. #define LANGUAGE_KASHMIRI_INDIA             0x0860
  163. #define LANGUAGE_KAZAK                        0x043F
  164. #define LANGUAGE_KHMER                        0x0453
  165. #define LANGUAGE_KIRGHIZ                    0x0440
  166. #define LANGUAGE_KONKANI                    0x0457
  167. #define LANGUAGE_KOREAN                     0x0412
  168. #define LANGUAGE_KOREAN_JOHAB                0x0812
  169. #define LANGUAGE_LAO                        0x0454
  170. #define LANGUAGE_LATVIAN                    0x0426
  171. #define LANGUAGE_LITHUANIAN                 0x0427
  172. #define LANGUAGE_LITHUANIAN_CLASSIC         0x0827
  173. #define LANGUAGE_MACEDONIAN                 0x042F
  174. #define LANGUAGE_MALAY                        0x003E
  175. #define LANGUAGE_MALAY_MALAYSIA             0x043E
  176. #define LANGUAGE_MALAY_BRUNEI_DARUSSALAM    0x083E
  177. #define LANGUAGE_MALAYALAM                    0x044C
  178. #define LANGUAGE_MALTESE                    0x043A
  179. #define LANGUAGE_MANIPURI                    0x0458
  180. #define LANGUAGE_MARATHI                    0x044E
  181. #define LANGUAGE_MONGOLIAN                    0x0450
  182. #define LANGUAGE_NEPALI                     0x0461
  183. #define LANGUAGE_NEPALI_INDIA                0x0861
  184. #define LANGUAGE_NORWEGIAN                    0x0014
  185. #define LANGUAGE_NORWEGIAN_BOKMAL            0x0414
  186. #define LANGUAGE_NORWEGIAN_NYNORSK            0x0814
  187. #define LANGUAGE_ORIYA                        0x0448
  188. #define LANGUAGE_POLISH                     0x0415
  189. #define LANGUAGE_PORTUGUESE                 0x0816
  190. #define LANGUAGE_PORTUGUESE_BRAZILIAN        0x0416
  191. #define LANGUAGE_PUNJABI                    0x0446
  192. #define LANGUAGE_RHAETO_ROMAN                0x0417
  193. #define LANGUAGE_ROMANIAN                    0x0418
  194. #define LANGUAGE_RUSSIAN                    0x0419
  195. #define LANGUAGE_RUSSIAN_MOLDOVA            0x0819
  196. #define LANGUAGE_SAMI_LAPPISH                0x043B
  197. #define LANGUAGE_SANSKRIT                    0x044F
  198. #define LANGUAGE_SERBIAN                    0x001A
  199. #define LANGUAGE_CROATIAN                    0x041A
  200. #define LANGUAGE_SERBIAN_LATIN                0x081A
  201. #define LANGUAGE_SERBIAN_CYRILLIC            0x0C1A
  202. #define LANGUAGE_SESOTHO                    0x0430
  203. #define LANGUAGE_SINDHI                     0x0459
  204. #define LANGUAGE_SLOVAK                     0x041B
  205. #define LANGUAGE_SLOVENIAN                    0x0424
  206. #define LANGUAGE_SORBIAN                    0x042E
  207. #define LANGUAGE_SPANISH                    0x040A
  208. #define LANGUAGE_SPANISH_MEXICAN            0x080A
  209. #define LANGUAGE_SPANISH_MODERN             0x0C0A
  210. #define LANGUAGE_SPANISH_GUATEMALA            0x100A
  211. #define LANGUAGE_SPANISH_COSTARICA            0x140A
  212. #define LANGUAGE_SPANISH_PANAMA             0x180A
  213. #define LANGUAGE_SPANISH_DOMINICAN_REPUBLIC 0x1C0A
  214. #define LANGUAGE_SPANISH_VENEZUELA            0x200A
  215. #define LANGUAGE_SPANISH_COLOMBIA            0x240A
  216. #define LANGUAGE_SPANISH_PERU                0x280A
  217. #define LANGUAGE_SPANISH_ARGENTINA            0x2C0A
  218. #define LANGUAGE_SPANISH_ECUADOR            0x300A
  219. #define LANGUAGE_SPANISH_CHILE                0x340A
  220. #define LANGUAGE_SPANISH_URUGUAY            0x380A
  221. #define LANGUAGE_SPANISH_PARAGUAY            0x3C0A
  222. #define LANGUAGE_SPANISH_BOLIVIA            0x400A
  223. #define LANGUAGE_SPANISH_EL_SALVADOR        0x440A
  224. #define LANGUAGE_SPANISH_HONDURAS            0x480A
  225. #define LANGUAGE_SPANISH_NICARAGUA            0x4C0A
  226. #define LANGUAGE_SPANISH_PUERTO_RICO        0x500A
  227. #define LANGUAGE_SWAHILI                    0x0441
  228. #define LANGUAGE_SWEDISH                    0x041D
  229. #define LANGUAGE_SWEDISH_FINLAND            0x081D
  230. #define LANGUAGE_TAJIK                        0x0428
  231. #define LANGUAGE_TAMIL                        0x0449
  232. #define LANGUAGE_TATAR                        0x0444
  233. #define LANGUAGE_TELUGU                     0x044A
  234. #define LANGUAGE_THAI                        0x041E
  235. #define LANGUAGE_TIBETAN                    0x0451
  236. #define LANGUAGE_TSONGA                        0x0431
  237. #define LANGUAGE_TSWANA                        0x0432
  238. #define LANGUAGE_TURKISH                    0x041F
  239. #define LANGUAGE_TURKMEN                    0x0442
  240. #define LANGUAGE_UKRAINIAN                    0x0422
  241. #define LANGUAGE_URDU                        0x0020
  242. #define LANGUAGE_URDU_PAKISTAN                0x0420
  243. #define LANGUAGE_URDU_INDIA                 0x0820
  244. #define LANGUAGE_UZBEK                        0x0043
  245. #define LANGUAGE_UZBEK_LATIN                0x0443
  246. #define LANGUAGE_UZBEK_CYRILLIC             0x0843
  247. #define LANGUAGE_VENDA                         0x0433
  248. #define LANGUAGE_VIETNAMESE                 0x042a
  249. #define LANGUAGE_WELSH                         0x0452
  250. #define LANGUAGE_XHOSA                         0x0434
  251. #define LANGUAGE_ZULU                         0x0435
  252. #define LANGUAGE_USER1                        0x0201
  253. #define LANGUAGE_USER2                        0x0202
  254. #define LANGUAGE_USER3                        0x0203
  255. #define LANGUAGE_USER4                        0x0204
  256. #define LANGUAGE_USER5                        0x0205
  257. #define LANGUAGE_USER6                        0x0206
  258. #define LANGUAGE_USER7                        0x0207
  259. #define LANGUAGE_USER8                        0x0208
  260. #define LANGUAGE_USER9                        0x0209
  261.  
  262. //! use only for import/export of MS documents, number formatter maps it to
  263. //! LANGUAGE_SYSTEM and then to effective system language
  264. #define LANGUAGE_SYSTEM_DEFAULT             0x0800
  265.  
  266. //! use only for import/export of MS documents, number formatter maps it to
  267. //! LANGUAGE_SYSTEM and then to effective system language
  268. #define LANGUAGE_PROCESS_OR_USER_DEFAULT    0x0400
  269.  
  270. #endif //_LANG_HXX
  271.  
  272.