2000-05-07 20:23:41 +00:00
|
|
|
/*
|
|
|
|
* Output sequence map for rtf2text
|
2002-05-31 23:06:46 +00:00
|
|
|
*
|
2000-05-07 20:23:41 +00:00
|
|
|
* Field 1 is the standard character name. Field 2 is the output sequence
|
|
|
|
* to produce for that character.
|
2002-05-31 23:06:46 +00:00
|
|
|
*
|
2000-05-07 20:23:41 +00:00
|
|
|
* The output sequence is simply a string of characters. If it contains
|
|
|
|
* whitespace, it may be quoted. If it contains quotes, it may be quoted
|
|
|
|
* with a different quote character.
|
2002-05-31 23:06:46 +00:00
|
|
|
*
|
2000-05-07 20:23:41 +00:00
|
|
|
* characters in ASCII range (32-127
|
|
|
|
*/
|
|
|
|
|
|
|
|
char *text_map[] = {
|
|
|
|
"space" ," ",
|
|
|
|
"exclam" ,"!",
|
|
|
|
"quotedbl" ,"\"",
|
|
|
|
"numbersign" ,"#",
|
|
|
|
"dollar" ,"$",
|
|
|
|
"percent" ,"%",
|
|
|
|
"ampersand" ,"&",
|
|
|
|
"quoteright" ,"'",
|
|
|
|
"parenleft" ,"(",
|
|
|
|
"parenright" ,")",
|
|
|
|
"asterisk" ,"*",
|
|
|
|
"plus" ,"+",
|
|
|
|
"comma" ,",",
|
|
|
|
"hyphen" ,"-",
|
|
|
|
"period" ,".",
|
|
|
|
"slash" ,"/",
|
|
|
|
"zero" ,"0",
|
|
|
|
"one" ,"1",
|
|
|
|
"two" ,"2",
|
|
|
|
"three" ,"3",
|
|
|
|
"four" ,"4",
|
|
|
|
"five" ,"5",
|
|
|
|
"six" ,"6",
|
|
|
|
"seven" ,"7",
|
|
|
|
"eight" ,"8",
|
|
|
|
"nine" ,"9",
|
|
|
|
"colon" ,":",
|
|
|
|
"semicolon" ,";",
|
|
|
|
"less" ,"<",
|
|
|
|
"equal" ,"=",
|
|
|
|
"greater" ,">",
|
|
|
|
"question" ,"?",
|
|
|
|
"at" ,"@",
|
|
|
|
"A" ,"A",
|
|
|
|
"B" ,"B",
|
|
|
|
"C" ,"C",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
|
"asciitilde" ,"~",
|
|
|
|
"AE" ,"AE",
|
|
|
|
"OE" ,"OE",
|
|
|
|
"acute" ,"'",
|
|
|
|
"ae" ,"ae",
|
|
|
|
"angleleft" ,"<",
|
|
|
|
"angleright" ,">",
|
|
|
|
"arrowboth" ,"<->",
|
|
|
|
"arrowdblboth" ,"<=>",
|
|
|
|
"arrowdblleft" ,"<=",
|
|
|
|
"arrowdblright" ,"=>",
|
|
|
|
"arrowleft" ,"<-",
|
|
|
|
"arrowright" ,"->",
|
|
|
|
"bullet" ,"o",
|
|
|
|
"cent" ,"cent",
|
|
|
|
"circumflex" ,"^",
|
|
|
|
"copyright" ,"(c)",
|
|
|
|
"copyrightsans" ,"(c)",
|
|
|
|
"degree" ,"deg.",
|
|
|
|
"divide" ,"/",
|
|
|
|
"dotlessi" ,"i",
|
|
|
|
"ellipsis" ,"...",
|
|
|
|
"emdash" ,"--",
|
|
|
|
"endash" ,"-",
|
|
|
|
"fi" ,"fi",
|
|
|
|
"fl" ,"fl",
|
|
|
|
"fraction" ,"/",
|
|
|
|
"germandbls" ,"ss",
|
|
|
|
"grave" ,"`",
|
|
|
|
"greaterequal" ,">=",
|
|
|
|
"guillemotleft" ,"<<",
|
|
|
|
"guillemotright" ,">>",
|
|
|
|
"guilsinglleft" ,"<",
|
|
|
|
"guilsinglright" ,">",
|
|
|
|
"lessequal" ,"<=",
|
|
|
|
"logicalnot" ,"~",
|
|
|
|
"mathasterisk" ,"*",
|
|
|
|
"mathequal" ,"=",
|
|
|
|
"mathminus" ,"-",
|
|
|
|
"mathnumbersign" ,"#",
|
|
|
|
"mathplus" ,"+",
|
|
|
|
"mathtilde" ,"~",
|
|
|
|
"minus" ,"-",
|
|
|
|
"mu" ,"u",
|
|
|
|
"multiply" ,"x",
|
|
|
|
"nobrkhyphen" ,"-",
|
|
|
|
"nobrkspace" ," ",
|
|
|
|
"notequal" ,"!=",
|
|
|
|
"oe" ,"oe",
|
|
|
|
"onehalf" ,"1/2",
|
|
|
|
"onequarter" ,"1/4",
|
|
|
|
"periodcentered" ,".",
|
|
|
|
"plusminus" ,"+/-",
|
|
|
|
"quotedblbase" ,",,",
|
|
|
|
"quotedblleft" ,"\"",
|
|
|
|
"quotedblright" ,"\"",
|
|
|
|
"quotesinglbase" ,",",
|
|
|
|
"registered" ,"reg.",
|
|
|
|
"registersans" ,"reg.",
|
|
|
|
"threequarters" ,"3/4",
|
|
|
|
"tilde" ,"~",
|
|
|
|
"trademark" ,"(TM)",
|
|
|
|
"trademarksans" ,"(TM)"
|
|
|
|
};
|