KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lotusformulas.php 17KB

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