1 module harud.c.consts; 2 3 enum int HPDF_TRUE = 1; 4 enum int HPDF_FALSE = 0; 5 6 enum int HPDF_OK = 0; 7 enum int HPDF_NOERROR = 0; 8 9 /* default values */ 10 11 /* buffer size which is required when we convert to character string. */ 12 enum int HPDF_TMP_BUF_SIZ = 512; 13 enum int HPDF_SHORT_BUF_SIZ = 32; 14 enum int HPDF_FLOAT_LEN = 11; 15 enum int HPDF_INT_LEN = 11; 16 enum int HPDF_TEXT_DEFAULT_LEN = 256; 17 enum int HPDF_UNICODE_HEADER_LEN = 2; 18 enum int HPDF_DATE_TIME_STR_LEN = 23; 19 20 /* length of each item defined in PDF */ 21 enum int HPDF_BYTE_OFFSET_LEN = 10; 22 enum int HPDF_OBJ_ID_LEN = 7; 23 enum int HPDF_GEN_NO_LEN = 5; 24 25 /* default value of Graphic State */ 26 enum string HPDF_DEF_FONT = "Helvetica"; 27 enum int HPDF_DEF_PAGE_LAYOUT = 0; /* HPDF_PAGE_LAYOUT_SINGLE */ 28 enum int HPDF_DEF_PAGE_MODE = 0; /* HPDF_PAGE_MODE_USE_NONE */ 29 enum int HPDF_DEF_WORDSPACE = 0; 30 enum int HPDF_DEF_CHARSPACE = 0; 31 enum int HPDF_DEF_FONTSIZE = 10; 32 enum int HPDF_DEF_HSCALING = 100; 33 enum int HPDF_DEF_LEADING = 0; 34 enum int HPDF_DEF_RENDERING_MODE = 0; /* HPDF_FILL */ 35 enum int HPDF_DEF_RISE = 0; 36 enum int HPDF_DEF_RAISE = HPDF_DEF_RISE; 37 enum int HPDF_DEF_LINEWIDTH = 1; 38 enum int HPDF_DEF_LINECAP = 0; /* HPDF_BUTT_END */ 39 enum int HPDF_DEF_LINEJOIN = 0; /* HPDF_MITER_JOIN */ 40 enum int HPDF_DEF_MITERLIMIT = 10; 41 enum int HPDF_DEF_FLATNESS = 1; 42 enum int HPDF_DEF_PAGE_NUM = 1; 43 44 enum int HPDF_BS_DEF_WIDTH = 1; 45 46 /* defalt page-size */ 47 enum float HPDF_DEF_PAGE_WIDTH = 595.276F; 48 enum float HPDF_DEF_PAGE_HEIGHT = 841.89F; 49 50 /* compression mode */ 51 52 enum int HPDF_COMP_NONE = 0x00; 53 enum int HPDF_COMP_TEXT = 0x01; 54 enum int HPDF_COMP_IMAGE = 0x02; 55 enum int HPDF_COMP_METADATA = 0x04; 56 enum int HPDF_COMP_ALL = 0x0F; 57 /* HPDF_COMP_BEST_COMPRESS 0x10 58 * #define HPDF_COMP_BEST_SPEED 0x20 59 */ 60 enum int HPDF_COMP_MASK = 0xFF; 61 62 /* viewer preferences definitions */ 63 64 enum int HPDF_HIDE_TOOLBAR = 1; 65 enum int HPDF_HIDE_MENUBAR = 2; 66 enum int HPDF_HIDE_WINDOW_UI = 4; 67 enum int HPDF_FIT_WINDOW = 8; 68 enum int HPDF_CENTER_WINDOW = 16; 69 70 /* limitation of object implementation (PDF1.4) */ 71 72 enum int HPDF_LIMIT_MAX_INT = 2_147_483_647; 73 enum int HPDF_LIMIT_MIN_INT = -2_147_483_647; 74 75 enum int HPDF_LIMIT_MAX_REAL = 32_767; 76 enum int HPDF_LIMIT_MIN_REAL = -32_767; 77 78 enum int HPDF_LIMIT_MAX_STRING_LEN = 65_535; 79 enum int HPDF_LIMIT_MAX_NAME_LEN = 127; 80 81 enum int HPDF_LIMIT_MAX_ARRAY = 8191; 82 enum int HPDF_LIMIT_MAX_DICT_ELEMENT = 4095; 83 enum int HPDF_LIMIT_MAX_XREF_ELEMENT = 8_388_607; 84 enum int HPDF_LIMIT_MAX_GSTATE = 28; 85 enum int HPDF_LIMIT_MAX_DEVICE_N = 8; 86 enum int HPDF_LIMIT_MAX_DEVICE_N_V15 = 32; 87 enum int HPDF_LIMIT_MAX_CID = 65_535; 88 enum int HPDF_MAX_GENERATION_NUM = 65_535; 89 90 enum int HPDF_MIN_PAGE_HEIGHT = 3; 91 enum int HPDF_MIN_PAGE_WIDTH = 3; 92 enum int HPDF_MAX_PAGE_HEIGHT = 14_400; 93 enum int HPDF_MAX_PAGE_WIDTH = 14_400; 94 enum int HPDF_MIN_MAGNIFICATION_FACTOR = 8; 95 enum int HPDF_MAX_MAGNIFICATION_FACTOR = 3200; 96 97 /* limitation of various properties */ 98 99 enum int HPDF_MIN_PAGE_SIZE = 3; 100 enum int HPDF_MAX_PAGE_SIZE = 14_400; 101 enum int HPDF_MIN_HORIZONTALSCALING = 10; 102 enum int HPDF_MAX_HORIZONTALSCALING = 300; 103 enum int HPDF_MIN_WORDSPACE = -30; 104 enum int HPDF_MAX_WORDSPACE = 300; 105 enum int HPDF_MIN_CHARSPACE = -30; 106 enum int HPDF_MAX_CHARSPACE = 300; 107 enum int HPDF_MAX_FONTSIZE = 300; 108 enum int HPDF_MAX_ZOOMSIZE = 10; 109 enum int HPDF_MAX_LEADING = 300; 110 enum int HPDF_MAX_LINEWIDTH = 100; 111 enum int HPDF_MAX_DASH_PATTERN = 100; 112 113 enum int HPDF_MAX_JWW_NUM = 128; 114 115 /*----- country code definition ----------------------------------------------*/ 116 117 enum string HPDF_COUNTRY_AF = "AF"; /* AFGHANISTAN */ 118 enum string HPDF_COUNTRY_AL = "AL"; /* ALBANIA */ 119 enum string HPDF_COUNTRY_DZ = "DZ"; /* ALGERIA */ 120 enum string HPDF_COUNTRY_AS = "AS"; /* AMERICAN SAMOA */ 121 enum string HPDF_COUNTRY_AD = "AD"; /* ANDORRA */ 122 enum string HPDF_COUNTRY_AO = "AO"; /* ANGOLA */ 123 enum string HPDF_COUNTRY_AI = "AI"; /* ANGUILLA */ 124 enum string HPDF_COUNTRY_AQ = "AQ"; /* ANTARCTICA */ 125 enum string HPDF_COUNTRY_AG = "AG"; /* ANTIGUA AND BARBUDA */ 126 enum string HPDF_COUNTRY_AR = "AR"; /* ARGENTINA */ 127 enum string HPDF_COUNTRY_AM = "AM"; /* ARMENIA */ 128 enum string HPDF_COUNTRY_AW = "AW"; /* ARUBA */ 129 enum string HPDF_COUNTRY_AU = "AU"; /* AUSTRALIA */ 130 enum string HPDF_COUNTRY_AT = "AT"; /* AUSTRIA */ 131 enum string HPDF_COUNTRY_AZ = "AZ"; /* AZERBAIJAN */ 132 enum string HPDF_COUNTRY_BS = "BS"; /* BAHAMAS */ 133 enum string HPDF_COUNTRY_BH = "BH"; /* BAHRAIN */ 134 enum string HPDF_COUNTRY_BD = "BD"; /* BANGLADESH */ 135 enum string HPDF_COUNTRY_BB = "BB"; /* BARBADOS */ 136 enum string HPDF_COUNTRY_BY = "BY"; /* BELARUS */ 137 enum string HPDF_COUNTRY_BE = "BE"; /* BELGIUM */ 138 enum string HPDF_COUNTRY_BZ = "BZ"; /* BELIZE */ 139 enum string HPDF_COUNTRY_BJ = "BJ"; /* BENIN */ 140 enum string HPDF_COUNTRY_BM = "BM"; /* BERMUDA */ 141 enum string HPDF_COUNTRY_BT = "BT"; /* BHUTAN */ 142 enum string HPDF_COUNTRY_BO = "BO"; /* BOLIVIA */ 143 enum string HPDF_COUNTRY_BA = "BA"; /* BOSNIA AND HERZEGOWINA */ 144 enum string HPDF_COUNTRY_BW = "BW"; /* BOTSWANA */ 145 enum string HPDF_COUNTRY_BV = "BV"; /* BOUVET ISLAND */ 146 enum string HPDF_COUNTRY_BR = "BR"; /* BRAZIL */ 147 enum string HPDF_COUNTRY_IO = "IO"; /* BRITISH INDIAN OCEAN TERRITORY */ 148 enum string HPDF_COUNTRY_BN = "BN"; /* BRUNEI DARUSSALAM */ 149 enum string HPDF_COUNTRY_BG = "BG"; /* BULGARIA */ 150 enum string HPDF_COUNTRY_BF = "BF"; /* BURKINA FASO */ 151 enum string HPDF_COUNTRY_BI = "BI"; /* BURUNDI */ 152 enum string HPDF_COUNTRY_KH = "KH"; /* CAMBODIA */ 153 enum string HPDF_COUNTRY_CM = "CM"; /* CAMEROON */ 154 enum string HPDF_COUNTRY_CA = "CA"; /* CANADA */ 155 enum string HPDF_COUNTRY_CV = "CV"; /* CAPE VERDE */ 156 enum string HPDF_COUNTRY_KY = "KY"; /* CAYMAN ISLANDS */ 157 enum string HPDF_COUNTRY_CF = "CF"; /* CENTRAL AFRICAN REPUBLIC */ 158 enum string HPDF_COUNTRY_TD = "TD"; /* CHAD */ 159 enum string HPDF_COUNTRY_CL = "CL"; /* CHILE */ 160 enum string HPDF_COUNTRY_CN = "CN"; /* CHINA */ 161 enum string HPDF_COUNTRY_CX = "CX"; /* CHRISTMAS ISLAND */ 162 enum string HPDF_COUNTRY_CC = "CC"; /* COCOS (KEELING) ISLANDS */ 163 enum string HPDF_COUNTRY_CO = "CO"; /* COLOMBIA */ 164 enum string HPDF_COUNTRY_KM = "KM"; /* COMOROS */ 165 enum string HPDF_COUNTRY_CG = "CG"; /* CONGO */ 166 enum string HPDF_COUNTRY_CK = "CK"; /* COOK ISLANDS */ 167 enum string HPDF_COUNTRY_CR = "CR"; /* COSTA RICA */ 168 enum string HPDF_COUNTRY_CI = "CI"; /* COTE D'IVOIRE */ 169 enum string HPDF_COUNTRY_HR = "HR"; /* CROATIA (local name: Hrvatska) */ 170 enum string HPDF_COUNTRY_CU = "CU"; /* CUBA */ 171 enum string HPDF_COUNTRY_CY = "CY"; /* CYPRUS */ 172 enum string HPDF_COUNTRY_CZ = "CZ"; /* CZECH REPUBLIC */ 173 enum string HPDF_COUNTRY_DK = "DK"; /* DENMARK */ 174 enum string HPDF_COUNTRY_DJ = "DJ"; /* DJIBOUTI */ 175 enum string HPDF_COUNTRY_DM = "DM"; /* DOMINICA */ 176 enum string HPDF_COUNTRY_DO = "DO"; /* DOMINICAN REPUBLIC */ 177 enum string HPDF_COUNTRY_TP = "TP"; /* EAST TIMOR */ 178 enum string HPDF_COUNTRY_EC = "EC"; /* ECUADOR */ 179 enum string HPDF_COUNTRY_EG = "EG"; /* EGYPT */ 180 enum string HPDF_COUNTRY_SV = "SV"; /* EL SALVADOR */ 181 enum string HPDF_COUNTRY_GQ = "GQ"; /* EQUATORIAL GUINEA */ 182 enum string HPDF_COUNTRY_ER = "ER"; /* ERITREA */ 183 enum string HPDF_COUNTRY_EE = "EE"; /* ESTONIA */ 184 enum string HPDF_COUNTRY_ET = "ET"; /* ETHIOPIA */ 185 enum string HPDF_COUNTRY_FK = "FK"; /* FALKLAND ISLANDS (MALVINAS) */ 186 enum string HPDF_COUNTRY_FO = "FO"; /* FAROE ISLANDS */ 187 enum string HPDF_COUNTRY_FJ = "FJ"; /* FIJI */ 188 enum string HPDF_COUNTRY_FI = "FI"; /* FINLAND */ 189 enum string HPDF_COUNTRY_FR = "FR"; /* FRANCE */ 190 enum string HPDF_COUNTRY_FX = "FX"; /* FRANCE, METROPOLITAN */ 191 enum string HPDF_COUNTRY_GF = "GF"; /* FRENCH GUIANA */ 192 enum string HPDF_COUNTRY_PF = "PF"; /* FRENCH POLYNESIA */ 193 enum string HPDF_COUNTRY_TF = "TF"; /* FRENCH SOUTHERN TERRITORIES */ 194 enum string HPDF_COUNTRY_GA = "GA"; /* GABON */ 195 enum string HPDF_COUNTRY_GM = "GM"; /* GAMBIA */ 196 enum string HPDF_COUNTRY_GE = "GE"; /* GEORGIA */ 197 enum string HPDF_COUNTRY_DE = "DE"; /* GERMANY */ 198 enum string HPDF_COUNTRY_GH = "GH"; /* GHANA */ 199 enum string HPDF_COUNTRY_GI = "GI"; /* GIBRALTAR */ 200 enum string HPDF_COUNTRY_GR = "GR"; /* GREECE */ 201 enum string HPDF_COUNTRY_GL = "GL"; /* GREENLAND */ 202 enum string HPDF_COUNTRY_GD = "GD"; /* GRENADA */ 203 enum string HPDF_COUNTRY_GP = "GP"; /* GUADELOUPE */ 204 enum string HPDF_COUNTRY_GU = "GU"; /* GUAM */ 205 enum string HPDF_COUNTRY_GT = "GT"; /* GUATEMALA */ 206 enum string HPDF_COUNTRY_GN = "GN"; /* GUINEA */ 207 enum string HPDF_COUNTRY_GW = "GW"; /* GUINEA-BISSAU */ 208 enum string HPDF_COUNTRY_GY = "GY"; /* GUYANA */ 209 enum string HPDF_COUNTRY_HT = "HT"; /* HAITI */ 210 enum string HPDF_COUNTRY_HM = "HM"; /* HEARD AND MC DONALD ISLANDS */ 211 enum string HPDF_COUNTRY_HN = "HN"; /* HONDURAS */ 212 enum string HPDF_COUNTRY_HK = "HK"; /* HONG KONG */ 213 enum string HPDF_COUNTRY_HU = "HU"; /* HUNGARY */ 214 enum string HPDF_COUNTRY_IS = "IS"; /* ICELAND */ 215 enum string HPDF_COUNTRY_IN = "IN"; /* INDIA */ 216 enum string HPDF_COUNTRY_ID = "ID"; /* INDONESIA */ 217 enum string HPDF_COUNTRY_IR = "IR"; /* IRAN (ISLAMIC REPUBLIC OF) */ 218 enum string HPDF_COUNTRY_IQ = "IQ"; /* IRAQ */ 219 enum string HPDF_COUNTRY_IE = "IE"; /* IRELAND */ 220 enum string HPDF_COUNTRY_IL = "IL"; /* ISRAEL */ 221 enum string HPDF_COUNTRY_IT = "IT"; /* ITALY */ 222 enum string HPDF_COUNTRY_JM = "JM"; /* JAMAICA */ 223 enum string HPDF_COUNTRY_JP = "JP"; /* JAPAN */ 224 enum string HPDF_COUNTRY_JO = "JO"; /* JORDAN */ 225 enum string HPDF_COUNTRY_KZ = "KZ"; /* KAZAKHSTAN */ 226 enum string HPDF_COUNTRY_KE = "KE"; /* KENYA */ 227 enum string HPDF_COUNTRY_KI = "KI"; /* KIRIBATI */ 228 enum string HPDF_COUNTRY_KP = "KP"; /* KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF */ 229 enum string HPDF_COUNTRY_KR = "KR"; /* KOREA, REPUBLIC OF */ 230 enum string HPDF_COUNTRY_KW = "KW"; /* KUWAIT */ 231 enum string HPDF_COUNTRY_KG = "KG"; /* KYRGYZSTAN */ 232 enum string HPDF_COUNTRY_LA = "LA"; /* LAO PEOPLE'S DEMOCRATIC REPUBLIC */ 233 enum string HPDF_COUNTRY_LV = "LV"; /* LATVIA */ 234 enum string HPDF_COUNTRY_LB = "LB"; /* LEBANON */ 235 enum string HPDF_COUNTRY_LS = "LS"; /* LESOTHO */ 236 enum string HPDF_COUNTRY_LR = "LR"; /* LIBERIA */ 237 enum string HPDF_COUNTRY_LY = "LY"; /* LIBYAN ARAB JAMAHIRIYA */ 238 enum string HPDF_COUNTRY_LI = "LI"; /* LIECHTENSTEIN */ 239 enum string HPDF_COUNTRY_LT = "LT"; /* LITHUANIA */ 240 enum string HPDF_COUNTRY_LU = "LU"; /* LUXEMBOURG */ 241 enum string HPDF_COUNTRY_MO = "MO"; /* MACAU */ 242 enum string HPDF_COUNTRY_MK = "MK"; /* MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF */ 243 enum string HPDF_COUNTRY_MG = "MG"; /* MADAGASCAR */ 244 enum string HPDF_COUNTRY_MW = "MW"; /* MALAWI */ 245 enum string HPDF_COUNTRY_MY = "MY"; /* MALAYSIA */ 246 enum string HPDF_COUNTRY_MV = "MV"; /* MALDIVES */ 247 enum string HPDF_COUNTRY_ML = "ML"; /* MALI */ 248 enum string HPDF_COUNTRY_MT = "MT"; /* MALTA */ 249 enum string HPDF_COUNTRY_MH = "MH"; /* MARSHALL ISLANDS */ 250 enum string HPDF_COUNTRY_MQ = "MQ"; /* MARTINIQUE */ 251 enum string HPDF_COUNTRY_MR = "MR"; /* MAURITANIA */ 252 enum string HPDF_COUNTRY_MU = "MU"; /* MAURITIUS */ 253 enum string HPDF_COUNTRY_YT = "YT"; /* MAYOTTE */ 254 enum string HPDF_COUNTRY_MX = "MX"; /* MEXICO */ 255 enum string HPDF_COUNTRY_FM = "FM"; /* MICRONESIA, FEDERATED STATES OF */ 256 enum string HPDF_COUNTRY_MD = "MD"; /* MOLDOVA, REPUBLIC OF */ 257 enum string HPDF_COUNTRY_MC = "MC"; /* MONACO */ 258 enum string HPDF_COUNTRY_MN = "MN"; /* MONGOLIA */ 259 enum string HPDF_COUNTRY_MS = "MS"; /* MONTSERRAT */ 260 enum string HPDF_COUNTRY_MA = "MA"; /* MOROCCO */ 261 enum string HPDF_COUNTRY_MZ = "MZ"; /* MOZAMBIQUE */ 262 enum string HPDF_COUNTRY_MM = "MM"; /* MYANMAR */ 263 enum string HPDF_COUNTRY_NA = "NA"; /* NAMIBIA */ 264 enum string HPDF_COUNTRY_NR = "NR"; /* NAURU */ 265 enum string HPDF_COUNTRY_NP = "NP"; /* NEPAL */ 266 enum string HPDF_COUNTRY_NL = "NL"; /* NETHERLANDS */ 267 enum string HPDF_COUNTRY_AN = "AN"; /* NETHERLANDS ANTILLES */ 268 enum string HPDF_COUNTRY_NC = "NC"; /* NEW CALEDONIA */ 269 enum string HPDF_COUNTRY_NZ = "NZ"; /* NEW ZEALAND */ 270 enum string HPDF_COUNTRY_NI = "NI"; /* NICARAGUA */ 271 enum string HPDF_COUNTRY_NE = "NE"; /* NIGER */ 272 enum string HPDF_COUNTRY_NG = "NG"; /* NIGERIA */ 273 enum string HPDF_COUNTRY_NU = "NU"; /* NIUE */ 274 enum string HPDF_COUNTRY_NF = "NF"; /* NORFOLK ISLAND */ 275 enum string HPDF_COUNTRY_MP = "MP"; /* NORTHERN MARIANA ISLANDS */ 276 enum string HPDF_COUNTRY_NO = "NO"; /* NORWAY */ 277 enum string HPDF_COUNTRY_OM = "OM"; /* OMAN */ 278 enum string HPDF_COUNTRY_PK = "PK"; /* PAKISTAN */ 279 enum string HPDF_COUNTRY_PW = "PW"; /* PALAU */ 280 enum string HPDF_COUNTRY_PA = "PA"; /* PANAMA */ 281 enum string HPDF_COUNTRY_PG = "PG"; /* PAPUA NEW GUINEA */ 282 enum string HPDF_COUNTRY_PY = "PY"; /* PARAGUAY */ 283 enum string HPDF_COUNTRY_PE = "PE"; /* PERU */ 284 enum string HPDF_COUNTRY_PH = "PH"; /* PHILIPPINES */ 285 enum string HPDF_COUNTRY_PN = "PN"; /* PITCAIRN */ 286 enum string HPDF_COUNTRY_PL = "PL"; /* POLAND */ 287 enum string HPDF_COUNTRY_PT = "PT"; /* PORTUGAL */ 288 enum string HPDF_COUNTRY_PR = "PR"; /* PUERTO RICO */ 289 enum string HPDF_COUNTRY_QA = "QA"; /* QATAR */ 290 enum string HPDF_COUNTRY_RE = "RE"; /* REUNION */ 291 enum string HPDF_COUNTRY_RO = "RO"; /* ROMANIA */ 292 enum string HPDF_COUNTRY_RU = "RU"; /* RUSSIAN FEDERATION */ 293 enum string HPDF_COUNTRY_RW = "RW"; /* RWANDA */ 294 enum string HPDF_COUNTRY_KN = "KN"; /* SAINT KITTS AND NEVIS */ 295 enum string HPDF_COUNTRY_LC = "LC"; /* SAINT LUCIA */ 296 enum string HPDF_COUNTRY_VC = "VC"; /* SAINT VINCENT AND THE GRENADINES */ 297 enum string HPDF_COUNTRY_WS = "WS"; /* SAMOA */ 298 enum string HPDF_COUNTRY_SM = "SM"; /* SAN MARINO */ 299 enum string HPDF_COUNTRY_ST = "ST"; /* SAO TOME AND PRINCIPE */ 300 enum string HPDF_COUNTRY_SA = "SA"; /* SAUDI ARABIA */ 301 enum string HPDF_COUNTRY_SN = "SN"; /* SENEGAL */ 302 enum string HPDF_COUNTRY_SC = "SC"; /* SEYCHELLES */ 303 enum string HPDF_COUNTRY_SL = "SL"; /* SIERRA LEONE */ 304 enum string HPDF_COUNTRY_SG = "SG"; /* SINGAPORE */ 305 enum string HPDF_COUNTRY_SK = "SK"; /* SLOVAKIA (Slovak Republic) */ 306 enum string HPDF_COUNTRY_SI = "SI"; /* SLOVENIA */ 307 enum string HPDF_COUNTRY_SB = "SB"; /* SOLOMON ISLANDS */ 308 enum string HPDF_COUNTRY_SO = "SO"; /* SOMALIA */ 309 enum string HPDF_COUNTRY_ZA = "ZA"; /* SOUTH AFRICA */ 310 enum string HPDF_COUNTRY_ES = "ES"; /* SPAIN */ 311 enum string HPDF_COUNTRY_LK = "LK"; /* SRI LANKA */ 312 enum string HPDF_COUNTRY_SH = "SH"; /* ST. HELENA */ 313 enum string HPDF_COUNTRY_PM = "PM"; /* ST. PIERRE AND MIQUELON */ 314 enum string HPDF_COUNTRY_SD = "SD"; /* SUDAN */ 315 enum string HPDF_COUNTRY_SR = "SR"; /* SURINAME */ 316 enum string HPDF_COUNTRY_SJ = "SJ"; /* SVALBARD AND JAN MAYEN ISLANDS */ 317 enum string HPDF_COUNTRY_SZ = "SZ"; /* SWAZILAND */ 318 enum string HPDF_COUNTRY_SE = "SE"; /* SWEDEN */ 319 enum string HPDF_COUNTRY_CH = "CH"; /* SWITZERLAND */ 320 enum string HPDF_COUNTRY_SY = "SY"; /* SYRIAN ARAB REPUBLIC */ 321 enum string HPDF_COUNTRY_TW = "TW"; /* TAIWAN, PROVINCE OF CHINA */ 322 enum string HPDF_COUNTRY_TJ = "TJ"; /* TAJIKISTAN */ 323 enum string HPDF_COUNTRY_TZ = "TZ"; /* TANZANIA, UNITED REPUBLIC OF */ 324 enum string HPDF_COUNTRY_TH = "TH"; /* THAILAND */ 325 enum string HPDF_COUNTRY_TG = "TG"; /* TOGO */ 326 enum string HPDF_COUNTRY_TK = "TK"; /* TOKELAU */ 327 enum string HPDF_COUNTRY_TO = "TO"; /* TONGA */ 328 enum string HPDF_COUNTRY_TT = "TT"; /* TRINIDAD AND TOBAGO */ 329 enum string HPDF_COUNTRY_TN = "TN"; /* TUNISIA */ 330 enum string HPDF_COUNTRY_TR = "TR"; /* TURKEY */ 331 enum string HPDF_COUNTRY_TM = "TM"; /* TURKMENISTAN */ 332 enum string HPDF_COUNTRY_TC = "TC"; /* TURKS AND CAICOS ISLANDS */ 333 enum string HPDF_COUNTRY_TV = "TV"; /* TUVALU */ 334 enum string HPDF_COUNTRY_UG = "UG"; /* UGANDA */ 335 enum string HPDF_COUNTRY_UA = "UA"; /* UKRAINE */ 336 enum string HPDF_COUNTRY_AE = "AE"; /* UNITED ARAB EMIRATES */ 337 enum string HPDF_COUNTRY_GB = "GB"; /* UNITED KINGDOM */ 338 enum string HPDF_COUNTRY_US = "US"; /* UNITED STATES */ 339 enum string HPDF_COUNTRY_UM = "UM"; /* UNITED STATES MINOR OUTLYING ISLANDS */ 340 enum string HPDF_COUNTRY_UY = "UY"; /* URUGUAY */ 341 enum string HPDF_COUNTRY_UZ = "UZ"; /* UZBEKISTAN */ 342 enum string HPDF_COUNTRY_VU = "VU"; /* VANUATU */ 343 enum string HPDF_COUNTRY_VA = "VA"; /* VATICAN CITY STATE (HOLY SEE) */ 344 enum string HPDF_COUNTRY_VE = "VE"; /* VENEZUELA */ 345 enum string HPDF_COUNTRY_VN = "VN"; /* VIET NAM */ 346 enum string HPDF_COUNTRY_VG = "VG"; /* VIRGIN ISLANDS (BRITISH) */ 347 enum string HPDF_COUNTRY_VI = "VI"; /* VIRGIN ISLANDS (U.S.) */ 348 enum string HPDF_COUNTRY_WF = "WF"; /* WALLIS AND FUTUNA ISLANDS */ 349 enum string HPDF_COUNTRY_EH = "EH"; /* WESTERN SAHARA */ 350 enum string HPDF_COUNTRY_YE = "YE"; /* YEMEN */ 351 enum string HPDF_COUNTRY_YU = "YU"; /* YUGOSLAVIA */ 352 enum string HPDF_COUNTRY_ZR = "ZR"; /* ZAIRE */ 353 enum string HPDF_COUNTRY_ZM = "ZM"; /* ZAMBIA */ 354 enum string HPDF_COUNTRY_ZW = "ZW"; /* ZIMBABWE */ 355 356 /*----- lang code definition -------------------------------------------------*/ 357 358 enum string HPDF_LANG_AA = "aa"; /* Afar */ 359 enum string HPDF_LANG_AB = "ab"; /* Abkhazian */ 360 enum string HPDF_LANG_AF = "af"; /* Afrikaans */ 361 enum string HPDF_LANG_AM = "am"; /* Amharic */ 362 enum string HPDF_LANG_AR = "ar"; /* Arabic */ 363 enum string HPDF_LANG_AS = "as"; /* Assamese */ 364 enum string HPDF_LANG_AY = "ay"; /* Aymara */ 365 enum string HPDF_LANG_AZ = "az"; /* Azerbaijani */ 366 enum string HPDF_LANG_BA = "ba"; /* Bashkir */ 367 enum string HPDF_LANG_BE = "be"; /* Byelorussian */ 368 enum string HPDF_LANG_BG = "bg"; /* Bulgarian */ 369 enum string HPDF_LANG_BH = "bh"; /* Bihari */ 370 enum string HPDF_LANG_BI = "bi"; /* Bislama */ 371 enum string HPDF_LANG_BN = "bn"; /* Bengali Bangla */ 372 enum string HPDF_LANG_BO = "bo"; /* Tibetan */ 373 enum string HPDF_LANG_BR = "br"; /* Breton */ 374 enum string HPDF_LANG_CA = "ca"; /* Catalan */ 375 enum string HPDF_LANG_CO = "co"; /* Corsican */ 376 enum string HPDF_LANG_CS = "cs"; /* Czech */ 377 enum string HPDF_LANG_CY = "cy"; /* Welsh */ 378 enum string HPDF_LANG_DA = "da"; /* Danish */ 379 enum string HPDF_LANG_DE = "de"; /* German */ 380 enum string HPDF_LANG_DZ = "dz"; /* Bhutani */ 381 enum string HPDF_LANG_EL = "el"; /* Greek */ 382 enum string HPDF_LANG_EN = "en"; /* English */ 383 enum string HPDF_LANG_EO = "eo"; /* Esperanto */ 384 enum string HPDF_LANG_ES = "es"; /* Spanish */ 385 enum string HPDF_LANG_ET = "et"; /* Estonian */ 386 enum string HPDF_LANG_EU = "eu"; /* Basque */ 387 enum string HPDF_LANG_FA = "fa"; /* Persian */ 388 enum string HPDF_LANG_FI = "fi"; /* Finnish */ 389 enum string HPDF_LANG_FJ = "fj"; /* Fiji */ 390 enum string HPDF_LANG_FO = "fo"; /* Faeroese */ 391 enum string HPDF_LANG_FR = "fr"; /* French */ 392 enum string HPDF_LANG_FY = "fy"; /* Frisian */ 393 enum string HPDF_LANG_GA = "ga"; /* Irish */ 394 enum string HPDF_LANG_GD = "gd"; /* Scots Gaelic */ 395 enum string HPDF_LANG_GL = "gl"; /* Galician */ 396 enum string HPDF_LANG_GN = "gn"; /* Guarani */ 397 enum string HPDF_LANG_GU = "gu"; /* Gujarati */ 398 enum string HPDF_LANG_HA = "ha"; /* Hausa */ 399 enum string HPDF_LANG_HI = "hi"; /* Hindi */ 400 enum string HPDF_LANG_HR = "hr"; /* Croatian */ 401 enum string HPDF_LANG_HU = "hu"; /* Hungarian */ 402 enum string HPDF_LANG_HY = "hy"; /* Armenian */ 403 enum string HPDF_LANG_IA = "ia"; /* Interlingua */ 404 enum string HPDF_LANG_IE = "ie"; /* Interlingue */ 405 enum string HPDF_LANG_IK = "ik"; /* Inupiak */ 406 enum string HPDF_LANG_IN = "in"; /* Indonesian */ 407 enum string HPDF_LANG_IS = "is"; /* Icelandic */ 408 enum string HPDF_LANG_IT = "it"; /* Italian */ 409 enum string HPDF_LANG_IW = "iw"; /* Hebrew */ 410 enum string HPDF_LANG_JA = "ja"; /* Japanese */ 411 enum string HPDF_LANG_JI = "ji"; /* Yiddish */ 412 enum string HPDF_LANG_JW = "jw"; /* Javanese */ 413 enum string HPDF_LANG_KA = "ka"; /* Georgian */ 414 enum string HPDF_LANG_KK = "kk"; /* Kazakh */ 415 enum string HPDF_LANG_KL = "kl"; /* Greenlandic */ 416 enum string HPDF_LANG_KM = "km"; /* Cambodian */ 417 enum string HPDF_LANG_KN = "kn"; /* Kannada */ 418 enum string HPDF_LANG_KO = "ko"; /* Korean */ 419 enum string HPDF_LANG_KS = "ks"; /* Kashmiri */ 420 enum string HPDF_LANG_KU = "ku"; /* Kurdish */ 421 enum string HPDF_LANG_KY = "ky"; /* Kirghiz */ 422 enum string HPDF_LANG_LA = "la"; /* Latin */ 423 enum string HPDF_LANG_LN = "ln"; /* Lingala */ 424 enum string HPDF_LANG_LO = "lo"; /* Laothian */ 425 enum string HPDF_LANG_LT = "lt"; /* Lithuanian */ 426 enum string HPDF_LANG_LV = "lv"; /* Latvian,Lettish */ 427 enum string HPDF_LANG_MG = "mg"; /* Malagasy */ 428 enum string HPDF_LANG_MI = "mi"; /* Maori */ 429 enum string HPDF_LANG_MK = "mk"; /* Macedonian */ 430 enum string HPDF_LANG_ML = "ml"; /* Malayalam */ 431 enum string HPDF_LANG_MN = "mn"; /* Mongolian */ 432 enum string HPDF_LANG_MO = "mo"; /* Moldavian */ 433 enum string HPDF_LANG_MR = "mr"; /* Marathi */ 434 enum string HPDF_LANG_MS = "ms"; /* Malay */ 435 enum string HPDF_LANG_MT = "mt"; /* Maltese */ 436 enum string HPDF_LANG_MY = "my"; /* Burmese */ 437 enum string HPDF_LANG_NA = "na"; /* Nauru */ 438 enum string HPDF_LANG_NE = "ne"; /* Nepali */ 439 enum string HPDF_LANG_NL = "nl"; /* Dutch */ 440 enum string HPDF_LANG_NO = "no"; /* Norwegian */ 441 enum string HPDF_LANG_OC = "oc"; /* Occitan */ 442 enum string HPDF_LANG_OM = "om"; /* (Afan)Oromo */ 443 enum string HPDF_LANG_OR = "or"; /* Oriya */ 444 enum string HPDF_LANG_PA = "pa"; /* Punjabi */ 445 enum string HPDF_LANG_PL = "pl"; /* Polish */ 446 enum string HPDF_LANG_PS = "ps"; /* Pashto,Pushto */ 447 enum string HPDF_LANG_PT = "pt"; /* Portuguese */ 448 enum string HPDF_LANG_QU = "qu"; /* Quechua */ 449 enum string HPDF_LANG_RM = "rm"; /* Rhaeto-Romance */ 450 enum string HPDF_LANG_RN = "rn"; /* Kirundi */ 451 enum string HPDF_LANG_RO = "ro"; /* Romanian */ 452 enum string HPDF_LANG_RU = "ru"; /* Russian */ 453 enum string HPDF_LANG_RW = "rw"; /* Kinyarwanda */ 454 enum string HPDF_LANG_SA = "sa"; /* Sanskrit */ 455 enum string HPDF_LANG_SD = "sd"; /* Sindhi */ 456 enum string HPDF_LANG_SG = "sg"; /* Sangro */ 457 enum string HPDF_LANG_SH = "sh"; /* Serbo-Croatian */ 458 enum string HPDF_LANG_SI = "si"; /* Singhalese */ 459 enum string HPDF_LANG_SK = "sk"; /* Slovak */ 460 enum string HPDF_LANG_SL = "sl"; /* Slovenian */ 461 enum string HPDF_LANG_SM = "sm"; /* Samoan */ 462 enum string HPDF_LANG_SN = "sn"; /* Shona */ 463 enum string HPDF_LANG_SO = "so"; /* Somali */ 464 enum string HPDF_LANG_SQ = "sq"; /* Albanian */ 465 enum string HPDF_LANG_SR = "sr"; /* Serbian */ 466 enum string HPDF_LANG_SS = "ss"; /* Siswati */ 467 enum string HPDF_LANG_ST = "st"; /* Sesotho */ 468 enum string HPDF_LANG_SU = "su"; /* Sundanese */ 469 enum string HPDF_LANG_SV = "sv"; /* Swedish */ 470 enum string HPDF_LANG_SW = "sw"; /* Swahili */ 471 enum string HPDF_LANG_TA = "ta"; /* Tamil */ 472 enum string HPDF_LANG_TE = "te"; /* Tegulu */ 473 enum string HPDF_LANG_TG = "tg"; /* Tajik */ 474 enum string HPDF_LANG_TH = "th"; /* Thai */ 475 enum string HPDF_LANG_TI = "ti"; /* Tigrinya */ 476 enum string HPDF_LANG_TK = "tk"; /* Turkmen */ 477 enum string HPDF_LANG_TL = "tl"; /* Tagalog */ 478 enum string HPDF_LANG_TN = "tn"; /* Setswanato Tonga */ 479 enum string HPDF_LANG_TR = "tr"; /* Turkish */ 480 enum string HPDF_LANG_TS = "ts"; /* Tsonga */ 481 enum string HPDF_LANG_TT = "tt"; /* Tatar */ 482 enum string HPDF_LANG_TW = "tw"; /* Twi */ 483 enum string HPDF_LANG_UK = "uk"; /* Ukrainian */ 484 enum string HPDF_LANG_UR = "ur"; /* Urdu */ 485 enum string HPDF_LANG_UZ = "uz"; /* Uzbek */ 486 enum string HPDF_LANG_VI = "vi"; /* Vietnamese */ 487 enum string HPDF_LANG_VO = "vo"; /* Volapuk */ 488 enum string HPDF_LANG_WO = "wo"; /* Wolof */ 489 enum string HPDF_LANG_XH = "xh"; /* Xhosa */ 490 enum string HPDF_LANG_YO = "yo"; /* Yoruba */ 491 enum string HPDF_LANG_ZH = "zh"; /* Chinese */