2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array(
"Then",
"<TD>",
"<td>",
"<Td>");
28 $this->unindent = array(
"End",
"Next",
"End If",
"End Select",
"</td>",
"</Td>",
"</TD>");
32 $this->stringchars = array(
"\"");
33 $this->delimiters = array(
"~",
"!",
"@",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"+",
"=",
"|",
"\\",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
38 $this->linecommenton = array(
"REM");
39 $this->blockcommenton = array(
"<!--");
40 $this->blockcommentoff = array(
"-->");
44 $this->keywords = array(
76 "<BLOCKQUOTE>" =>
"1",
78 "</BLOCKQUOTE>" =>
"1",
103 "</COLGROUP>" =>
"1",
133 "</FIELDSET>" =>
"1",
142 "</FRAMESET>" =>
"1",
209 "</MULTICOL>" =>
"1",
214 "</NOFRAMES>" =>
"1",
220 "</NOSCRIPT>" =>
"1",
231 "</OPTGROUP>" =>
"1",
292 "</TEXTAREA>" =>
"1",
323 "ACCEPT-CHARSET=" =>
"2",
332 "BACKGROUND=" =>
"2",
337 "CELLPADDING=" =>
"2",
338 "CELLSPACING=" =>
"2",
366 "FRAMEBORDER=" =>
"2",
367 "FRAMESPACING=" =>
"2",
374 "HTTP-EQUIV=" =>
"2",
384 "MARGINHEIGHT=" =>
"2",
385 "MARGINWIDTH=" =>
"2",
399 "ONKEYPRESS=" =>
"2",
407 "ONDBLCLICK=" =>
"2",
408 "ONMOUSEDOWN=" =>
"2",
409 "ONMOUSEMOVE=" =>
"2",
410 "ONMOUSEOUT=" =>
"2",
411 "ONMOUSEOVER=" =>
"2",
471 "CreateObject" =>
"3",
493 "FileDateTime" =>
"3",
499 "GetAllStrings" =>
"3",
501 "GetAutoServerSettings" =>
"3",
529 "LoadPicture" =>
"3",
596 "AddFromFile" =>
"4",
597 "AddFromTemplate" =>
"4",
600 "AddToAddInToolbar" =>
"4",
601 "AddToolboxProgID" =>
"4",
603 "AppendChunk" =>
"4",
607 "BatchUpdate" =>
"4",
611 "CancelAsyncRead" =>
"4",
612 "CancelBatch" =>
"4",
613 "CancelUpdate" =>
"4",
614 "CanPropertyChange" =>
"4",
615 "CaptureImage" =>
"4",
620 "ClearFields" =>
"4",
622 "ClearSelCols" =>
"4",
626 "ColContaining" =>
"4",
628 "CommitTrans" =>
"4",
629 "CompactDatabase" =>
"4",
633 "CopyQueryDef" =>
"4",
634 "CreateDatabase" =>
"4",
635 "CreateDragImage" =>
"4",
636 "CreateEmbed" =>
"4",
637 "CreateField" =>
"4",
638 "CreateGroup" =>
"4",
639 "CreateIndex" =>
"4",
641 "CreatePreparedStatement" =>
"4",
642 "CreatePropery" =>
"4",
643 "CreateQuery" =>
"4",
644 "CreateQueryDef" =>
"4",
645 "CreateRelation" =>
"4",
646 "CreateTableDef" =>
"4",
648 "CreateWorkspace" =>
"4",
651 "DeleteColumnLabels" =>
"4",
652 "DeleteColumns" =>
"4",
653 "DeleteRowLabels" =>
"4",
662 "EnsureVisible" =>
"4",
663 "EstablishConnection" =>
"4",
665 "ExtractIcon" =>
"4",
675 "FindPrevious" =>
"4",
677 "GetBookmark" =>
"4",
679 "GetClipString" =>
"4",
681 "GetFirstVisible" =>
"4",
684 "GetLineFromChar" =>
"4",
685 "GetNumTicks" =>
"4",
687 "GetSelectedPart" =>
"4",
689 "GetVisibleCount" =>
"4",
696 "InitializeLabels" =>
"4",
697 "InsertColumnLabels" =>
"4",
698 "InsertColumns" =>
"4",
699 "InsertObjDlg" =>
"4",
700 "InsertRowLabels" =>
"4",
706 "LinkExecute" =>
"4",
708 "LinkRequest" =>
"4",
712 "LoadResData" =>
"4",
713 "LoadResPicture" =>
"4",
714 "LoadResString" =>
"4",
716 "MakeCompileFile" =>
"4",
717 "MakeReplica" =>
"4",
718 "MoreResults" =>
"4",
724 "MovePrevious" =>
"4",
727 "NewPassword" =>
"4",
728 "NextRecordset" =>
"4",
730 "OnAddinsUpdate" =>
"4",
731 "OnConnection" =>
"4",
732 "OnDisconnection" =>
"4",
733 "OnStartupComplete" =>
"4",
735 "OpenConnection" =>
"4",
736 "OpenDatabase" =>
"4",
737 "OpenQueryDef" =>
"4",
738 "OpenRecordset" =>
"4",
739 "OpenResultset" =>
"4",
742 "PaintPicture" =>
"4",
744 "PastSpecialDlg" =>
"4",
748 "PopulatePartial" =>
"4",
752 "PropertyChanged" =>
"4",
756 "RandomDataFill" =>
"4",
757 "RandomFillColumns" =>
"4",
758 "RandomFillRows" =>
"4",
759 "rdoCreateEnvironment" =>
"4",
760 "rdoRegisterDataSource" =>
"4",
761 "ReadFromFile" =>
"4",
762 "ReadProperty" =>
"4",
766 "RefreshLink" =>
"4",
767 "RegisterDatabase" =>
"4",
770 "RemoveAddInFromToolbar" =>
"4",
773 "RepairDatabase" =>
"4",
777 "ResetCustom" =>
"4",
778 "ResetCustomLabel" =>
"4",
779 "ResolveName" =>
"4",
780 "RestoreToolbar" =>
"4",
783 "RollbackTrans" =>
"4",
784 "RowBookmark" =>
"4",
785 "RowContaining" =>
"4",
791 "SaveToolbar" =>
"4",
792 "SaveToOle1File" =>
"4",
804 "SetAutoServerSettings" =>
"4",
810 "SetViewport" =>
"4",
816 "ShowPrinter" =>
"4",
818 "ShowWhatsThis" =>
"4",
823 "SplitContaining" =>
"4",
824 "StartLabelEdit" =>
"4",
825 "StartLogging" =>
"4",
827 "Synchronize" =>
"4",
831 "TwipsToChartPart" =>
"4",
832 "TypeByChartType" =>
"4",
834 "UpdateControls" =>
"4",
835 "UpdateRecord" =>
"4",
838 "WhatsThisMode" =>
"4",
839 "WriteProperty" =>
"4",
841 "AccessKeyPress" =>
"5",
842 "AfterAddFile" =>
"5",
843 "AfterChangeFileName" =>
"5",
844 "AfterCloseFile" =>
"5",
845 "AfterColEdit" =>
"5",
846 "AfterColUpdate" =>
"5",
847 "AfterDelete" =>
"5",
848 "AfterInsert" =>
"5",
849 "AfterLabelEdit" =>
"5",
850 "AfterRemoveFile" =>
"5",
851 "AfterUpdate" =>
"5",
852 "AfterWriteFile" =>
"5",
853 "AmbienChanged" =>
"5",
854 "ApplyChanges" =>
"5",
856 "AsyncReadComplete" =>
"5",
857 "AxisActivated" =>
"5",
858 "AxisLabelActivated" =>
"5",
859 "AxisLabelSelected" =>
"5",
860 "AxisLabelUpdated" =>
"5",
861 "AxisSelected" =>
"5",
862 "AxisTitleActivated" =>
"5",
863 "AxisTitleSelected" =>
"5",
864 "AxisTitleUpdated" =>
"5",
865 "AxisUpdated" =>
"5",
866 "BeforeClick" =>
"5",
867 "BeforeColEdit" =>
"5",
868 "BeforeColUpdate" =>
"5",
869 "BeforeConnect" =>
"5",
870 "BeforeDelete" =>
"5",
871 "BeforeInsert" =>
"5",
872 "BeforeLabelEdit" =>
"5",
873 "BeforeLoadFile" =>
"5",
874 "BeforeUpdate" =>
"5",
875 "ButtonClick" =>
"5",
876 "ButtonCompleted" =>
"5",
877 "ButtonGotFocus" =>
"5",
878 "ButtonLostFocus" =>
"5",
880 "ChartActivated" =>
"5",
881 "ChartSelected" =>
"5",
882 "ChartUpdated" =>
"5",
887 "ColumnClick" =>
"5",
889 "ConfigChageCancelled" =>
"5",
890 "ConfigChanged" =>
"5",
891 "ConnectionRequest" =>
"5",
892 "DataArrival" =>
"5",
893 "DataChanged" =>
"5",
894 "DataUpdated" =>
"5",
897 "DeviceArrival" =>
"5",
898 "DeviceOtherEvent" =>
"5",
899 "DeviceQueryRemove" =>
"5",
900 "DeviceQueryRemoveFailed" =>
"5",
901 "DeviceRemoveComplete" =>
"5",
902 "DeviceRemovePending" =>
"5",
903 "DevModeChange" =>
"5",
905 "DisplayChanged" =>
"5",
907 "DoGetNewFileName" =>
"5",
909 "DonePainting" =>
"5",
914 "EditProperty" =>
"5",
919 "FootnoteActivated" =>
"5",
920 "FootnoteSelected" =>
"5",
921 "FootnoteUpdated" =>
"5",
924 "InfoMessage" =>
"5",
926 "IniProperties" =>
"5",
927 "ItemActivated" =>
"5",
931 "ItemReloaded" =>
"5",
932 "ItemRemoved" =>
"5",
933 "ItemRenamed" =>
"5",
934 "ItemSeletected" =>
"5",
939 "LegendActivated" =>
"5",
940 "LegendSelected" =>
"5",
941 "LegendUpdated" =>
"5",
953 "OLECompleteDrag" =>
"5",
954 "OLEDragDrop" =>
"5",
955 "OLEDragOver" =>
"5",
956 "OLEGiveFeedback" =>
"5",
958 "OLEStartDrag" =>
"5",
963 "PanelDblClick" =>
"5",
965 "PatternChange" =>
"5",
966 "PlotActivated" =>
"5",
967 "PlotSelected" =>
"5",
968 "PlotUpdated" =>
"5",
969 "PointActivated" =>
"5",
970 "PointLabelActivated" =>
"5",
971 "PointLabelSelected" =>
"5",
972 "PointLabelUpdated" =>
"5",
973 "PointSelected" =>
"5",
974 "PointUpdated" =>
"5",
975 "PowerQuerySuspend" =>
"5",
976 "PowerResume" =>
"5",
977 "PowerStatusChanged" =>
"5",
978 "PowerSuspend" =>
"5",
979 "QueryChangeConfig" =>
"5",
980 "QueryComplete" =>
"5",
981 "QueryCompleted" =>
"5",
982 "QueryTimeout" =>
"5",
983 "QueryUnload" =>
"5",
984 "ReadProperties" =>
"5",
986 "RequestChangeFileName" =>
"5",
987 "RequestWriteFile" =>
"5",
989 "ResultsChanged" =>
"5",
990 "RowColChange" =>
"5",
991 "RowCurrencyChange" =>
"5",
993 "RowStatusChanged" =>
"5",
995 "SelectionChanged" =>
"5",
996 "SendComplete" =>
"5",
997 "SendProgress" =>
"5",
998 "SeriesActivated" =>
"5",
999 "SeriesSelected" =>
"5",
1000 "SeriesUpdated" =>
"5",
1001 "SettingChanged" =>
"5",
1002 "SplitChange" =>
"5",
1003 "StateChanged" =>
"5",
1004 "StatusUpdate" =>
"5",
1005 "SysColorsChanged" =>
"5",
1007 "TimeChanged" =>
"5",
1008 "TitleActivated" =>
"5",
1009 "TitleSelected" =>
"5",
1010 "UnboundAddData" =>
"5",
1011 "UnboundDeleteRow" =>
"5",
1012 "UnboundGetRelativeBookmark" =>
"5",
1013 "UnboundReadData" =>
"5",
1014 "UnboundWriteData" =>
"5",
1019 "ValidationError" =>
"5",
1020 "WillAssociate" =>
"5",
1021 "WillChangeData" =>
"5",
1022 "WillDissociate" =>
"5",
1023 "WillExecute" =>
"5",
1024 "WillUpdateRows" =>
"5",
1025 "WriteProperties" =>
"5",
1026 "AppActivate" =>
"6",
1047 "DeleteSetting" =>
"6",
1066 "Implements" =>
"6",
1082 "RaiseEvent" =>
"6",
1090 "SavePicture" =>
"6",
1091 "SaveSetting" =>
"6",
1112 $this->linkscripts = array(
1118 "6" =>
"donothing");