2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"brown",
"blue",
"purple",
"gray");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array(
"{",
"[");
28 $this->unindent = array(
"}",
"]");
32 $this->stringchars = array(
"%");
33 $this->delimiters = array(
"{",
"}",
" ",
" ",
"[",
"]",
"(",
")",
"/",
"\\");
38 $this->linecommenton = array(
"%%");
39 $this->blockcommenton = array(
"");
40 $this->blockcommentoff = array(
"");
44 $this->keywords = array(
54 "defineresource" =>
"1",
55 "defineuserobject" =>
"1",
59 "execuserobject" =>
"1",
63 "filenameforall" =>
"1",
76 "resourceforall" =>
"1",
86 "undefineresource" =>
"1",
87 "undefineuserobject" =>
"1",
102 "concatmatrix" =>
"2",
104 "currentblackgeneration" =>
"2",
105 "currentcmykcolor" =>
"2",
106 "currentcolor" =>
"2",
107 "currentcolorrendering" =>
"2",
108 "currentcolorscreen" =>
"2",
109 "currentcolorspace" =>
"2",
110 "currentcolortransfer" =>
"2",
111 "currentdash" =>
"2",
112 "currentflat" =>
"2",
113 "currentgray" =>
"2",
114 "currentgstate" =>
"2",
115 "currenthalftone" =>
"2",
116 "currenthsbcolor" =>
"2",
117 "currentlinecap" =>
"2",
118 "currentlinejoin" =>
"2",
119 "currentlinewidth" =>
"2",
120 "currentmiterlimit" =>
"2",
121 "currentoverprint" =>
"2",
122 "currentpagedevice" =>
"2",
123 "currentpoint" =>
"2",
124 "currentrgbcolor" =>
"2",
125 "currentscreen" =>
"2",
126 "currentsmoothness" =>
"2",
127 "currentstrokeadjust" =>
"2",
128 "currenttransfer" =>
"2",
129 "currentundercolorremoval" =>
"2",
131 "composefont" =>
"2",
133 "currentfont" =>
"2",
134 "defaultmatrix" =>
"2",
142 "flattenpath" =>
"2",
143 "findencoding" =>
"2",
145 "FontDirectory" =>
"2",
147 "grestoreall" =>
"2",
150 "GlobalFontDirectory" =>
"2",
151 "idtransform" =>
"2",
155 "initgraphics" =>
"2",
156 "identmatrix" =>
"2",
162 "invertmatrix" =>
"2",
165 "ISOLatin1Encoding" =>
"2",
168 "makepattern" =>
"2",
178 "reversepath" =>
"2",
184 "setblackgeneration" =>
"2",
186 "setcmykcolor" =>
"2",
188 "setcolorrendering" =>
"2",
189 "setcolorscreen" =>
"2",
190 "setcolorspace" =>
"2",
191 "setcolortransfer" =>
"2",
196 "sethalftone" =>
"2",
197 "sethsbcolor" =>
"2",
199 "setlinejoin" =>
"2",
200 "setlinewidth" =>
"2",
202 "setmiterlimit" =>
"2",
203 "setoverprint" =>
"2",
204 "setpagedevice" =>
"2",
206 "setrgbcolor" =>
"2",
208 "setsmoothness" =>
"2",
209 "setstrokeadjust" =>
"2",
210 "settransfer" =>
"2",
217 "setcachedevice" =>
"2",
218 "setcachedevice2" =>
"2",
219 "setcharwidth" =>
"2",
222 "StandardEncoding" =>
"2",
223 "stringwidth" =>
"2",
232 "ustrokepath" =>
"2",
243 "anchorsearch" =>
"3",
252 "currentglobal" =>
"3",
253 "currentobjectformat" =>
"3",
254 "currentpacking" =>
"3",
262 "currentdict" =>
"3",
263 "currentfile" =>
"3",
264 "currentmatrix" =>
"3",
266 "cleardictstack" =>
"3",
267 "cleartomark" =>
"3",
269 "countdictstack" =>
"3",
270 "countexecstack" =>
"3",
271 "counttomark" =>
"3",
283 "findcolorrendering" =>
"3",
287 "findresource" =>
"3",
291 "getinterval" =>
"3",
299 "languagelevel" =>
"3",
317 "putinterval" =>
"3",
318 "packedarray" =>
"3",
323 "resourcestatus" =>
"3",
330 "serialnumber" =>
"3",
331 "setobjectformat" =>
"3",
348 "UserObjects" =>
"3",
355 "bytesavailable" =>
"4",
358 "fileposition" =>
"4",
362 "printobject" =>
"4",
364 "readhexstring" =>
"4",
371 "writehexstring" =>
"4",
372 "writeobject" =>
"4",
373 "writestring" =>
"4");
382 $this->linkscripts = array(