3 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
5 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
22 $this->colours = array(
"blue",
"purple",
"brown",
"gray",
"blue",
"purple");
23 $this->quotecolour =
"blue";
24 $this->blockcommentcolour =
"green";
25 $this->linecommentcolour =
"green";
29 $this->indent = array(
"Sub",
"Private Sub",
"Public Sub");
30 $this->unindent = array(
"End Sub");
34 $this->stringchars = array();
35 $this->delimiters = array(
".",
"(",
")",
",",
"-",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
" ",
">",
" ");
40 $this->linecommenton = array(
"'");
41 $this->blockcommenton = array(
"");
42 $this->blockcommentoff = array(
"");
46 $this->keywords = array(
117 "DateAddFunction" =>
"2",
127 "FormatCurrency" =>
"2",
128 "FormatDateTime" =>
"2",
129 "FormatNumber" =>
"2",
130 "FormatPercent" =>
"2",
150 "LoadPicture" =>
"2",
166 "ScriptEngine" =>
"2",
167 "ScriptEngineBuildVersion" =>
"2",
168 "ScriptEngineMajorVersion" =>
"2",
169 "ScriptEngineMinorVersion" =>
"2",
190 "WeekdayName" =>
"2",
192 "AccountDisabled" =>
"3",
193 "AccountExpirationDate" =>
"3",
194 "Application" =>
"3",
196 "AtEndOfLine" =>
"3",
197 "AtEndOfStream" =>
"3",
199 "AutoUnlockInterval" =>
"3",
200 "AvailableSpace" =>
"3",
201 "BadPasswordAttempts" =>
"3",
203 "CompareMode" =>
"3",
204 "ComputerName" =>
"3",
206 "DateCreated" =>
"3",
207 "DateLastAccessed" =>
"3",
208 "DateLastModified" =>
"3",
209 "Description" =>
"3",
211 "DriveLetter" =>
"3",
214 "Environment" =>
"3",
221 "HelpContext" =>
"3",
223 "HomeDirDrive" =>
"3",
224 "HomeDirectory" =>
"3",
226 "IconLocation" =>
"3",
228 "Interactive" =>
"3",
229 "IsAccountLocked" =>
"3",
231 "IsRootFolder" =>
"3",
238 "LockoutObservationInterval" =>
"3",
240 "LoginScript" =>
"3",
241 "LoginWorkstations" =>
"3",
242 "MaxBadPasswordsAllowed" =>
"3",
244 "MaxPasswordAge" =>
"3",
246 "MinPasswordAge" =>
"3",
247 "MinPasswordLength" =>
"3",
252 "ParentFolder" =>
"3",
253 "PasswordAge" =>
"3",
254 "PasswordExpirationDate" =>
"3",
255 "PasswordExpired" =>
"3",
256 "PasswordHistoryLength" =>
"3",
259 "PrimaryGroupID" =>
"3",
263 "ScriptFullName" =>
"3",
265 "SerialNumber" =>
"3",
271 "SpecialFolders" =>
"3",
282 "WindowStyle" =>
"3",
283 "WorkingDirectory" =>
"3",
285 "AddPrinterConnection" =>
"4",
286 "AddWindowsPrinterConnection" =>
"4",
287 "AppActivate" =>
"4",
291 "ConnectObject" =>
"4",
295 "CreateFolder" =>
"4",
296 "CreateObject" =>
"4",
297 "CreateShortcut" =>
"4",
298 "CreateTextFile" =>
"4",
301 "DeleteFolder" =>
"4",
302 "DisconnectObject" =>
"4",
303 "DriveExists" =>
"4",
305 "EnumNetworkDrives" =>
"4",
306 "EnumPrinterConnections" =>
"4",
308 "ExpandEnvironmentStrings" =>
"4",
310 "FolderExists" =>
"4",
311 "GetAbsolutePathName" =>
"4",
312 "GetBaseName" =>
"4",
314 "GetDriveName" =>
"4",
315 "GetExtensionName" =>
"4",
317 "GetFileName" =>
"4",
319 "GetParentFolderName" =>
"4",
320 "GetResource" =>
"4",
321 "GetSpecialFolder" =>
"4",
322 "GetTempName" =>
"4",
326 "MapNetworkDrive" =>
"4",
330 "OpenAsTextStream" =>
"4",
331 "OpenTextFile" =>
"4",
343 "RemoveNetworkDrive" =>
"4",
344 "RemovePrinterConnection" =>
"4",
348 "SetDefaultPrinter" =>
"4",
355 "WriteBlankLines" =>
"4",
360 "FileSystemObject" =>
"5",
373 "vbAbortRetryIgnore" =>
"6",
374 "vbApplicationModal" =>
"6",
376 "vbBinaryCompare" =>
"6",
387 "vbDataObject" =>
"6",
390 "vbDefaultButton1" =>
"6",
391 "vbDefaultButton2" =>
"6",
392 "vbDefaultButton3" =>
"6",
393 "vbDefaultButton4" =>
"6",
397 "vbExclamation" =>
"6",
398 "vbFirstFourDays" =>
"6",
399 "vbFirstFullWeek" =>
"6",
400 "vbFirstJan1" =>
"6",
403 "vbGeneralDate" =>
"6",
406 "vbInformation" =>
"6",
418 "vbNullString" =>
"6",
420 "vbObjectError" =>
"6",
427 "vbRetryCancel" =>
"6",
429 "vbShortDate" =>
"6",
430 "vbShortTime" =>
"6",
434 "vbSystemModal" =>
"6",
436 "vbTextCompare" =>
"6",
439 "vbUseSystem" =>
"6",
440 "vbUseSystemDayOfWeek" =>
"6",
442 "vbVerticalTab" =>
"6",
443 "vbWednesday" =>
"6",
448 "vbYesNoCancel" =>
"6");
457 $this->linkscripts = array(