1<?php 2/************************************************************************************* 3 * lotusformulas.php 4 * ------------------------ 5 * Author: Richard Civil (info@richardcivil.net) 6 * Copyright: (c) 2008 Richard Civil (info@richardcivil.net), Nigel McNie (http://qbnz.com/highlighter) 7 * Release Version: 1.0.8.3 8 * Date Started: 2008/04/12 9 * 10 * @Formula/@Command language file for GeSHi. 11 * 12 * @Formula/@Command source: IBM Lotus Notes/Domino 8 Designer Help 13 * 14 * CHANGES 15 * ------- 16 * 2008/04/12 (1.0.7.22) 17 * - First Release 18 * 19 * TODO (updated 2008/04/12) 20 * ------------------------- 21 * 22 ************************************************************************************* 23 * 24 * This file is part of GeSHi. 25 * 26 * GeSHi is free software; you can redistribute it and/or modify 27 * it under the terms of the GNU General Public License as published by 28 * the Free Software Foundation; either version 2 of the License, or 29 * (at your option) any later version. 30 * 31 * GeSHi is distributed in the hope that it will be useful, 32 * but WITHOUT ANY WARRANTY; without even the implied warranty of 33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 * GNU General Public License for more details. 35 * 36 * You should have received a copy of the GNU General Public License 37 * along with GeSHi; if not, write to the Free Software 38 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 39 * 40 ************************************************************************************/ 41 42$language_data = array ( 43 'LANG_NAME' => 'Lotus Notes @Formulas', 44 'COMMENT_SINGLE' => array(1 => "'"), 45 'COMMENT_MULTI' => array('REM' => ';'), 46 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 47 'QUOTEMARKS' => array('"'), 48 'ESCAPE_CHAR' => '', 49 'KEYWORDS' => array( 50 1 => array ( 51 '[ZoomPreview]', '[WorkspaceStackReplicaIcons]', 52 '[WorkspaceProperties]', '[WindowWorkspace]', 53 '[WindowTile]', '[WindowRestore]', '[WindowNext]', 54 '[WindowMinimizeAll]', '[WindowMinimize]', '[WindowMaximizeAll]', 55 '[WindowMaximize]', '[WindowCascade]', '[ViewSwitchForm]', 56 '[ViewShowUnread]', '[ViewShowServerNames]', '[ViewShowSearchBar]', 57 '[ViewShowRuler]', '[ViewShowPageBreaks]', '[ViewShowOnlyUnread]', 58 '[ViewShowOnlySelected]', '[ViewShowOnlySearchResults]', 59 '[ViewShowOnlyCategories]', '[ViewShowObject]', 60 '[ViewShowFieldHelp]', '[ViewRenamePerson]', '[ViewRefreshUnread]', 61 '[ViewRefreshFields]', '[ViewNavigatorsNone]', 62 '[ViewNavigatorsFolders]', '[ViewMoveName]', '[ViewHorizScrollbar]', 63 '[ViewExpandWithChildren]', '[ViewExpandAll]', '[ViewExpand]', 64 '[ViewCollapseAll]', '[ViewCollapse]', '[ViewChange]', 65 '[ViewCertify]', '[ViewBesideFolders]', '[ViewBelowFolders]', 66 '[ViewArrangeIcons]', '[V3EditPrevField]', '[V3EditNextField]', 67 '[UserIDSwitch]', '[UserIDSetPassword]', '[UserIDMergeCopy]', 68 '[UserIDInfo]', '[UserIDEncryptionKeys]', '[UserIDCreateSafeCopy]', 69 '[UserIDClearPassword]', '[UserIDCertificates]', 70 '[ToolsUserLogoff]', '[ToolsSpellCheck]', '[ToolsSmartIcons]', 71 '[ToolsSetupUserSetup]', '[ToolsSetupPorts]', '[ToolsSetupMail]', 72 '[ToolsSetupLocation]', '[ToolsScanUnreadSelected]', 73 '[ToolsScanUnreadPreferred]', '[ToolsScanUnreadChoose]', 74 '[ToolsRunMacro]', '[ToolsRunBackgroundMacros]', '[ToolsReplicate]', 75 '[ToolsRefreshSelectedDocs]', '[ToolsRefreshAllDocs]', 76 '[ToolsMarkSelectedUnread]', '[ToolsMarkSelectedRead]', 77 '[ToolsMarkAllUnread]', '[ToolsMarkAllRead]', '[ToolsHangUp]', 78 '[ToolsCategorize]', '[ToolsCall]', '[TextUnderline]', 79 '[TextSpacingSingle]', '[TextSpacingOneAndaHalf]', 80 '[TextSpacingDouble]', '[TextSetFontSize]', '[TextSetFontFace]', 81 '[TextSetFontColor]', '[TextReduceFont]', '[TextPermanentPen]', 82 '[TextParagraphStyles]', '[TextParagraph]', '[TextOutdent]', 83 '[TextNumbers]', '[TextNormal]', '[TextItalic]', '[TextFont]', 84 '[TextEnlargeFont]', '[TextCycleSpacing]', '[TextBullet]', 85 '[TextBold]', '[TextAlignRight]', '[TextAlignNone]', 86 '[TextAlignLeft]', '[TextAlignFull]', '[TextAlignCenter]', 87 '[SwitchView]', '[SwitchForm]', '[StyleCycleKey]', 88 '[SmartIconsNextSet]', '[SmartIconsFloating]', '[ShowProperties]', 89 '[ShowHidePreviewPane]', '[ShowHideParentPreview]', 90 '[ShowHideLinkPreview]', '[ShowHideIMContactList]', 91 '[SetCurrentLocation]', '[SendInstantMessage]', 92 '[SectionRemoveHeader]', '[SectionProperties]', 93 '[SectionExpandAll]', '[SectionExpand]', '[SectionDefineEditors]', 94 '[SectionCollapseAll]', '[SectionCollapse]', '[RunScheduledAgents]', 95 '[RunAgent]', '[ReplicatorStop]', '[ReplicatorStart]', 96 '[ReplicatorSendReceiveMail]', '[ReplicatorSendMail]', 97 '[ReplicatorReplicateWithServer]', '[ReplicatorReplicateSelected]', 98 '[ReplicatorReplicateNext]', '[ReplicatorReplicateHigh]', 99 '[Replicator]', '[RenameDatabase]', '[RemoveFromFolder]', 100 '[RemoteDebugLotusScript]', '[ReloadWindow]', '[RefreshWindow]', 101 '[RefreshParentNote]', '[RefreshHideFormulas]', '[RefreshFrame]', 102 '[PublishDatabase]', '[PictureProperties]', '[PasteBitmapAsObject]', 103 '[PasteBitmapAsBackground]', '[OpenView]', '[OpenPage]', 104 '[OpenNavigator]', '[OpenInNewWindow]', '[OpenHelpDocument]', 105 '[OpenFrameset]', '[OpenDocument]', '[OpenCalendar]', 106 '[ObjectProperties]', '[ObjectOpen]', '[ObjectDisplayAs]', 107 '[NavPrevUnread]', '[NavPrevSelected]', '[NavPrevMain]', 108 '[NavPrev]', '[NavNextUnread]', '[NavNextSelected]', 109 '[NavNextMain]', '[NavNext]', '[NavigatorTest]', 110 '[NavigatorProperties]', '[NavigateToBacklink]', 111 '[NavigatePrevUnread]', '[NavigatePrevSelected]', 112 '[NavigatePrevMain]', '[NavigatePrevHighlight]', '[NavigatePrev]', 113 '[NavigateNextUnread]', '[NavigateNextSelected]', 114 '[NavigateNextMain]', '[NavigateNextHighlight]', '[NavigateNext]', 115 '[MoveToTrash]', '[MailSendPublicKey]', '[MailSendEncryptionKey]', 116 '[MailSendCertificateRequest]', '[MailSend]', '[MailScanUnread]', 117 '[MailRequestNewPublicKey]', '[MailRequestNewName]', 118 '[MailRequestCrossCert]', '[MailOpen]', '[MailForwardAsAttachment]', 119 '[MailForward]', '[MailComposeMemo]', '[MailAddress]', 120 '[LayoutProperties]', '[LayoutElementSendToBack]', 121 '[LayoutElementProperties]', '[LayoutElementBringToFront]', 122 '[LayoutAddText]', '[LayoutAddGraphic]', '[InsertSubform]', 123 '[HotspotProperties]', '[HotspotClear]', '[HelpUsingDatabase]', 124 '[HelpAboutNotes]', '[HelpAboutDatabase]', '[GoUpLevel]', 125 '[FormTestDocument]', '[FormActions]', '[FolderRename]', 126 '[FolderProperties]', '[FolderMove]', '[FolderExpandWithChildren]', 127 '[FolderExpandAll]', '[FolderExpand]', '[FolderDocuments]', 128 '[FolderCustomize]', '[FolderCollapse]', '[Folder]', 129 '[FindFreeTimeDialog]', '[FileSaveNewVersion]', '[FileSave]', 130 '[FilePrintSetup]', '[FilePrint]', '[FilePageSetup]', 131 '[FileOpenDBRepID]', '[FileOpenDatabase]', '[FileNewReplica]', 132 '[FileNewDatabase]', '[FileImport]', '[FileFullTextUpdate]', 133 '[FileFullTextInfo]', '[FileFullTextDelete]', 134 '[FileFullTextCreate]', '[FileExport]', '[FileExit]', 135 '[FileDatabaseUseServer]', '[FileDatabaseRemove]', 136 '[FileDatabaseInfo]', '[FileDatabaseDelete]', '[FileDatabaseCopy]', 137 '[FileDatabaseCompact]', '[FileDatabaseACL]', '[FileCloseWindow]', 138 '[ExitNotes]', '[Execute]', '[ExchangeUnreadMarks]', '[EmptyTrash]', 139 '[EditUp]', '[EditUntruncate]', '[EditUndo]', '[EditTop]', 140 '[EditTableInsertRowColumn]', '[EditTableFormat]', 141 '[EditTableDeleteRowColumn]', '[EditShowHideHiddenChars]', 142 '[EditSelectByDate]', '[EditSelectAll]', '[EditRight]', 143 '[EditRestoreDocument]', '[EditResizePicture]', 144 '[EditQuoteSelection]', '[EditProfileDocument]', '[EditProfile]', 145 '[EditPrevField]', '[EditPhoneNumbers]', '[EditPasteSpecial]', 146 '[EditPaste]', '[EditOpenLink]', '[EditNextField]', 147 '[EditMakeDocLink]', '[EditLocations]', '[EditLinks]', '[EditLeft]', 148 '[EditInsertText]', '[EditInsertTable]', '[EditInsertPopup]', 149 '[EditInsertPageBreak]', '[EditInsertObject]', 150 '[EditInsertFileAttachment]', '[EditInsertButton]', 151 '[EditIndentFirstLine]', '[EditIndent]', '[EditHorizScrollbar]', 152 '[EditHeaderFooter]', '[EditGotoField]', '[EditFindNext]', 153 '[EditFindInPreview]', '[EditFind]', '[EditEncryptionKeys]', 154 '[EditDown]', '[EditDocument]', '[EditDetach]', '[EditDeselectAll]', 155 '[EditCut]', '[EditCopy]', '[EditClear]', '[EditButton]', 156 '[EditBottom]', '[DiscoverFolders]', '[Directories]', 157 '[DialingRules]', '[DesignViewSelectFormula]', '[DesignViews]', 158 '[DesignViewNewColumn]', '[DesignViewFormFormula]', 159 '[DesignViewEditActions]', '[DesignViewColumnDef]', 160 '[DesignViewAttributes]', '[DesignViewAppendColumn]', 161 '[DesignSynopsis]', '[DesignSharedFields]', '[DesignReplace]', 162 '[DesignRefresh]', '[DesignMacros]', '[DesignIcon]', 163 '[DesignHelpUsingDocument]', '[DesignHelpAboutDocument]', 164 '[DesignFormWindowTitle]', '[DesignFormUseField]', 165 '[DesignFormShareField]', '[DesignForms]', '[DesignFormNewField]', 166 '[DesignFormFieldDef]', '[DesignFormAttributes]', 167 '[DesignDocumentInfo]', '[DebugLotusScript]', 168 '[DatabaseReplSettings]', '[DatabaseDelete]', '[CreateView]', 169 '[CreateTextbox]', '[CreateSubForm]', '[CreateSection]', 170 '[CreateRectangularHotspot]', '[CreateRectangle]', 171 '[CreatePolyline]', '[CreatePolygon]', '[CreateNavigator]', 172 '[CreateLayoutRegion]', '[CreateForm]', '[CreateFolder]', 173 '[CreateEllipse]', '[CreateControlledAccessSection]', 174 '[CreateAgent]', '[CreateAction]', '[CopySelectedAsTable]', 175 '[ComposeWithReference]', '[Compose]', '[CloseWindow]', '[Clear]', 176 '[ChooseFolders]', '[CalendarGoTo]', '[CalendarFormat]', 177 '[AttachmentView]', '[AttachmentProperties]', '[AttachmentLaunch]', 178 '[AttachmentDetachAll]', '[AgentTestRun]', '[AgentSetServerName]', 179 '[AgentRun]', '[AgentLog]', '[AgentEnableDisable]', '[AgentEdit]', 180 '[AdminTraceConnection]', '[AdminStatisticsConfig]', 181 '[AdminSendMailTrace]', '[AdminRemoteConsole]', 182 '[AdminRegisterUser]', '[AdminRegisterServer]', 183 '[AdminRegisterFromFile]', '[AdminOutgoingMail]', 184 '[AdminOpenUsersView]', '[AdminOpenStatistics]', 185 '[AdminOpenServersView]', '[AdminOpenServerLog]', 186 '[AdminOpenGroupsView]', '[AdminOpenCertLog]', '[AdminOpenCatalog]', 187 '[AdminOpenAddressBook]', '[AdminNewOrgUnit]', 188 '[AdminNewOrganization]', '[Administration]', 189 '[AdminIDFileSetPassword]', '[AdminIDFileExamine]', 190 '[AdminIDFileClearPassword]', '[AdminDatabaseQuotas]', 191 '[AdminDatabaseAnalysis]', '[AdminCrossCertifyKey]', 192 '[AdminCrossCertifyIDFile]', '[AdminCreateGroup]', '[AdminCertify]', 193 '[AddToIMContactList]', '[AddDatabaseRepID]', '[AddDatabase]', 194 '[AddBookmark]' 195 ), 196 2 => array( 197 'SELECT', 'FIELD', 'ENVIRONMENT', 'DEFAULT', '@Zone ', '@Yesterday', 198 '@Yes', '@Year', '@Word', '@Wide', '@While', '@Weekday', 199 '@WebDbName', '@ViewTitle', '@ViewShowThisUnread', '@Version', 200 '@VerifyPassword', '@ValidateInternetAddress', '@V4UserAccess', 201 '@V3UserName', '@V2If', '@UserRoles', '@UserPrivileges', 202 '@UserNamesList', '@UserNameLanguage', '@UserName', '@UserAccess', 203 '@UrlQueryString', '@URLOpen', '@URLHistory', '@URLGetHeader', 204 '@URLEncode', '@URLDecode', '@UpperCase', '@UpdateFormulaContext', 205 '@Unique', '@UndeleteDocument', '@Unavailable', '@True', '@Trim', 206 '@Transform', '@ToTime', '@ToNumber', '@Tomorrow', '@Today', 207 '@TimeZoneToText', '@TimeToTextInZone', '@TimeMerge', '@Time', 208 '@ThisValue', '@ThisName', '@TextToTime', '@TextToNumber', '@Text', 209 '@TemplateVersion', '@Tan', '@Sum', '@Success', '@Subset', 210 '@StatusBar', '@Sqrt', '@Soundex', '@Sort', '@Sin', '@Sign', 211 '@SetViewInfo', '@SetTargetFrame', '@SetProfileField', 212 '@SetHTTPHeader', '@SetField', '@SetEnvironment', '@SetDocField', 213 '@Set', '@ServerName', '@ServerAccess', '@Select', '@Second', 214 '@Round', '@RightBack', '@Right', '@Return', '@Responses', 215 '@ReplicaID', '@ReplaceSubstring', '@Replace', '@Repeat', 216 '@RegQueryValue', '@RefreshECL', '@Random', '@ProperCase', 217 '@Prompt', '@Power', '@PostedCommand', '@PolicyIsFieldLocked', 218 '@Platform', '@PickList', '@Pi', '@PasswordQuality', '@Password', 219 '@OrgDir', '@OptimizeMailAddress', '@OpenInNewWindow', '@Now', 220 '@Nothing', '@NoteID', '@No', '@NewLine', '@Narrow', '@NameLookup', 221 '@Name', '@Month', '@Modulo', '@Modified', '@Minute', '@Min', 222 '@MiddleBack', '@Middle', '@Member', '@Max', '@Matches', 223 '@MailSignPreference', '@MailSend', '@MailSavePreference', 224 '@MailEncryptSentPreference', '@MailEncryptSavedPreference', 225 '@MailDbName', '@LowerCase', '@Log', '@Locale', '@Ln', '@Like', 226 '@Length', '@LeftBack', '@Left', '@LDAPServer', '@LaunchApp', 227 '@LanguagePreference', '@Keywords', '@IsVirtualizedDirectory', 228 '@IsValid', '@IsUsingJavaElement', '@IsUnavailable', '@IsTime', 229 '@IsText', '@IsResponseDoc', '@IsNumber', '@IsNull', '@IsNotMember', 230 '@IsNewDoc', '@IsModalHelp', '@IsMember', '@IsExpandable', 231 '@IsError', '@IsEmbeddedInsideWCT', '@IsDocTruncated', 232 '@IsDocBeingSaved', '@IsDocBeingRecalculated', '@IsDocBeingMailed', 233 '@IsDocBeingLoaded', '@IsDocBeingEdited', '@IsDB2', '@IsCategory', 234 '@IsAvailable', '@IsAppInstalled', '@IsAgentEnabled', '@Integer', 235 '@InheritedDocumentUniqueID', '@Implode', '@IfError', '@If', 236 '@Hour', '@HashPassword', '@HardDeleteDocument', '@GetViewInfo', 237 '@GetProfileField', '@GetPortsList', '@GetIMContactListGroupNames', 238 '@GetHTTPHeader', '@GetFocusTable', '@GetField', '@GetDocField', 239 '@GetCurrentTimeZone', '@GetAddressBooks', '@FormLanguage', '@For', 240 '@FontList', '@FloatEq', '@FileDir', '@False', '@Failure', 241 '@Explode', '@Exp', '@Eval', '@Error', '@Environment', '@Ends', 242 '@EnableAlarms', '@Elements', '@EditUserECL', '@EditECL', 243 '@DoWhile', '@Domain', '@DocumentUniqueID', '@DocSiblings', 244 '@DocParentNumber', '@DocOmmittedLength', '@DocNumber', '@DocMark', 245 '@DocLock', '@DocLevel', '@DocLength', '@DocFields', 246 '@DocDescendants', '@DocChildren', '@Do', '@DialogBox', 247 '@DeleteField', '@DeleteDocument', '@DDETerminate', '@DDEPoke', 248 '@DDEInitiate', '@DDEExecute', '@DbTitle', '@DbName', '@DbManager', 249 '@DbLookup', '@DbExists', '@DbCommand', '@DbColumn', '@DB2Schema', 250 '@Day', '@Date', '@Created', '@Count', '@Cos', '@Contains', 251 '@ConfigFile', '@Compare', '@Command', '@ClientType', 252 '@CheckFormulaSyntax', '@CheckAlarms', '@Char', '@Certificate', 253 '@BusinessDays', '@BrowserInfo', '@Begins', '@Author', 254 '@Attachments', '@AttachmentNames', '@AttachmentModifiedTimes', 255 '@AttachmentLengths', '@ATan2', '@ATan', '@ASin', '@Ascii', 256 '@AllDescendants', '@AllChildren', '@All', '@AdminECLIsLocked', 257 '@Adjust', '@AddToFolder', '@ACos', '@Accessed', '@AbstractSimple', 258 '@Abstract', '@Abs' 259 ) 260 ), 261 'SYMBOLS' => array( 262 '(', ')' 263 ), 264 'CASE_SENSITIVE' => array( 265 GESHI_COMMENTS => false, 266 1 => false, 267 2 => false 268 ), 269 'STYLES' => array( 270 'KEYWORDS' => array( 271 1 => 'color: #800000;', 272 2 => 'color: #0000FF;' 273 ), 274 'COMMENTS' => array( 275 1 => 'color: #008000;' 276 ), 277 'BRACKETS' => array( 278 0 => 'color: #000000;' 279 ), 280 'STRINGS' => array( 281 0 => 'color: #FF00FF;' 282 ), 283 'NUMBERS' => array( 284 0 => 'color: #FF00FF;' 285 ), 286 'METHODS' => array( 287 1 => 'color: #0000AA;' 288 ), 289 'SYMBOLS' => array( 290 0 => 'color: #66cc66;' 291 ), 292 'ESCAPE_CHAR' => array( 293 0 => 'color: #000099;' 294 ), 295 'SCRIPT' => array( 296 ), 297 'REGEXPS' => array( 298 ) 299 ), 300 'URLS' => array( 301 1 => '', 302 2 => '' 303 ), 304 'OOLANG' => true, 305 'OBJECT_SPLITTERS' => array( 306 1 => '.' 307 ), 308 'REGEXPS' => array( 309 ), 310 'STRICT_MODE_APPLIES' => GESHI_NEVER, 311 'SCRIPT_DELIMITERS' => array( 312 ), 313 'HIGHLIGHT_STRICT_BLOCK' => array( 314 ), 315 'TAB_WIDTH' => 2 316 ); 317 318?> 319