home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 April / APC443.iso / features / grpware / notes / 50lbwic.exe / DATA1.CAB / NotesProgramFilesRequiredProgramFilesLotusScript / orgconst.lss < prev   
Encoding:
Text File  |  1999-01-29  |  8.7 KB  |  239 lines

  1. '-------- CONSTANTS FROM ORGANIZER
  2.  
  3. '--- Values for NoticeType (ORSMSGTYPE)
  4. ' These are stored in the NoticeType item in the note
  5. ' These should only be 1 character in length and are not translated
  6. ' Not all of these are stored on DISK
  7.  
  8. Const ORS_MSGTYPE_ACCEPT        = "A"  ' accept meeting request
  9. Const ORS_MSGTYPE_COUNTERACCEPT = "B"
  10. Const ORS_MSGTYPE_CANCEL        = "C"  ' originator cancelled the meeting
  11. Const ORS_MSGTYPE_DELEGATING    = "D"  ' delegated (notifies originator)
  12. Const ORS_MSGTYPE_REFRESHINFO   = "E"
  13. Const ORS_MSGTYPE_COMPLETED      = "F"    ' completed request (for todo's)
  14. Const ORS_MSGTYPE_ADDCALENDAR   = "G"
  15. Const ORS_MSGTYPE_INVITE        = "I"  ' original meeting request send
  16. Const ORS_MSGTYPE_COUNTERREJECT = "J"  ' originator declined counter proposal
  17. Const ORS_MSGTYPE_DELEGATE      = "L"  ' delegated (notifies delegate)
  18. Const ORS_MSGTYPE_CONFIRMATION  = "N"  ' originator confirmed the meeting
  19. Const ORS_MSGTYPE_PENCILIN      = "P"  ' pencil in meeting request
  20. Const ORS_MSGTYPE_REJECT        = "R"  ' reject meeting request
  21. Const ORS_MSGTYPE_STATUSUPDATE  = "S"  ' originator send status update
  22. Const ORS_MSGTYPE_COUNTER       = "T"  ' counter-proposal (propose change)
  23. Const ORS_MSGTYPE_RESCHEDULE    = "U"  ' originator updated place or time
  24. Const ORS_MSGTYPE_WAITING           = "W"  ' no response
  25. Const ORS_MSGTYPE_REMOVERES     = "Y"
  26. Const ORS_MSGTYPE_REMOVED          = "Z"
  27.  
  28.  
  29. '--- Values for OrgStatus (ORSATTSTATUS)
  30. ' These are stored in the note and should not be translated!!!!
  31. Const ORS_STATUS_REMOVED  = "5"        ' attendee was removed
  32.  
  33. '--- Values for OrgState (ORSATTSTATE)
  34. ' These are stored in the note and should not be translated!!!!
  35. Const ORS_STATE_ROOM       = "5"       ' set for a room
  36. Const ORS_STATE_RESOURCE   = "6"       ' set for a resource
  37.  
  38.  
  39. '--- Values for OrdTable
  40. ' These are stored in the note and should not be translated!!!!
  41. Const ORS_ITEM_CALENDAR    = "C0"
  42. Const ORS_ITEM_TODO        = "T0"
  43. Const ORS_ITEM_CALLS       = "H0"
  44. Const ORS_ITEM_PLANNER     = "P0"
  45. Const ORS_ITEM_ADDRESS     = "D0"
  46. Const ORS_ITEM_NOTEPAD     = "N0"
  47. Const ORS_ITEM_ANNIVERSARY = "A0"
  48.  
  49.  
  50. ' Specifies if event chair needs to send event requests to various participants
  51. Const SO_NONE = 0                                ' No requests need to be sent
  52. Const SO_USERS = 1                            ' Send requests to users
  53. Const SO_ROOMS = 2                            ' Send requests to rooms
  54. Const SO_RESOURCES = 4                        ' Send requests to resources
  55.  
  56.  
  57. ' Flags for cancelling an event
  58. Const REMOVE_CURRENT = 1                    ' Delete the main event
  59. Const REMOVE_RESPONSES= 2                    ' Delete all responses
  60. Const REMOVE_CALENDAR = 4                    ' Remove from the calendar
  61. Const REMOVE_DELETED = 8                    ' User is deleting document manually
  62.  
  63.  
  64. ' Flags that determine which instances a change to a repeating entry are filtered
  65. Const REPEAT_CANCEL = -1                    ' User cancelled modified a repeating entry
  66. Const REPEAT_CURRENT = 0                    ' User wants to modify current instance only
  67. Const REPEAT_ALL = 1                            ' User wants to modify all instances
  68. Const REPEAT_PREV = 2                        ' User wants to modofy current and all previous instances
  69. Const REPEAT_FUT = 3                            ' User wants to modify current and all future instances
  70.  
  71.  
  72. ' Options for determining how an event fits in the repeating "world"
  73. Const CTX_REPEAT_NONE            = 0
  74. Const CTX_REPEAT_MAIN             = 1            ' Main document in hierarchy
  75. Const CTX_REPEAT_INST             = 2            ' Child Event document 
  76. Const CTX_REPEAT_MSG             = 3            ' Workflow message
  77.  
  78.  
  79. Const CS_VERSION_45 = 48                    ' Entry is from version 4.5
  80. Const CS_VERSION_50 = 50                    ' Entry is from version 5.0
  81.  
  82.  
  83. Const CS_STRING = 500
  84. Const CONFIRM_INDEX = CS_STRING+100                ' 600 - 649
  85. Const STATUS_INDEX = CS_STRING+150                ' 650 - 699
  86. Const ROLE_INDEX = CS_STRING+200                    ' 700 - 749
  87.  
  88. ' Shared Strings
  89. Const INC_COMMENTS = CS_STRING
  90. Const ENTRY_PAST = CS_STRING+1
  91. Const ENTRY_CONF = CS_STRING+2
  92. Const ALARM_TITLE = CS_STRING+3
  93. Const PAST_TITLE = CS_STRING+4
  94. Const DBLBOOK_TITLE = CS_STRING+6
  95. Const ERR_FREETIME = CS_STRING+7
  96. Const RPTCHANGE_TITLE = CS_STRING+8
  97. Const USER_ACTION_INVALID = CS_STRING+9
  98. Const USER_INVALID_DOCUMENT = CS_STRING+10
  99.  
  100. ' Owner Strings
  101. Const ENTRY_TYPE = CS_STRING+20
  102. Const INV_DUPL = CS_STRING+21
  103. Const ENTRY_DTMOD = CS_STRING+22
  104. Const CANC_TITLE = CS_STRING+28
  105. Const RESC_TITLE = CS_STRING+29
  106. Const STS_TITLE = CS_STRING+30
  107. Const DTMOD_TITLE = CS_STRING+31
  108. Const MODTYPE_TITLE = CS_STRING+32
  109. Const CONF_TITLE = CS_STRING+33
  110. Const SEND_ROOM = CS_STRING+35
  111. Const SEND_RES = CS_STRING+36
  112. Const CTRACPT_TITLE = CS_STRING+37
  113. Const CTRDECL_TITLE = CS_STRING+38
  114. Const REM_PART = CS_STRING+39
  115. Const REM_PART_TITLE = CS_STRING+40
  116. Const RESC_UPD_MSG = CS_STRING + 41
  117. Const CONF_MSG = CS_STRING + 42
  118. Const MA_RESC = CS_STRING + 43
  119. Const MA_CANC = CS_STRING + 44
  120. Const MA_CONF = CS_STRING + 45
  121. Const MA_VWSTS = CS_STRING + 46
  122. Const MA_SNDMAIL = CS_STRING + 47
  123. Const MA_TITLE  = CS_STRING + 48
  124. Const REPEAT_TITLE = CS_STRING + 49
  125. Const SEND_INV_MSG = CS_STRING + 50
  126. Const SEND_INVRES_MSG = CS_STRING+51
  127. Const SEND_INV_TITLE = CS_STRING+52
  128. Const NO_SEND_LIST = CS_STRING+53
  129.  
  130. ' Participant Strings
  131. Const RESC_MSG = CS_STRING+100
  132. Const CANCEL_MSG = CS_STRING + 101
  133. Const CANCEL_UPD = CS_STRING + 102
  134. Const CANCEL_NOACTN = CS_STRING + 103
  135. Const ACPT_TITLE = CS_STRING+109
  136. Const DECL_TITLE = CS_STRING+110
  137. Const UPD_TITLE = CS_STRING+111
  138. Const DELE_TITLE = CS_STRING+112
  139. Const CNTR_TITLE = CS_STRING+113
  140. Const ACPT_MSG = CS_STRING+114
  141. Const DELE_MSG = CS_STRING+115
  142. Const CNTR_MSG = CS_STRING+116
  143. Const ADD_MSG = CS_STRING+117
  144. Const ADD_TITLE = CS_STRING+118
  145. Const PA_ACCEPT = CS_STRING+119
  146. Const PA_DECLINE = CS_STRING+120
  147. Const PA_DELEGATE = CS_STRING+121
  148. Const PA_COUNTER = CS_STRING+122
  149. Const PA_TITLE = CS_STRING+123
  150. Const ERR_DELE_MSG = CS_STRING+124
  151.  
  152. ' MAIL CONSTANTS
  153.  
  154. Const MEMO_DBMANAGER = "6"
  155.  
  156. Const SO_PROMPTSAVE = 8
  157. Const SO_SAVE = 3
  158.  
  159. Const CREATE_STATIONERY = "CreateStationery"
  160. Const SAVE_AS_STATIONERY = "SaveAsStationery"
  161. Const CONVERT_NEW_DOC = "ConvertNewDoc"
  162. Const RENAME_STATIONERY = "RenameStationery"
  163.  
  164. ' out of office
  165. Const SENDTO_USER = "EmailUser"
  166.  
  167. Const CREATE_MEMO = 1
  168. Const CREATE_TASK = 2
  169. Const CREATE_CALENDAR = 3
  170. Const CREATE_GROUPCALENDAR = 4
  171.  
  172. Const MAIL_MEMO_OWNER    = 1
  173. Const MAIL_MEMO_STAT        = 2
  174. Const MAIL_MEMO_READER    = 3
  175. Const MAIL_MEMO_MANAGER    = 4
  176.  
  177.  
  178. ' Common action defines for mail and C&S
  179. ' Although it appears that all of these could be OR'd
  180. ' together, only a subset should be
  181.  
  182. Const ACTION_NONE                    = &h00000000            ' No actions are pending
  183.  
  184. ' These actions control what happens when a document is closed/saved
  185. ' Used by both mail and C&S
  186.  
  187. Const ACTION_CLOSE                 = &h00000001            ' Doc should be closed without saving
  188. Const ACTION_SAVE                 = &h00000002            ' Doc should be saved
  189. Const ACTION_SEND                 = &h00000004            ' Doc should be sent
  190. Const ACTION_FILE                 = &h00000008            ' Doc should be filed in a folder
  191.  
  192. ' h00000010 - h00000080 are reserved for future actions
  193.  
  194.  
  195. ' These actions are used by C&S ONLY
  196. ' These actions can be OR'd with the above ones,
  197. ' but there should exist only one of these (i.e. you cannot cancel and reschedule at the same time)
  198.  
  199. Const ACTION_CANCEL                 = &h00000100            ' Chair is cancelling event
  200. Const ACTION_RESCHEDULE         = &h00000200            ' Chair is rescheduling event
  201. Const ACTION_COUNTER_REJECT     = &h00000400            ' Chair is rejecting proposal
  202. Const ACTION_COUNTER_ACCEPT     = &h00000800            ' Chair is accepting proposal
  203. Const ACTION_CONFIRM             = &h00001000            ' Chair is confirming event
  204.  
  205. ' h00002000 - h00008000 are reserved for future actions
  206.  
  207. Const ACTION_ACCEPT                 = &h00010000            ' Participant is accepting request
  208. Const ACTION_DECLINE             = &h00020000            ' Participant is declining request
  209. Const ACTION_DELEGATE             = &h00040000            ' Participant is delegating request
  210. Const ACTION_COUNTER_PROPOSE     = &h00080000            ' Participant is counter-proposing
  211. Const ACTION_OPENRESCHEDULE     = &h00100000            ' Participant wants to open reschedule
  212. Const ACTION_ADDTOCALENDAR        = &h00200000            ' Participant is adding event to calendar 
  213. Const ACTION_COMPLETED            = &h00400000            ' Participant is completed to do
  214. Const ACTION_REFRESHINFO        = &h00800000            ' Participant wants updated information
  215.  
  216.  
  217. ' These actions are used by mail ONLY
  218.  
  219. Const ACTION_MEMOMGR             = &h01000000            ' User is creating memo to db manager
  220. Const ACTION_DRAFT                 = &h02000000            ' Doc is a draft
  221. Const ACTION_STATIONERY              = &h04000000            ' Doc is stationery
  222. Const ACTION_RENAME                = &h08000000            ' Doc is being renamed
  223.  
  224. Const Enabled = 1
  225. Const Disabled = 0
  226. Const Removed = -1
  227.  
  228. ' The Base Backend Application class
  229. Const CLIENT_NOTES = 0
  230. Const CLIENT_WEB = 1
  231. Const CLIENT_UNKNOWN = -1
  232.  
  233. Const CS_DOC_ALARMS            = &h00000001
  234. Const CS_DOC_FIRSTPASS        = &h00000002
  235. Const CS_DOC_FOROWNER        = &h00000004
  236. Const CS_DOC_TASK            = &h00000008
  237. Const CS_DOC_ISCOUNTER        = &h00000010
  238. Const CS_DOC_WEBUSER        = &h00000020
  239.