ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_postscript Class Reference
+ Inheritance diagram for HFile_postscript:
+ Collaboration diagram for HFile_postscript:

Public Member Functions

 HFile_postscript ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 7 of file HFile_postscript.php.

Member Function Documentation

◆ donothing()

HFile_postscript::donothing (   $keywordin)

Definition at line 395 of file HFile_postscript.php.

396  {
397  return $keywordin;
398  }

◆ HFile_postscript()

HFile_postscript::HFile_postscript ( )

Definition at line 9 of file HFile_postscript.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // PostScript
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("brown", "blue", "purple", "gray");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array("{", "[");
32  $this->unindent = array("}", "]");
33 
34  // String characters and delimiters
35 
36  $this->stringchars = array("%");
37  $this->delimiters = array("{", "}", " ", " ", "[", "]", "(", ")", "/", "\\");
38  $this->escchar = "";
39 
40  // Comment settings
41 
42  $this->linecommenton = array("%%");
43  $this->blockcommenton = array("");
44  $this->blockcommentoff = array("");
45 
46  // Keywords (keyword mapping to colour number)
47 
48  $this->keywords = array(
49  "/Escape" => "",
50  "Char" => "",
51  "=" => "4",
52  "\\" => "",
53  "(" => "1",
54  ")" => "1",
55  "begin" => "1",
56  "bind" => "1",
57  "def" => "1",
58  "defineresource" => "1",
59  "defineuserobject" => "1",
60  "echo" => "1",
61  "end" => "1",
62  "exec" => "1",
63  "execuserobject" => "1",
64  "executive" => "1",
65  "executeonly" => "1",
66  "exit" => "1",
67  "filenameforall" => "1",
68  "for" => "1",
69  "forall" => "1",
70  "if" => "1",
71  "ifelse" => "1",
72  "loop" => "1",
73  "noaccess" => "1",
74  "pathforall" => "1",
75  "pdfmark" => "1",
76  "prompt" => "1",
77  "quit" => "1",
78  "readonly" => "1",
79  "repeat" => "1",
80  "resourceforall" => "1",
81  "restore" => "1",
82  "run" => "1",
83  "save" => "1",
84  "setglobal" => "1",
85  "start" => "1",
86  "startjob" => "1",
87  "stop" => "1",
88  "stopped" => "1",
89  "undef" => "1",
90  "undefineresource" => "1",
91  "undefineuserobject" => "1",
92  "arc" => "2",
93  "arcn" => "2",
94  "arct" => "2",
95  "arcto" => "2",
96  "ashow" => "2",
97  "awidthshow" => "2",
98  "charpath" => "2",
99  "clip" => "2",
100  "clippath" => "2",
101  "cliprestore" => "2",
102  "clipsave" => "2",
103  "closepath" => "2",
104  "colorimage" => "2",
105  "concat" => "2",
106  "concatmatrix" => "2",
107  "copypage" => "2",
108  "currentblackgeneration" => "2",
109  "currentcmykcolor" => "2",
110  "currentcolor" => "2",
111  "currentcolorrendering" => "2",
112  "currentcolorscreen" => "2",
113  "currentcolorspace" => "2",
114  "currentcolortransfer" => "2",
115  "currentdash" => "2",
116  "currentflat" => "2",
117  "currentgray" => "2",
118  "currentgstate" => "2",
119  "currenthalftone" => "2",
120  "currenthsbcolor" => "2",
121  "currentlinecap" => "2",
122  "currentlinejoin" => "2",
123  "currentlinewidth" => "2",
124  "currentmiterlimit" => "2",
125  "currentoverprint" => "2",
126  "currentpagedevice" => "2",
127  "currentpoint" => "2",
128  "currentrgbcolor" => "2",
129  "currentscreen" => "2",
130  "currentsmoothness" => "2",
131  "currentstrokeadjust" => "2",
132  "currenttransfer" => "2",
133  "currentundercolorremoval" => "2",
134  "curveto" => "2",
135  "composefont" => "2",
136  "cshow" => "2",
137  "currentfont" => "2",
138  "defaultmatrix" => "2",
139  "dtransform" => "2",
140  "definefont" => "2",
141  "eoclip" => "2",
142  "eofill" => "2",
143  "erasepage" => "2",
144  "execform" => "2",
145  "fill" => "2",
146  "flattenpath" => "2",
147  "findencoding" => "2",
148  "findfont" => "2",
149  "FontDirectory" => "2",
150  "grestore" => "2",
151  "grestoreall" => "2",
152  "gsave" => "2",
153  "glyphshow" => "2",
154  "GlobalFontDirectory" => "2",
155  "idtransform" => "2",
156  "ineofill" => "2",
157  "infill" => "2",
158  "initclip" => "2",
159  "initgraphics" => "2",
160  "identmatrix" => "2",
161  "initmatrix" => "2",
162  "instroke" => "2",
163  "inueofill" => "2",
164  "inufill" => "2",
165  "inustroke" => "2",
166  "invertmatrix" => "2",
167  "image" => "2",
168  "imagemask" => "2",
169  "ISOLatin1Encoding" => "2",
170  "kshow" => "2",
171  "lineto" => "2",
172  "makepattern" => "2",
173  "moveto" => "2",
174  "makefont" => "2",
175  "newpath" => "2",
176  "nulldevice" => "2",
177  "pathbox" => "2",
178  "rcurveto" => "2",
179  "rectclip" => "2",
180  "rectfill" => "2",
181  "rectstroke" => "2",
182  "reversepath" => "2",
183  "rlineto" => "2",
184  "rmoveto" => "2",
185  "rotate" => "2",
186  "rootfont" => "2",
187  "scale" => "2",
188  "setblackgeneration" => "2",
189  "setbox" => "2",
190  "setcmykcolor" => "2",
191  "setcolor" => "2",
192  "setcolorrendering" => "2",
193  "setcolorscreen" => "2",
194  "setcolorspace" => "2",
195  "setcolortransfer" => "2",
196  "setdash" => "2",
197  "setflat" => "2",
198  "setgray" => "2",
199  "setgstate" => "2",
200  "sethalftone" => "2",
201  "sethsbcolor" => "2",
202  "setlinecap" => "2",
203  "setlinejoin" => "2",
204  "setlinewidth" => "2",
205  "setmatrix" => "2",
206  "setmiterlimit" => "2",
207  "setoverprint" => "2",
208  "setpagedevice" => "2",
209  "setpattern" => "2",
210  "setrgbcolor" => "2",
211  "setscreen" => "2",
212  "setsmoothness" => "2",
213  "setstrokeadjust" => "2",
214  "settransfer" => "2",
215  "shfill" => "2",
216  "showpage" => "2",
217  "stroke" => "2",
218  "strokepath" => "2",
219  "scalefont" => "2",
220  "selectfont" => "2",
221  "setcachedevice" => "2",
222  "setcachedevice2" => "2",
223  "setcharwidth" => "2",
224  "setfont" => "2",
225  "show" => "2",
226  "StandardEncoding" => "2",
227  "stringwidth" => "2",
228  "transform" => "2",
229  "translate" => "2",
230  "uappend" => "2",
231  "ucache" => "2",
232  "ueofill" => "2",
233  "ufill" => "2",
234  "upath" => "2",
235  "ustroke" => "2",
236  "ustrokepath" => "2",
237  "widthshow" => "2",
238  "xshow" => "2",
239  "xyshow" => "2",
240  "yshow" => "2",
241  "[" => "3",
242  "]" => "3",
243  "<<" => "3",
244  ">>" => "3",
245  "$error" => "3",
246  "aload" => "3",
247  "anchorsearch" => "3",
248  "astore" => "3",
249  "array" => "3",
250  "abs" => "3",
251  "add" => "3",
252  "and" => "3",
253  "atan" => "3",
254  "bitshift" => "3",
255  "copy" => "3",
256  "currentglobal" => "3",
257  "currentobjectformat" => "3",
258  "currentpacking" => "3",
259  "cvi" => "3",
260  "cvlit" => "3",
261  "cvn" => "3",
262  "cvr" => "3",
263  "cvrs" => "3",
264  "cvs" => "3",
265  "cvx" => "3",
266  "currentdict" => "3",
267  "currentfile" => "3",
268  "currentmatrix" => "3",
269  "clear" => "3",
270  "cleardictstack" => "3",
271  "cleartomark" => "3",
272  "count" => "3",
273  "countdictstack" => "3",
274  "countexecstack" => "3",
275  "counttomark" => "3",
276  "ceiling" => "3",
277  "cos" => "3",
278  "dict" => "3",
279  "dictstack" => "3",
280  "dup" => "3",
281  "div" => "3",
282  "errordict" => "3",
283  "execstack" => "3",
284  "exch" => "3",
285  "eq" => "3",
286  "exp" => "3",
287  "findcolorrendering" => "3",
288  "false" => "3",
289  "file" => "3",
290  "filter" => "3",
291  "findresource" => "3",
292  "floor" => "3",
293  "gcheck" => "3",
294  "get" => "3",
295  "getinterval" => "3",
296  "globaldict" => "3",
297  "gstate" => "3",
298  "ge" => "3",
299  "gt" => "3",
300  "index" => "3",
301  "idiv" => "3",
302  "known" => "3",
303  "languagelevel" => "3",
304  "length" => "3",
305  "load" => "3",
306  "le" => "3",
307  "ln" => "3",
308  "log" => "3",
309  "lt" => "3",
310  "maxlength" => "3",
311  "matrix" => "3",
312  "mark" => "3",
313  "mod" => "3",
314  "mul" => "3",
315  "null" => "3",
316  "ne" => "3",
317  "neg" => "3",
318  "not" => "3",
319  "product" => "3",
320  "put" => "3",
321  "putinterval" => "3",
322  "packedarray" => "3",
323  "pop" => "3",
324  "pstack" => "3",
325  "rcheck" => "3",
326  "realtime" => "3",
327  "resourcestatus" => "3",
328  "revision" => "3",
329  "roll" => "3",
330  "rand" => "3",
331  "rrand" => "3",
332  "round" => "3",
333  "search" => "3",
334  "serialnumber" => "3",
335  "setobjectformat" => "3",
336  "setpacking" => "3",
337  "store" => "3",
338  "statusdict" => "3",
339  "string" => "3",
340  "systemdict" => "3",
341  "stack" => "3",
342  "sin" => "3",
343  "sqrt" => "3",
344  "srand" => "3",
345  "sub" => "3",
346  "token" => "3",
347  "type" => "3",
348  "true" => "3",
349  "truncate" => "3",
350  "usertime" => "3",
351  "userdict" => "3",
352  "UserObjects" => "3",
353  "version" => "3",
354  "wcheck" => "3",
355  "where" => "3",
356  "xcheck" => "3",
357  "xor" => "3",
358  "==" => "4",
359  "bytesavailable" => "4",
360  "closefile" => "4",
361  "deletefile" => "4",
362  "fileposition" => "4",
363  "flush" => "4",
364  "flushfile" => "4",
365  "print" => "4",
366  "printobject" => "4",
367  "read" => "4",
368  "readhexstring" => "4",
369  "readline" => "4",
370  "readstring" => "4",
371  "renamefile" => "4",
372  "resetfile" => "4",
373  "status" => "4",
374  "write" => "4",
375  "writehexstring" => "4",
376  "writeobject" => "4",
377  "writestring" => "4");
378 
379  // Special extensions
380 
381  // Each category can specify a PHP function that returns an altered
382  // version of the keyword.
383 
384 
385 
386  $this->linkscripts = array(
387  "" => "donothing",
388  "4" => "donothing",
389  "1" => "donothing",
390  "2" => "donothing",
391  "3" => "donothing");
392  }
Create styles array
The data for the language used.
Definition: HFile.php:21

The documentation for this class was generated from the following file: