Searched refs:textKeywords (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/
H A DRTFReader.java97 /** textKeywords maps RTF keywords to single-character strings,
99 static Dictionary<String, String> textKeywords = null; field in class:RTFReader
101 textKeywords = new Hashtable<String, String>();
102 textKeywords.put("\\", "\\");
103 textKeywords.put("{", "{");
104 textKeywords.put("}", "}");
105 textKeywords.put(" ", "\u00A0"); /* not in the spec... */
106 textKeywords.put("~", "\u00A0"); /* nonbreaking space */
107 textKeywords.put("_", "\u2011"); /* nonbreaking hyphen */
108 textKeywords
[all...]
H A DRTFGenerator.java94 static protected CharacterKeywordPair[] textKeywords; field in class:RTFGenerator
99 Dictionary textKeywordDictionary = RTFReader.textKeywords;
108 textKeywords = new CharacterKeywordPair[tempPairs.size()];
109 tempPairs.copyInto(textKeywords);
897 for(i = 0; i < textKeywords.length; i++) {
898 if (textKeywords[i].character == ch) {
899 writeControlWord(textKeywords[i].keyword);

Completed in 37 milliseconds