TextMap.cs 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. // Permission is hereby granted, free of charge, to any person obtaining
  2. // a copy of this software and associated documentation files (the
  3. // "Software"), to deal in the Software without restriction, including
  4. // without limitation the rights to use, copy, modify, merge, publish,
  5. // distribute, sublicense, and/or sell copies of the Software, and to
  6. // permit persons to whom the Software is furnished to do so, subject to
  7. // the following conditions:
  8. //
  9. // The above copyright notice and this permission notice shall be
  10. // included in all copies or substantial portions of the Software.
  11. //
  12. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  13. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  14. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  15. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  16. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  17. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  18. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  19. //
  20. // Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
  21. //
  22. // Authors:
  23. // Peter Bartok ([email protected])
  24. //
  25. //
  26. // This map is for convencience only, any app can create/use it's own
  27. // StdCharCode -> <text> table
  28. using System.Collections;
  29. namespace System.Windows.Forms.RTF {
  30. #if RTF_LIB
  31. public
  32. #else
  33. internal
  34. #endif
  35. class TextMap {
  36. #region Local Variables
  37. private string[] table;
  38. #endregion // Local Variables
  39. #region Public Constructors
  40. public TextMap() {
  41. table = new string[(int)StandardCharCode.MaxChar];
  42. for (int i = 0; i < (int)StandardCharCode.MaxChar; i++) {
  43. table[i] = string.Empty;
  44. }
  45. }
  46. #endregion // Public Constructors
  47. #region Public Instance Properties
  48. internal string this[StandardCharCode c] { // FIXME - this should be public, if the whole namespace was public (ie standalone RTF parser)
  49. get {
  50. return table[(int)c];
  51. }
  52. set {
  53. table[(int)c] = value;
  54. }
  55. }
  56. public string[] Table {
  57. get {
  58. return table;
  59. }
  60. }
  61. #endregion // Public Instance Properties
  62. #region Public Static Methods
  63. public static void SetupStandardTable(string[] table)
  64. {
  65. /*
  66. table[(int)StandardCharCode.space] = " ";
  67. table[(int)StandardCharCode.exclam] = "!";
  68. table[(int)StandardCharCode.quotedbl] = "\"";
  69. table[(int)StandardCharCode.numbersign] = "#";
  70. table[(int)StandardCharCode.dollar] = "$";
  71. table[(int)StandardCharCode.percent] = "%";
  72. table[(int)StandardCharCode.ampersand] = "&";
  73. table[(int)StandardCharCode.quoteright] = "'";
  74. table[(int)StandardCharCode.parenleft] = "(";
  75. table[(int)StandardCharCode.parenright] = ")";
  76. table[(int)StandardCharCode.asterisk] = "*";
  77. table[(int)StandardCharCode.plus] = "+";
  78. table[(int)StandardCharCode.comma] = ",";
  79. table[(int)StandardCharCode.hyphen] = "-";
  80. table[(int)StandardCharCode.period] = ".";
  81. table[(int)StandardCharCode.slash] = "/";
  82. table[(int)StandardCharCode.zero] = "0";
  83. table[(int)StandardCharCode.one] = "1";
  84. table[(int)StandardCharCode.two] = "2";
  85. table[(int)StandardCharCode.three] = "3";
  86. table[(int)StandardCharCode.four] = "4";
  87. table[(int)StandardCharCode.five] = "5";
  88. table[(int)StandardCharCode.six] = "6";
  89. table[(int)StandardCharCode.seven] = "7";
  90. table[(int)StandardCharCode.eight] = "8";
  91. table[(int)StandardCharCode.nine] = "9";
  92. table[(int)StandardCharCode.colon] = ":";
  93. table[(int)StandardCharCode.semicolon] = ";";
  94. table[(int)StandardCharCode.less] = "<";
  95. table[(int)StandardCharCode.equal] = "=";
  96. table[(int)StandardCharCode.greater] = ">";
  97. table[(int)StandardCharCode.question] = "?";
  98. table[(int)StandardCharCode.at] = "@";
  99. table[(int)StandardCharCode.A] = "A";
  100. table[(int)StandardCharCode.B] = "B";
  101. table[(int)StandardCharCode.C] = "C";
  102. table[(int)StandardCharCode.D] = "D";
  103. table[(int)StandardCharCode.E] = "E";
  104. table[(int)StandardCharCode.F] = "F";
  105. table[(int)StandardCharCode.G] = "G";
  106. table[(int)StandardCharCode.H] = "H";
  107. table[(int)StandardCharCode.I] = "I";
  108. table[(int)StandardCharCode.J] = "J";
  109. table[(int)StandardCharCode.K] = "K";
  110. table[(int)StandardCharCode.L] = "L";
  111. table[(int)StandardCharCode.M] = "M";
  112. table[(int)StandardCharCode.N] = "N";
  113. table[(int)StandardCharCode.O] = "O";
  114. table[(int)StandardCharCode.P] = "P";
  115. table[(int)StandardCharCode.Q] = "Q";
  116. table[(int)StandardCharCode.R] = "R";
  117. table[(int)StandardCharCode.S] = "S";
  118. table[(int)StandardCharCode.T] = "T";
  119. table[(int)StandardCharCode.U] = "U";
  120. table[(int)StandardCharCode.V] = "V";
  121. table[(int)StandardCharCode.W] = "W";
  122. table[(int)StandardCharCode.X] = "X";
  123. table[(int)StandardCharCode.Y] = "Y";
  124. table[(int)StandardCharCode.Z] = "Z";
  125. table[(int)StandardCharCode.bracketleft] = "[";
  126. table[(int)StandardCharCode.backslash] = "\\";
  127. table[(int)StandardCharCode.bracketright] = "]";
  128. table[(int)StandardCharCode.asciicircum] = "^";
  129. table[(int)StandardCharCode.underscore] = "_";
  130. table[(int)StandardCharCode.quoteleft] = "`";
  131. table[(int)StandardCharCode.a] = "a";
  132. table[(int)StandardCharCode.b] = "b";
  133. table[(int)StandardCharCode.c] = "c";
  134. table[(int)StandardCharCode.d] = "d";
  135. table[(int)StandardCharCode.e] = "e";
  136. table[(int)StandardCharCode.f] = "f";
  137. table[(int)StandardCharCode.g] = "g";
  138. table[(int)StandardCharCode.h] = "h";
  139. table[(int)StandardCharCode.i] = "i";
  140. table[(int)StandardCharCode.j] = "j";
  141. table[(int)StandardCharCode.k] = "k";
  142. table[(int)StandardCharCode.l] = "l";
  143. table[(int)StandardCharCode.m] = "m";
  144. table[(int)StandardCharCode.n] = "n";
  145. table[(int)StandardCharCode.o] = "o";
  146. table[(int)StandardCharCode.p] = "p";
  147. table[(int)StandardCharCode.q] = "q";
  148. table[(int)StandardCharCode.r] = "r";
  149. table[(int)StandardCharCode.s] = "s";
  150. table[(int)StandardCharCode.t] = "t";
  151. table[(int)StandardCharCode.u] = "u";
  152. table[(int)StandardCharCode.v] = "v";
  153. table[(int)StandardCharCode.w] = "w";
  154. table[(int)StandardCharCode.x] = "x";
  155. table[(int)StandardCharCode.y] = "y";
  156. table[(int)StandardCharCode.z] = "z";
  157. table[(int)StandardCharCode.braceleft] = "{";
  158. table[(int)StandardCharCode.bar] = "|";
  159. table[(int)StandardCharCode.braceright] = "}";
  160. table[(int)StandardCharCode.asciitilde] = "~";
  161. table[(int)StandardCharCode.AE] = "AE";
  162. table[(int)StandardCharCode.OE] = "OE";
  163. table[(int)StandardCharCode.acute] = "'";
  164. table[(int)StandardCharCode.ae] = "ae";
  165. table[(int)StandardCharCode.angleleft] = "<";
  166. table[(int)StandardCharCode.angleright] = ">";
  167. table[(int)StandardCharCode.arrowboth] = "<->";
  168. table[(int)StandardCharCode.arrowdblboth] = "<=>";
  169. table[(int)StandardCharCode.arrowdblleft] = "<=";
  170. table[(int)StandardCharCode.arrowdblright] = "=>";
  171. table[(int)StandardCharCode.arrowleft] = "<-";
  172. table[(int)StandardCharCode.arrowright] = "->";
  173. table[(int)StandardCharCode.bullet] = "o";
  174. table[(int)StandardCharCode.cent] = "cent";
  175. table[(int)StandardCharCode.circumflex] = "^";
  176. table[(int)StandardCharCode.copyright] = "(c)";
  177. table[(int)StandardCharCode.copyrightsans] = "(c)";
  178. table[(int)StandardCharCode.degree] = "deg.";
  179. table[(int)StandardCharCode.divide] = "/";
  180. table[(int)StandardCharCode.dotlessi] = "i";
  181. table[(int)StandardCharCode.ellipsis] = "...";
  182. table[(int)StandardCharCode.emdash] = "--";
  183. table[(int)StandardCharCode.endash] = "-";
  184. table[(int)StandardCharCode.fi] = "fi";
  185. table[(int)StandardCharCode.fl] = "fl";
  186. table[(int)StandardCharCode.fraction] = "/";
  187. table[(int)StandardCharCode.germandbls] = "ss";
  188. table[(int)StandardCharCode.grave] = "`";
  189. table[(int)StandardCharCode.greaterequal] = ">=";
  190. table[(int)StandardCharCode.guillemotleft] = "<<";
  191. table[(int)StandardCharCode.guillemotright] = ">>";
  192. table[(int)StandardCharCode.guilsinglleft] = "<";
  193. table[(int)StandardCharCode.guilsinglright] = ">";
  194. table[(int)StandardCharCode.lessequal] = "<=";
  195. table[(int)StandardCharCode.logicalnot] = "~";
  196. table[(int)StandardCharCode.mathasterisk] = "*";
  197. table[(int)StandardCharCode.mathequal] = "=";
  198. table[(int)StandardCharCode.mathminus] = "-";
  199. table[(int)StandardCharCode.mathnumbersign] = "#";
  200. table[(int)StandardCharCode.mathplus] = "+";
  201. table[(int)StandardCharCode.mathtilde] = "~";
  202. table[(int)StandardCharCode.minus] = "-";
  203. table[(int)StandardCharCode.mu] = "u";
  204. table[(int)StandardCharCode.multiply] = "x";
  205. table[(int)StandardCharCode.nobrkhyphen] = "-";
  206. table[(int)StandardCharCode.nobrkspace] = "";
  207. table[(int)StandardCharCode.notequal] = "!=";
  208. table[(int)StandardCharCode.oe] = "oe";
  209. table[(int)StandardCharCode.onehalf] = "1/2";
  210. table[(int)StandardCharCode.onequarter] = "1/4";
  211. table[(int)StandardCharCode.periodcentered] = ".";
  212. table[(int)StandardCharCode.plusminus] = "+/-";
  213. table[(int)StandardCharCode.quotedblbase] = ",,";
  214. table[(int)StandardCharCode.quotedblleft] = "\"";
  215. table[(int)StandardCharCode.quotedblright] = "\"";
  216. table[(int)StandardCharCode.quotesinglbase] = ",";
  217. table[(int)StandardCharCode.registered] = "reg.";
  218. table[(int)StandardCharCode.registersans] = "reg.";
  219. table[(int)StandardCharCode.threequarters] = "3/4";
  220. table[(int)StandardCharCode.tilde] = "~";
  221. table[(int)StandardCharCode.trademark] = "(TM)";
  222. table[(int)StandardCharCode.trademarksans] = "(TM)";
  223. table[(int)StandardCharCode.aacute] = "\xE0";
  224. table[(int)StandardCharCode.questiondown] = "\xBF";
  225. table[(int)StandardCharCode.udieresis] = "\xFC";
  226. table[(int)StandardCharCode.Udieresis] = "\xDC";
  227. table[(int)StandardCharCode.odieresis] = "\xF6";
  228. table[(int)StandardCharCode.Odieresis] = "\xD6";
  229. */
  230. table [(int) StandardCharCode.formula] = "\x6";
  231. table [(int) StandardCharCode.nobrkhyphen] = "\x1e";
  232. table [(int) StandardCharCode.opthyphen] = "\x1f";
  233. table [(int) StandardCharCode.space] = " ";
  234. table [(int) StandardCharCode.exclam] = "!";
  235. table [(int) StandardCharCode.quotedbl] = "\"";
  236. table [(int) StandardCharCode.numbersign] = "#";
  237. table [(int) StandardCharCode.dollar] = "$";
  238. table [(int) StandardCharCode.percent] = "%";
  239. table [(int) StandardCharCode.ampersand] = "&";
  240. table [(int) StandardCharCode.parenleft] = "(";
  241. table [(int) StandardCharCode.parenright] = ")";
  242. table [(int) StandardCharCode.asterisk] = "*";
  243. table [(int) StandardCharCode.plus] = "+";
  244. table [(int) StandardCharCode.comma] = ",";
  245. table [(int) StandardCharCode.hyphen] = "-";
  246. table [(int) StandardCharCode.period] = ".";
  247. table [(int) StandardCharCode.slash] = "/";
  248. table [(int) StandardCharCode.zero] = "0";
  249. table [(int) StandardCharCode.one] = "1";
  250. table [(int) StandardCharCode.two] = "2";
  251. table [(int) StandardCharCode.three] = "3";
  252. table [(int) StandardCharCode.four] = "4";
  253. table [(int) StandardCharCode.five] = "5";
  254. table [(int) StandardCharCode.six] = "6";
  255. table [(int) StandardCharCode.seven] = "7";
  256. table [(int) StandardCharCode.eight] = "8";
  257. table [(int) StandardCharCode.nine] = "9";
  258. table [(int) StandardCharCode.colon] = ":";
  259. table [(int) StandardCharCode.semicolon] = ";";
  260. table [(int) StandardCharCode.less] = "<";
  261. table [(int) StandardCharCode.equal] = "=";
  262. table [(int) StandardCharCode.greater] = ">";
  263. table [(int) StandardCharCode.question] = "?";
  264. table [(int) StandardCharCode.at] = "@";
  265. table [(int) StandardCharCode.A] = "A";
  266. table [(int) StandardCharCode.B] = "B";
  267. table [(int) StandardCharCode.C] = "C";
  268. table [(int) StandardCharCode.D] = "D";
  269. table [(int) StandardCharCode.E] = "E";
  270. table [(int) StandardCharCode.F] = "F";
  271. table [(int) StandardCharCode.G] = "G";
  272. table [(int) StandardCharCode.H] = "H";
  273. table [(int) StandardCharCode.I] = "I";
  274. table [(int) StandardCharCode.J] = "J";
  275. table [(int) StandardCharCode.K] = "K";
  276. table [(int) StandardCharCode.L] = "L";
  277. table [(int) StandardCharCode.M] = "M";
  278. table [(int) StandardCharCode.N] = "N";
  279. table [(int) StandardCharCode.O] = "O";
  280. table [(int) StandardCharCode.P] = "P";
  281. table [(int) StandardCharCode.Q] = "Q";
  282. table [(int) StandardCharCode.R] = "R";
  283. table [(int) StandardCharCode.S] = "S";
  284. table [(int) StandardCharCode.T] = "T";
  285. table [(int) StandardCharCode.U] = "U";
  286. table [(int) StandardCharCode.V] = "V";
  287. table [(int) StandardCharCode.W] = "W";
  288. table [(int) StandardCharCode.X] = "X";
  289. table [(int) StandardCharCode.Y] = "Y";
  290. table [(int) StandardCharCode.Z] = "Z";
  291. table [(int) StandardCharCode.bracketleft] = "[";
  292. table [(int) StandardCharCode.backslash] = "\\";
  293. table [(int) StandardCharCode.bracketright] = "]";
  294. table [(int) StandardCharCode.asciicircum] = "^";
  295. table [(int) StandardCharCode.underscore] = "_";
  296. table [(int) StandardCharCode.quoteleft] = "`";
  297. table [(int) StandardCharCode.a] = "a";
  298. table [(int) StandardCharCode.b] = "b";
  299. table [(int) StandardCharCode.c] = "c";
  300. table [(int) StandardCharCode.d] = "d";
  301. table [(int) StandardCharCode.e] = "e";
  302. table [(int) StandardCharCode.f] = "f";
  303. table [(int) StandardCharCode.g] = "g";
  304. table [(int) StandardCharCode.h] = "h";
  305. table [(int) StandardCharCode.i] = "i";
  306. table [(int) StandardCharCode.j] = "j";
  307. table [(int) StandardCharCode.k] = "k";
  308. table [(int) StandardCharCode.l] = "l";
  309. table [(int) StandardCharCode.m] = "m";
  310. table [(int) StandardCharCode.n] = "n";
  311. table [(int) StandardCharCode.o] = "o";
  312. table [(int) StandardCharCode.p] = "p";
  313. table [(int) StandardCharCode.q] = "q";
  314. table [(int) StandardCharCode.r] = "r";
  315. table [(int) StandardCharCode.s] = "s";
  316. table [(int) StandardCharCode.t] = "t";
  317. table [(int) StandardCharCode.u] = "u";
  318. table [(int) StandardCharCode.v] = "v";
  319. table [(int) StandardCharCode.w] = "w";
  320. table [(int) StandardCharCode.x] = "x";
  321. table [(int) StandardCharCode.y] = "y";
  322. table [(int) StandardCharCode.z] = "z";
  323. table [(int) StandardCharCode.braceleft] = "{";
  324. table [(int) StandardCharCode.bar] = "|";
  325. table [(int) StandardCharCode.braceright] = "}";
  326. table [(int) StandardCharCode.asciitilde] = "~";
  327. table [(int) StandardCharCode.nobrkspace] = "\xa0";
  328. table [(int) StandardCharCode.exclamdown] = "\xa1";
  329. table [(int) StandardCharCode.cent] = "\xa2";
  330. table [(int) StandardCharCode.sterling] = "\xa3";
  331. table [(int) StandardCharCode.currency] = "\xa4";
  332. table [(int) StandardCharCode.yen] = "\xa5";
  333. table [(int) StandardCharCode.brokenbar] = "\xa6";
  334. table [(int) StandardCharCode.section] = "\xa7";
  335. table [(int) StandardCharCode.dieresis] = "\xa8";
  336. table [(int) StandardCharCode.copyright] = "\xa9";
  337. table [(int) StandardCharCode.ordfeminine] = "\xaa";
  338. table [(int) StandardCharCode.guillemotleft] = "\xab";
  339. table [(int) StandardCharCode.logicalnot] = "\xac";
  340. table [(int) StandardCharCode.opthyphen] = "\xad";
  341. table [(int) StandardCharCode.registered] = "\xae";
  342. table [(int) StandardCharCode.macron] = "\xaf";
  343. table [(int) StandardCharCode.degree] = "\xb0";
  344. table [(int) StandardCharCode.plusminus] = "\xb1";
  345. table [(int) StandardCharCode.twosuperior] = "\xb2";
  346. table [(int) StandardCharCode.threesuperior] = "\xb3";
  347. table [(int) StandardCharCode.acute] = "\xb4";
  348. table [(int) StandardCharCode.mu] = "\xb5";
  349. table [(int) StandardCharCode.paragraph] = "\xb6";
  350. table [(int) StandardCharCode.periodcentered] = "\xb7";
  351. table [(int) StandardCharCode.cedilla] = "\xb8";
  352. table [(int) StandardCharCode.onesuperior] = "\xb9";
  353. table [(int) StandardCharCode.ordmasculine] = "\xba";
  354. table [(int) StandardCharCode.guillemotright] = "\xbb";
  355. table [(int) StandardCharCode.onequarter] = "\xbc";
  356. table [(int) StandardCharCode.onehalf] = "\xbd";
  357. table [(int) StandardCharCode.threequarters] = "\xbe";
  358. table [(int) StandardCharCode.questiondown] = "\xbf";
  359. table [(int) StandardCharCode.Agrave] = "\xc0";
  360. table [(int) StandardCharCode.Aacute] = "\xc1";
  361. table [(int) StandardCharCode.Acircumflex] = "\xc2";
  362. table [(int) StandardCharCode.Atilde] = "\xc3";
  363. table [(int) StandardCharCode.Adieresis] = "\xc4";
  364. table [(int) StandardCharCode.Aring] = "\xc5";
  365. table [(int) StandardCharCode.AE] = "\xc6";
  366. table [(int) StandardCharCode.Ccedilla] = "\xc7";
  367. table [(int) StandardCharCode.Egrave] = "\xc8";
  368. table [(int) StandardCharCode.Eacute] = "\xc9";
  369. table [(int) StandardCharCode.Ecircumflex] = "\xca";
  370. table [(int) StandardCharCode.Edieresis] = "\xcb";
  371. table [(int) StandardCharCode.Igrave] = "\xcc";
  372. table [(int) StandardCharCode.Iacute] = "\xcd";
  373. table [(int) StandardCharCode.Icircumflex] = "\xce";
  374. table [(int) StandardCharCode.Idieresis] = "\xcf";
  375. table [(int) StandardCharCode.Eth] = "\xd0";
  376. table [(int) StandardCharCode.Ntilde] = "\xd1";
  377. table [(int) StandardCharCode.Ograve] = "\xd2";
  378. table [(int) StandardCharCode.Oacute] = "\xd3";
  379. table [(int) StandardCharCode.Ocircumflex] = "\xd4";
  380. table [(int) StandardCharCode.Otilde] = "\xd5";
  381. table [(int) StandardCharCode.Odieresis] = "\xd6";
  382. table [(int) StandardCharCode.multiply] = "\xd7";
  383. table [(int) StandardCharCode.Oslash] = "\xd8";
  384. table [(int) StandardCharCode.Ugrave] = "\xd9";
  385. table [(int) StandardCharCode.Uacute] = "\xda";
  386. table [(int) StandardCharCode.Ucircumflex] = "\xdb";
  387. table [(int) StandardCharCode.Udieresis] = "\xdc";
  388. table [(int) StandardCharCode.Yacute] = "\xdd";
  389. table [(int) StandardCharCode.Thorn] = "\xde";
  390. table [(int) StandardCharCode.germandbls] = "\xdf";
  391. table [(int) StandardCharCode.agrave] = "\xe0";
  392. table [(int) StandardCharCode.aacute] = "\xe1";
  393. table [(int) StandardCharCode.acircumflex] = "\xe2";
  394. table [(int) StandardCharCode.atilde] = "\xe3";
  395. table [(int) StandardCharCode.adieresis] = "\xe4";
  396. table [(int) StandardCharCode.aring] = "\xe5";
  397. table [(int) StandardCharCode.ae] = "\xe6";
  398. table [(int) StandardCharCode.ccedilla] = "\xe7";
  399. table [(int) StandardCharCode.egrave] = "\xe8";
  400. table [(int) StandardCharCode.eacute] = "\xe9";
  401. table [(int) StandardCharCode.ecircumflex] = "\xea";
  402. table [(int) StandardCharCode.edieresis] = "\xeb";
  403. table [(int) StandardCharCode.igrave] = "\xec";
  404. table [(int) StandardCharCode.iacute] = "\xed";
  405. table [(int) StandardCharCode.icircumflex] = "\xee";
  406. table [(int) StandardCharCode.idieresis] = "\xef";
  407. table [(int) StandardCharCode.eth] = "\xf0";
  408. table [(int) StandardCharCode.ntilde] = "\xf1";
  409. table [(int) StandardCharCode.ograve] = "\xf2";
  410. table [(int) StandardCharCode.oacute] = "\xf3";
  411. table [(int) StandardCharCode.ocircumflex] = "\xf4";
  412. table [(int) StandardCharCode.otilde] = "\xf5";
  413. table [(int) StandardCharCode.odieresis] = "\xf6";
  414. table [(int) StandardCharCode.divide] = "\xf7";
  415. table [(int) StandardCharCode.oslash] = "\xf8";
  416. table [(int) StandardCharCode.ugrave] = "\xf9";
  417. table [(int) StandardCharCode.uacute] = "\xfa";
  418. table [(int) StandardCharCode.ucircumflex] = "\xfb";
  419. table [(int) StandardCharCode.udieresis] = "\xfc";
  420. table [(int) StandardCharCode.yacute] = "\xfd";
  421. table [(int) StandardCharCode.thorn] = "\xfe";
  422. table [(int) StandardCharCode.ydieresis] = "\xff";
  423. }
  424. #endregion // Public Static Methods
  425. }
  426. }