univalues.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. // Copyright (C) 2003 Mooffie <mooffie@typo.co.il>
  2. //
  3. // This program is free software; you can redistribute it and/or modify
  4. // it under the terms of the GNU General Public License as published by
  5. // the Free Software Foundation; either version 2 of the License, or
  6. // (at your option) any later version.
  7. //
  8. // This program is distributed in the hope that it will be useful,
  9. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. // GNU General Public License for more details.
  12. //
  13. // You should have received a copy of the GNU General Public License
  14. // along with this program; if not, write to the Free Software
  15. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
  16. #ifndef BDE_UNIVALUES_H
  17. #define BDE_UNIVALUES_H
  18. // Line Separator and Paragraph Separator
  19. #define UNICODE_LS 0x2028
  20. #define UNICODE_PS 0x2029
  21. // BIDI formatting codes
  22. #define UNI_LRM 0x200E
  23. #define UNI_RLM 0x200F
  24. #define UNI_LRE 0x202A
  25. #define UNI_RLE 0x202B
  26. #define UNI_PDF 0x202C
  27. #define UNI_LRO 0x202D
  28. #define UNI_RLO 0x202E
  29. // Hebrew codes, mainly points and punctuations
  30. #define UNI_HEB_ALEF 0x05D0
  31. #define UNI_HEB_TAV 0x05EA
  32. #define UNI_HEB_GERESH 0x05F3
  33. #define UNI_HEB_GERSHAYIM 0x05F4
  34. #define UNI_HEB_SHEVA 0x05B0
  35. #define UNI_HEB_HATAF_SEGOL 0x05B1
  36. #define UNI_HEB_HATAF_PATAH 0x05B2
  37. #define UNI_HEB_HATAF_QAMATS 0x05B3
  38. #define UNI_HEB_HIRIQ 0x05B4
  39. #define UNI_HEB_TSERE 0x05B5
  40. #define UNI_HEB_SEGOL 0x05B6
  41. #define UNI_HEB_PATAH 0x05B7
  42. #define UNI_HEB_QAMATS 0x05B8
  43. #define UNI_HEB_HOLAM 0x05B9
  44. #define UNI_HEB_QUBUTS 0x05BB
  45. #define UNI_HEB_DAGESH_OR_MAPIQ 0x05BC
  46. #define UNI_HEB_METEG 0x05BD
  47. #define UNI_HEB_MAQAF 0x05BE
  48. #define UNI_HEB_RAFE 0x05BF
  49. #define UNI_HEB_PASEQ 0x05C0
  50. #define UNI_HEB_SHIN_DOT 0x05C1
  51. #define UNI_HEB_SIN_DOT 0x05C2
  52. #define UNI_HEB_SOF_PASUQ 0x05C3
  53. #define UNI_HEB_UPPER_DOT 0x05C4
  54. // Hebrew cantillation marks
  55. #define UNI_HEB_ETNAHTA 0x0591
  56. #define UNI_HEB_MASORA_CIRCLE 0x05AF
  57. // in the above range, 0x05A2 is not allocated
  58. // Arabic harakats
  59. #define UNI_ARA_FATHATAN 0x064B
  60. #define UNI_ARA_SUKUN 0x0652
  61. #define UNI_ARA_SUPERSCIPT_ALEF 0x0670
  62. // Other punctuation
  63. #define UNI_HYPHEN 0x2010
  64. #define UNI_NON_BREAKING_HYPHEN 0x2011
  65. #define UNI_EN_DASH 0x2013
  66. #define UNI_EM_DASH 0x2014
  67. #define UNI_LEFT_SINGLE_QUOTE 0x2018
  68. #define UNI_RIGHT_SINGLE_QUOTE 0x2019
  69. #define UNI_SINGLE_LOW9_QUOTE 0x201A
  70. #define UNI_SINGLE_HIGH_REV9_QUOTE 0x201B
  71. #define UNI_LEFT_DOUBLE_QUOTE 0x201C
  72. #define UNI_RIGHT_DOUBLE_QUOTE 0x201D
  73. #define UNI_DOUBLE_LOW9_QUOTE 0x201E
  74. #define UNI_DOUBLE_HIGH_REV9_QUOTE 0x201F
  75. #define UNI_MINUS_SIGN 0x2212
  76. #define UNI_BULLET 0x2022
  77. // Misc
  78. #define UNI_REPLACEMENT 0xFFFD
  79. #define UNI_NS_UNDERSCORE 0x0332
  80. #define UNI_NO_BREAK_SPACE 0x00A0
  81. // Arabic
  82. #define UNI_ZWNJ 0x200C
  83. #define UNI_ZWJ 0x200D
  84. #endif