| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  *  Output sequence map for rtf2text
 | 
|---|
| 3 |  *
 | 
|---|
| 4 |  *  Field 1 is the standard character name.  Field 2 is the output sequence
 | 
|---|
| 5 |  *  to produce for that character.
 | 
|---|
| 6 |  *
 | 
|---|
| 7 |  *  The output sequence is simply a string of characters.  If it contains
 | 
|---|
| 8 |  *  whitespace, it may be quoted.  If it contains quotes, it may be quoted
 | 
|---|
| 9 |  *  with a different quote character.
 | 
|---|
| 10 |  *
 | 
|---|
| 11 |  *  characters in ASCII range (32-127
 | 
|---|
| 12 |  */
 | 
|---|
| 13 | 
 | 
|---|
| 14 | char *text_map[] = {
 | 
|---|
| 15 |   "space"             ," ",
 | 
|---|
| 16 |   "exclam"            ,"!",
 | 
|---|
| 17 |   "quotedbl"          ,"\"",
 | 
|---|
| 18 |   "numbersign"        ,"#",
 | 
|---|
| 19 |   "dollar"            ,"$",
 | 
|---|
| 20 |   "percent"           ,"%",
 | 
|---|
| 21 |   "ampersand"         ,"&",
 | 
|---|
| 22 |   "quoteright"        ,"'",
 | 
|---|
| 23 |   "parenleft"         ,"(",
 | 
|---|
| 24 |   "parenright"        ,")",
 | 
|---|
| 25 |   "asterisk"          ,"*",
 | 
|---|
| 26 |   "plus"              ,"+",
 | 
|---|
| 27 |   "comma"             ,",",
 | 
|---|
| 28 |   "hyphen"            ,"-",
 | 
|---|
| 29 |   "period"            ,".",
 | 
|---|
| 30 |   "slash"             ,"/",
 | 
|---|
| 31 |   "zero"              ,"0",
 | 
|---|
| 32 |   "one"               ,"1",
 | 
|---|
| 33 |   "two"               ,"2",
 | 
|---|
| 34 |   "three"             ,"3",
 | 
|---|
| 35 |   "four"              ,"4",
 | 
|---|
| 36 |   "five"              ,"5",
 | 
|---|
| 37 |   "six"               ,"6",
 | 
|---|
| 38 |   "seven"             ,"7",
 | 
|---|
| 39 |   "eight"             ,"8",
 | 
|---|
| 40 |   "nine"              ,"9",
 | 
|---|
| 41 |   "colon"             ,":",
 | 
|---|
| 42 |   "semicolon"         ,";",
 | 
|---|
| 43 |   "less"              ,"<",
 | 
|---|
| 44 |   "equal"             ,"=",
 | 
|---|
| 45 |   "greater"           ,">",
 | 
|---|
| 46 |   "question"          ,"?",
 | 
|---|
| 47 |   "at"                ,"@",
 | 
|---|
| 48 |   "A"                 ,"A",
 | 
|---|
| 49 |   "B"                 ,"B",
 | 
|---|
| 50 |   "C"                 ,"C",
 | 
|---|
| 51 |   "D"                 ,"D",
 | 
|---|
| 52 |   "E"                 ,"E",
 | 
|---|
| 53 |   "F"                 ,"F",
 | 
|---|
| 54 |   "G"                 ,"G",
 | 
|---|
| 55 |   "H"                 ,"H",
 | 
|---|
| 56 |   "I"                 ,"I",
 | 
|---|
| 57 |   "J"                 ,"J",
 | 
|---|
| 58 |   "K"                 ,"K",
 | 
|---|
| 59 |   "L"                 ,"L",
 | 
|---|
| 60 |   "M"                 ,"M",
 | 
|---|
| 61 |   "N"                 ,"N",
 | 
|---|
| 62 |   "O"                 ,"O",
 | 
|---|
| 63 |   "P"                 ,"P",
 | 
|---|
| 64 |   "Q"                 ,"Q",
 | 
|---|
| 65 |   "R"                 ,"R",
 | 
|---|
| 66 |   "S"                 ,"S",
 | 
|---|
| 67 |   "T"                 ,"T",
 | 
|---|
| 68 |   "U"                 ,"U",
 | 
|---|
| 69 |   "V"                 ,"V",
 | 
|---|
| 70 |   "W"                 ,"W",
 | 
|---|
| 71 |   "X"                 ,"X",
 | 
|---|
| 72 |   "Y"                 ,"Y",
 | 
|---|
| 73 |   "Z"                 ,"Z",
 | 
|---|
| 74 |   "bracketleft"       ,"[",
 | 
|---|
| 75 |   "backslash"         ,"\\",
 | 
|---|
| 76 |   "bracketright"      ,"]",
 | 
|---|
| 77 |   "asciicircum"       ,"^",
 | 
|---|
| 78 |   "underscore"        ,"_",
 | 
|---|
| 79 |   "quoteleft"         ,"`",
 | 
|---|
| 80 |   "a"                 ,"a",
 | 
|---|
| 81 |   "b"                 ,"b",
 | 
|---|
| 82 |   "c"                 ,"c",
 | 
|---|
| 83 |   "d"                 ,"d",
 | 
|---|
| 84 |   "e"                 ,"e",
 | 
|---|
| 85 |   "f"                 ,"f",
 | 
|---|
| 86 |   "g"                 ,"g",
 | 
|---|
| 87 |   "h"                 ,"h",
 | 
|---|
| 88 |   "i"                 ,"i",
 | 
|---|
| 89 |   "j"                 ,"j",
 | 
|---|
| 90 |   "k"                 ,"k",
 | 
|---|
| 91 |   "l"                 ,"l",
 | 
|---|
| 92 |   "m"                 ,"m",
 | 
|---|
| 93 |   "n"                 ,"n",
 | 
|---|
| 94 |   "o"                 ,"o",
 | 
|---|
| 95 |   "p"                 ,"p",
 | 
|---|
| 96 |   "q"                 ,"q",
 | 
|---|
| 97 |   "r"                 ,"r",
 | 
|---|
| 98 |   "s"                 ,"s",
 | 
|---|
| 99 |   "t"                 ,"t",
 | 
|---|
| 100 |   "u"                 ,"u",
 | 
|---|
| 101 |   "v"                 ,"v",
 | 
|---|
| 102 |   "w"                 ,"w",
 | 
|---|
| 103 |   "x"                 ,"x",
 | 
|---|
| 104 |   "y"                 ,"y",
 | 
|---|
| 105 |   "z"                 ,"z",
 | 
|---|
| 106 |   "braceleft"         ,"{",
 | 
|---|
| 107 |   "bar"               ,"|",
 | 
|---|
| 108 |   "braceright"        ,"}",
 | 
|---|
| 109 |   "asciitilde"        ,"~",
 | 
|---|
| 110 |   "AE"                ,"AE",
 | 
|---|
| 111 |   "OE"                ,"OE",
 | 
|---|
| 112 |   "acute"             ,"'",
 | 
|---|
| 113 |   "ae"                ,"ae",
 | 
|---|
| 114 |   "angleleft"         ,"<",
 | 
|---|
| 115 |   "angleright"        ,">",
 | 
|---|
| 116 |   "arrowboth"         ,"<->",
 | 
|---|
| 117 |   "arrowdblboth"      ,"<=>",
 | 
|---|
| 118 |   "arrowdblleft"      ,"<=",
 | 
|---|
| 119 |   "arrowdblright"     ,"=>",
 | 
|---|
| 120 |   "arrowleft"         ,"<-",
 | 
|---|
| 121 |   "arrowright"        ,"->",
 | 
|---|
| 122 |   "bullet"            ,"o",
 | 
|---|
| 123 |   "cent"              ,"cent",
 | 
|---|
| 124 |   "circumflex"        ,"^",
 | 
|---|
| 125 |   "copyright"         ,"(c)",
 | 
|---|
| 126 |   "copyrightsans"     ,"(c)",
 | 
|---|
| 127 |   "degree"            ,"deg.",
 | 
|---|
| 128 |   "divide"            ,"/",
 | 
|---|
| 129 |   "dotlessi"          ,"i",
 | 
|---|
| 130 |   "ellipsis"          ,"...",
 | 
|---|
| 131 |   "emdash"            ,"--",
 | 
|---|
| 132 |   "endash"            ,"-",
 | 
|---|
| 133 |   "fi"                ,"fi",
 | 
|---|
| 134 |   "fl"                ,"fl",
 | 
|---|
| 135 |   "fraction"          ,"/",
 | 
|---|
| 136 |   "germandbls"        ,"ss",
 | 
|---|
| 137 |   "grave"             ,"`",
 | 
|---|
| 138 |   "greaterequal"      ,">=",
 | 
|---|
| 139 |   "guillemotleft"     ,"<<",
 | 
|---|
| 140 |   "guillemotright"    ,">>",
 | 
|---|
| 141 |   "guilsinglleft"     ,"<",
 | 
|---|
| 142 |   "guilsinglright"    ,">",
 | 
|---|
| 143 |   "lessequal"         ,"<=",
 | 
|---|
| 144 |   "logicalnot"        ,"~",
 | 
|---|
| 145 |   "mathasterisk"      ,"*",
 | 
|---|
| 146 |   "mathequal"         ,"=",
 | 
|---|
| 147 |   "mathminus"         ,"-",
 | 
|---|
| 148 |   "mathnumbersign"    ,"#",
 | 
|---|
| 149 |   "mathplus"          ,"+",
 | 
|---|
| 150 |   "mathtilde"         ,"~",
 | 
|---|
| 151 |   "minus"             ,"-",
 | 
|---|
| 152 |   "mu"                ,"u",
 | 
|---|
| 153 |   "multiply"          ,"x",
 | 
|---|
| 154 |   "nobrkhyphen"       ,"-",
 | 
|---|
| 155 |   "nobrkspace"        ," ",
 | 
|---|
| 156 |   "notequal"          ,"!=",
 | 
|---|
| 157 |   "oe"                ,"oe",
 | 
|---|
| 158 |   "onehalf"           ,"1/2",
 | 
|---|
| 159 |   "onequarter"        ,"1/4",
 | 
|---|
| 160 |   "periodcentered"    ,".",
 | 
|---|
| 161 |   "plusminus"         ,"+/-",
 | 
|---|
| 162 |   "quotedblbase"      ,",,",
 | 
|---|
| 163 |   "quotedblleft"      ,"\"",
 | 
|---|
| 164 |   "quotedblright"     ,"\"",
 | 
|---|
| 165 |   "quotesinglbase"    ,",",
 | 
|---|
| 166 |   "registered"        ,"reg.",
 | 
|---|
| 167 |   "registersans"      ,"reg.",
 | 
|---|
| 168 |   "threequarters"     ,"3/4",
 | 
|---|
| 169 |   "tilde"             ,"~",
 | 
|---|
| 170 |   "trademark"         ,"(TM)",
 | 
|---|
| 171 |   "trademarksans"     ,"(TM)"
 | 
|---|
| 172 | };
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.