ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_rmanint.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3 if (!isset ($BEAUT_PATH)) return;
4 require_once("$BEAUT_PATH/Beautifier/HFile.php");
5  class HFile_rmanint extends HFile{
6  function HFile_rmanint(){
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // Rman Interface
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "0";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray", "brown", "blue", "purple");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array("{", "Begin", "AttributeBegin", "FrameBegin", "MotionBegin", "ObjectBegin", "SolidBegin", "TransformBegin", "WorldBegin");
28 $this->unindent = array("}", "End", "AttributeEnd", "FrameEnd", "MotionEnd", "ObjectEnd", "SolidEnd", "TransformEnd", "WorldEnd");
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array();
33 $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("#");
39 $this->blockcommenton = array("");
40 $this->blockcommentoff = array("");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "AreaLightSource" => "1",
46  "Attribute" => "1",
47  "AttributeBegin" => "1",
48  "AttributeEnd" => "1",
49  "Begin" => "1",
50  "Bound" => "1",
51  "Clipping" => "1",
52  "Color" => "1",
53  "ColorSamples" => "1",
54  "ConcatTransform" => "1",
55  "CoordinateSystem" => "1",
56  "CropWindow" => "1",
57  "Declare" => "1",
58  "DepthOfField" => "1",
59  "Detail" => "1",
60  "DetailRange" => "1",
61  "Displacement" => "1",
62  "Display" => "1",
63  "End" => "1",
64  "Exterior" => "1",
65  "Format" => "1",
66  "FrameAspectRatio" => "1",
67  "FrameBegin" => "1",
68  "FrameEnd" => "1",
69  "GeometricApproximation" => "1",
70  "Hider" => "1",
71  "Identity" => "1",
72  "Illuminance" => "1",
73  "Illuminate" => "1",
74  "Interior" => "1",
75  "LightSource" => "1",
76  "Matte" => "1",
77  "Opacity" => "1",
78  "Option" => "1",
79  "Orientation" => "1",
80  "Perspective" => "1",
81  "PixelFilter" => "1",
82  "PixelSamples" => "1",
83  "PixelVariance" => "1",
84  "Projection" => "1",
85  "Quantize" => "1",
86  "RelativeDetail" => "1",
87  "RiAreaLightSource" => "1",
88  "RiAttribute" => "1",
89  "RiAttributeEnd" => "1",
90  "RiBegin" => "1",
91  "RiBound" => "1",
92  "RiClipping" => "1",
93  "RiColor" => "1",
94  "RiColorSamples" => "1",
95  "RiConcatTransform" => "1",
96  "RiCoordinateSystem" => "1",
97  "RiCropWindow" => "1",
98  "RiDepthOfField" => "1",
99  "RiDetail" => "1",
100  "RiDetailRange" => "1",
101  "RiDisplacement" => "1",
102  "RiDisplay" => "1",
103  "RiEnd" => "1",
104  "RiExterior" => "1",
105  "RiFormat" => "1",
106  "RiFrameAspectRatio" => "1",
107  "RiFrameBegin" => "1",
108  "RiFrameEnd" => "1",
109  "RiGeometricApproximation" => "1",
110  "RiHider" => "1",
111  "RiIdentity" => "1",
112  "RiIlluminate" => "1",
113  "RiInterior" => "1",
114  "RiLightSource" => "1",
115  "RiMatte" => "1",
116  "RiOpacity" => "1",
117  "RiOption" => "1",
118  "RiOrientation" => "1",
119  "RiPerspective" => "1",
120  "RiPixelFilter" => "1",
121  "RiPixelSamples" => "1",
122  "RiPixelVariance" => "1",
123  "RiProjection" => "1",
124  "RiQuantize" => "1",
125  "RiRelativeDetail" => "1",
126  "RiRotate" => "1",
127  "RiScreenWindow" => "1",
128  "RiShadingInterpolation" => "1",
129  "RiShadingRate" => "1",
130  "RiShutter" => "1",
131  "RiSides" => "1",
132  "RiSkew" => "1",
133  "RiSurface" => "1",
134  "RiTextureCoordinates" => "1",
135  "RiTransform" => "1",
136  "RiTransformBegin" => "1",
137  "RiTransformEnd" => "1",
138  "RiTransformPoints" => "1",
139  "RiTranslate" => "1",
140  "RiWorldBegin" => "1",
141  "RiWorldEnd" => "1",
142  "Rotate" => "1",
143  "Scale" => "1",
144  "ScreenWindow" => "1",
145  "ShadingInterpolation" => "1",
146  "ShadingRate" => "1",
147  "Shutter" => "1",
148  "Sides" => "1",
149  "Skew" => "1",
150  "Surface" => "1",
151  "TextureCoordinates" => "1",
152  "Transform" => "1",
153  "TransformBegin" => "1",
154  "TransformEnd" => "1",
155  "TransformPoints" => "1",
156  "Translate" => "1",
157  "version" => "1",
158  "WorldBegin" => "1",
159  "WorldEnd" => "1",
160  "Basis" => "2",
161  "Cylinder" => "2",
162  "Disk" => "2",
163  "GeneralPolygon" => "2",
164  "Geometry" => "2",
165  "Hyperboloid" => "2",
166  "NuPatch" => "2",
167  "ObjectBegin" => "2",
168  "ObjectEnd" => "2",
169  "ObjectInstance" => "2",
170  "Patch" => "2",
171  "Paraboloid" => "2",
172  "PointsPolygons" => "2",
173  "PointsGeneralPolygons" => "2",
174  "Polygon" => "2",
175  "Procedural" => "2",
176  "SolidBegin" => "2",
177  "SolidEnd" => "2",
178  "Sphere" => "2",
179  "Torus" => "2",
180  "RiBasis" => "2",
181  "RiCylinder" => "2",
182  "RiGeneralPolygon" => "2",
183  "RiGeometry" => "2",
184  "RiHyperboloid" => "2",
185  "RiNuPatch" => "2",
186  "RiObjectBegin" => "2",
187  "RiObjectEnd" => "2",
188  "RiObjectInstance" => "2",
189  "RiPatch" => "2",
190  "RiParaboloid" => "2",
191  "RiPointsPolygons" => "2",
192  "RiPointsGeneralPolygons" => "2",
193  "RiPolygon" => "2",
194  "RiProcedural" => "2",
195  "RiSolidBegin" => "2",
196  "RiSolidEnd" => "2",
197  "RiSphere" => "2",
198  "RiTorus" => "2",
199  "MotionBegin" => "3",
200  "MotionEnd" => "3",
201  "RiMotionBegin" => "3",
202  "RiMotionEnd" => "3",
203  "MakeBump" => "4",
204  "MakeCubeFaceEnvironment" => "4",
205  "MakeLatLongEnvironment" => "4",
206  "MakeTexture" => "4",
207  "RiMakeBump" => "4",
208  "RiMakeCubeFaceEnvironment" => "4",
209  "RiMakeLatLongEnvironment" => "4",
210  "RiMakeTexture" => "4",
211  "ArchiveRecord" => "5",
212  "ErrorHandler" => "5",
213  "RiArchiveRecord" => "5",
214  "RiErrorHandler" => "5",
215  "Ci" => "6",
216  "Cl" => "6",
217  "Cs" => "6",
218  "E" => "6",
219  "I" => "6",
220  "L" => "6",
221  "N" => "6",
222  "Ng" => "6",
223  "Oi" => "6",
224  "Ol" => "6",
225  "Os" => "6",
226  "P" => "6",
227  "dPdu" => "6",
228  "dPdv" => "6",
229  "du" => "6",
230  "dv" => "6",
231  "ncomps" => "6",
232  "s" => "6",
233  "t" => "6",
234  "time" => "6",
235  "u" => "6",
236  "v" => "6");
237 
238 // Special extensions
239 
240 // Each category can specify a PHP function that returns an altered
241 // version of the keyword.
242 
243 
244 
245 $this->linkscripts = array(
246  "1" => "donothing",
247  "2" => "donothing",
248  "3" => "donothing",
249  "4" => "donothing",
250  "5" => "donothing",
251  "6" => "donothing");
252 }
253 
254 
255 function donothing($keywordin)
256 {
257  return $keywordin;
258 }
259 
260 }?>