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(
"Else");
 
   28 $this->unindent                 = array(
"EndIf", 
"EndLoop", 
"EndEvent", 
"EndSub");
 
   32 $this->stringchars              = array(
"'");
 
   33 $this->delimiters               = array(
"~", 
"@", 
"%", 
"^", 
"&", 
"*", 
"(", 
")", 
"-", 
"+", 
"=", 
"|", 
"\\", 
"/", 
"{", 
"}", 
"[", 
"]", 
":", 
";", 
"\"", 
"'", 
"<", 
">", 
" ", 
",", 
"   ", 
".", 
"?");
 
   38 $this->linecommenton            = array(
"//");
 
   39 $this->blockcommenton           = array(
"/*");
 
   40 $this->blockcommentoff          = array(
"*/");
 
   44 $this->keywords                 = array(
 
   92                         "CommandObject" => 
"2", 
 
   96                         "FrameCommand" => 
"2", 
 
  101                         "MenuItemSeparator" => 
"2", 
 
  103                         "MenuSepObject" => 
"2", 
 
  109                         "PropertyList" => 
"2", 
 
  118                         "TableColumns" => 
"2", 
 
  122                         "TextInsetContents" => 
"2", 
 
  125                         "TextProperties" => 
"2", 
 
  133                         "BottomMargin" => 
"3", 
 
  136                         "Button3Label" => 
"3", 
 
  137                         "Button4Label" => 
"3", 
 
  142                         "CheckBox1Label" => 
"3", 
 
  144                         "CheckBox2Label" => 
"3", 
 
  146                         "CheckBox3Label" => 
"3", 
 
  148                         "CheckBox4Label" => 
"3", 
 
  152                         "CutTblCells" => 
"3", 
 
  157                         "DontApplyAllRows" => 
"3", 
 
  158                         "DontDeleteHiddenText" => 
"3", 
 
  168                         "FromDocObject" => 
"3", 
 
  180                         "InsertBelowRight" => 
"3", 
 
  182                         "Interactive" => 
"3", 
 
  191                         "LeftInsideMargin" => 
"3", 
 
  205                         "ParentObject" => 
"3", 
 
  210                         "PropertyName" => 
"3", 
 
  212                         "PropertyValue" => 
"3", 
 
  213                         "RemoveChars" => 
"3", 
 
  214                         "RemoveLeading" => 
"3", 
 
  215                         "RemoveTrailing" => 
"3", 
 
  216                         "ReplaceCells" => 
"3", 
 
  218                         "ReturnStatus" => 
"3", 
 
  219                         "ReturnString" => 
"3", 
 
  220                         "ReturnRange" => 
"3", 
 
  225                         "RightOutsideMargin" => 
"3", 
 
  228                         "SelectTable" => 
"3", 
 
  237                         "TableObject" => 
"3", 
 
  245                         "UnanchoredFrame" => 
"3", 
 
  251                         "VisibleOnly" => 
"3", 
 
  258                         "AlertUserAboutFailure" => 
"4", 
 
  261                         "AutoBackupOnSave" => 
"4", 
 
  264                         "BookComponent" => 
"4", 
 
  265                         "BookFileMenu" => 
"4", 
 
  266                         "BookIsInUse" => 
"4", 
 
  267                         "CharacterFormat" => 
"4", 
 
  268                         "CharPropsChange" => 
"4", 
 
  270                         "CellSeparator" => 
"4", 
 
  272                         "CombinedFonts" => 
"4", 
 
  275                         "ConditionFormat" => 
"4", 
 
  276                         "DisallowBookDoc" => 
"4", 
 
  277                         "DisallowBookMif" => 
"4", 
 
  278                         "DisallowDoc" => 
"4", 
 
  279                         "DisallowFilterTypes" => 
"4", 
 
  280                         "DisallowGraphicTypes" => 
"4", 
 
  281                         "DisallowMacEditions" => 
"4", 
 
  282                         "DisallowMif" => 
"4", 
 
  283                         "DisallowPlainText" => 
"4", 
 
  284                         "DisallowSgml" => 
"4", 
 
  286                         "DontNotifyApiClients" => 
"4", 
 
  290                         "FileIsGraphic" => 
"4", 
 
  291                         "FileIsInUse" => 
"4", 
 
  292                         "FileIsMakerDoc" => 
"4", 
 
  293                         "FileIsOldVersion" => 
"4", 
 
  294                         "FileIsSgmlDoc" => 
"4", 
 
  295                         "FileIsStructured" => 
"4", 
 
  298                         "FilterFormatId" => 
"4", 
 
  299                         "FitGraphicInSelectedRect" => 
"4", 
 
  306                         "FontChangedMetric" => 
"4", 
 
  307                         "FontNotFoundInCatalog" => 
"4", 
 
  308                         "FontNotFoundInDoc" => 
"4", 
 
  309                         "ForceImportAsText" => 
"4", 
 
  310                         "ForceOpenAsText" => 
"4", 
 
  311                         "ForceUpdate" => 
"4", 
 
  312                         "FormatImportedText" => 
"4", 
 
  315                         "FrameAnchor" => 
"4", 
 
  318                         "HowToImport" => 
"4", 
 
  319                         "Hyphenating" => 
"4", 
 
  320                         "ImportFlowPageSpace" => 
"4", 
 
  321                         "ImportFlowTag" => 
"4", 
 
  322                         "ImportTblTag" => 
"4", 
 
  325                         "LanguageNotAvailable" => 
"4", 
 
  326                         "LeaveHeadingRowsEmpty" => 
"4", 
 
  330                         "LockCantBeReset" => 
"4", 
 
  332                         "MakePageCount" => 
"4", 
 
  333                         "MakeVisible" => 
"4", 
 
  334                         "ManualUpdate" => 
"4", 
 
  336                         "MarkerAnchor" => 
"4", 
 
  338                         "ModDateChanged" => 
"4", 
 
  340                         "NumCellSeparators" => 
"4", 
 
  343                         "OpenDocViewOnly" => 
"4", 
 
  344                         "OpenFileNotWritable" => 
"4", 
 
  349                         "ParagraphFormat" => 
"4", 
 
  358                         "ReferencePage" => 
"4", 
 
  359                         "RefFileNotFound" => 
"4", 
 
  361                         "RemoveExceptions" => 
"4", 
 
  362                         "RemoveManualPageBreaks" => 
"4", 
 
  363                         "RemoveOverrides" => 
"4", 
 
  364                         "RemovePageBreaks" => 
"4", 
 
  365                         "ResetEquationSettings" => 
"4", 
 
  366                         "ResetRefFrames" => 
"4", 
 
  367                         "RestartPgfNums" => 
"4", 
 
  368                         "RetainNameStripe" => 
"4", 
 
  372                         "RulingFormat" => 
"4", 
 
  373                         "SaveFileNotWritable" => 
"4", 
 
  374                         "SaveTextExtraBlankLineAtEOP" => 
"4", 
 
  375                         "SaveTextTblSetting" => 
"4", 
 
  376                         "ShowBrowser" => 
"4", 
 
  377                         "ShowSaveTextDialog" => 
"4", 
 
  379                         "SubColBegin" => 
"4", 
 
  381                         "TableFormat" => 
"4", 
 
  385                         "TblNumHeadingRows" => 
"4", 
 
  386                         "TextFrameBegin" => 
"4", 
 
  387                         "TextFrameEnd" => 
"4", 
 
  388                         "TextInsetBegin" => 
"4", 
 
  389                         "TextInsetEnd" => 
"4", 
 
  390                         "TextInsetName" => 
"4", 
 
  394                         "TiApiClient" => 
"4", 
 
  395                         "TreatParaAsRow" => 
"4", 
 
  396                         "UNIXpermissions" => 
"4", 
 
  397                         "UpdateBrowserDirectory" => 
"4", 
 
  398                         "UpdateFRVList" => 
"4", 
 
  399                         "UpdateXRefs" => 
"4", 
 
  400                         "UseAutoSaveFile" => 
"4", 
 
  401                         "UseDefaultUNIXpermissions" => 
"4", 
 
  402                         "UseMainFlow" => 
"4", 
 
  403                         "UseRecoverFile" => 
"4", 
 
  409                         "VariableFormat" => 
"4", 
 
  417                         "!BookMainMenu" => 
"4", 
 
  418                         "!MakerMainMenu" => 
"4", 
 
  419                         "!QuickMakerMainMenu" => 
"4", 
 
  420                         "!ViewOnlyMenu" => 
"4", 
 
  439                         "fslVersionMajor" => 
"6", 
 
  440                         "fslVersionMinor" => 
"6", 
 
  443                         "ThisScript" => 
"6");
 
  452 $this->linkscripts      = array(