home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 November / PCWorld_2000-11_cd.bin / Akce / setup.exe / data1.cab / NotesProgramFilesRequiredProgramFilesLotusScript / orgconst.lss < prev   
Text File  |  2000-08-20  |  10KB  |  230 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. Const ORS_MSGTYPE_STATUSREQUIRED    = "2"    ' chairperson is requiring invitee to attend
  28. Const ORS_MSGTYPE_STATUSREMOVED    = "5"         ' chairperson is removing invitee from list
  29.  
  30. '--- Values for OrgStatus (ORSATTSTATUS)
  31. ' These are stored in the note and should not be translated!!!!
  32. Const ORS_STATUS_REMOVED  = "5"        ' attendee was removed
  33.  
  34. '--- Values for OrgState (ORSATTSTATE)
  35. ' These are stored in the note and should not be translated!!!!
  36. Const ORS_STATE_ROOM       = "5"       ' set for a room
  37. Const ORS_STATE_RESOURCE   = "6"       ' set for a resource
  38.  
  39.  
  40. '--- Values for OrdTable
  41. ' These are stored in the note and should not be translated!!!!
  42. Const ORS_ITEM_CALENDAR    = "C0"
  43. Const ORS_ITEM_TODO        = "T0"
  44. Const ORS_ITEM_CALLS       = "H0"
  45. Const ORS_ITEM_PLANNER     = "P0"
  46. Const ORS_ITEM_ADDRESS     = "D0"
  47. Const ORS_ITEM_NOTEPAD     = "N0"
  48. Const ORS_ITEM_ANNIVERSARY = "A0"
  49.  
  50.  
  51. ' Specifies if event chair needs to send event requests to various participants
  52. Const SO_NONE = 0                                ' No requests need to be sent
  53. Const SO_USERS = 1                            ' Send requests to users
  54. Const SO_ROOMS = 2                            ' Send requests to rooms
  55. Const SO_RESOURCES = 4                        ' Send requests to resources
  56.  
  57.  
  58. ' Flags for cancelling an event
  59. Const REMOVE_CURRENT = 1                    ' Delete the main event
  60. Const REMOVE_RESPONSES= 2                    ' Delete all responses
  61. Const REMOVE_CALENDAR = 4                    ' Remove from the calendar
  62. Const REMOVE_DELETED = 8                    ' User is deleting document manually
  63.  
  64.  
  65. ' Flags that determine which instances a change to a repeating entry are filtered
  66. Const REPEAT_CANCEL = -1                    ' User cancelled modified a repeating entry
  67. Const REPEAT_CURRENT = 0                    ' User wants to modify current instance only
  68. Const REPEAT_ALL = 1                            ' User wants to modify all instances
  69. Const REPEAT_PREV = 2                        ' User wants to modofy current and all previous instances
  70. Const REPEAT_FUT = 3                            ' User wants to modify current and all future instances
  71.  
  72.  
  73. ' Options for determining how an event fits in the repeating "world"
  74. Const CTX_REPEAT_NONE            = 0
  75. Const CTX_REPEAT_MAIN             = 1            ' Main document in hierarchy
  76. Const CTX_REPEAT_INST             = 2            ' Child Event document 
  77. Const CTX_REPEAT_MSG             = 3            ' Workflow message
  78.  
  79.  
  80. Const CS_VERSION_45 = 48                    ' Entry is from version 4.5
  81. Const CS_VERSION_50 = 50                    ' Entry is from version 5.0
  82.  
  83. Const CS_SHARED_STRING=1
  84. Const CS_OWNER_STRING=50
  85. Const CS_PART_STRING=100
  86.  
  87. ' Shared Strings
  88. Const INC_COMMENTS = CS_SHARED_STRING
  89. Const ENTRY_PAST = CS_SHARED_STRING+1
  90. Const ENTRY_CONF = CS_SHARED_STRING+2
  91. Const ALARM_TITLE = CS_SHARED_STRING+3
  92. Const PAST_TITLE = CS_SHARED_STRING+4
  93. Const DBLBOOK_TITLE = CS_SHARED_STRING+6
  94. Const ERR_FREETIME = CS_SHARED_STRING+7
  95. Const RPTCHANGE_TITLE = CS_SHARED_STRING+8
  96. Const USER_ACTION_INVALID = CS_SHARED_STRING+9
  97. Const USER_INVALID_DOCUMENT = CS_SHARED_STRING+10
  98. Const ERR_CREATE_REPEAT = CS_SHARED_STRING+11
  99. Const ERR_TITLE = CS_SHARED_STRING+12
  100. Const REPEAT_CONFLICT_PROMPT = CS_SHARED_STRING+13
  101. Const REPEAT_CONFLICT_TITLE = CS_SHARED_STRING+14
  102. Const REPEAT_OPEN_PROMPT = CS_SHARED_STRING+15
  103. Const REPEAT_OPEN_TITLE = CS_SHARED_STRING+16
  104. Const ENABLE_OUT_PROMPT = CS_SHARED_STRING+17
  105. Const ENABLE_OUT_TITLE = CS_SHARED_STRING+18
  106. Const RESOURCE_BOOKED_PROMPT = CS_SHARED_STRING+19
  107. Const RESOURCE_BOOKED_TITLE = CS_SHARED_STRING+20
  108. Const RESOURCE_FREETIME_ERR_PROMPT = CS_SHARED_STRING+21
  109. Const RESOURCE_FREETIME_ERR_TITLE = CS_SHARED_STRING+22
  110. Const WEB_GOBACK = CS_SHARED_STRING+23
  111. Const REPEAT_PASTE_PROMPT = CS_SHARED_STRING+24
  112. Const REPEAT_PASTE_TITLE=CS_SHARED_STRING+25
  113.  
  114. ' Owner Strings
  115. Const ENTRY_TYPE = CS_OWNER_STRING
  116. Const ENTRY_DTMOD = CS_OWNER_STRING+1
  117. Const CANC_TITLE = CS_OWNER_STRING+2
  118. Const RESC_TITLE = CS_OWNER_STRING+3
  119. Const STS_TITLE = CS_OWNER_STRING+4
  120. Const DTMOD_TITLE = CS_OWNER_STRING+5
  121. Const MODTYPE_TITLE = CS_OWNER_STRING+6
  122. Const CONF_TITLE = CS_OWNER_STRING+7
  123. Const CTRACPT_TITLE = CS_OWNER_STRING+8
  124. Const CTRDECL_TITLE = CS_OWNER_STRING+9
  125. Const REM_PART = CS_OWNER_STRING+10
  126. Const REM_PART_TITLE = CS_OWNER_STRING+11
  127. Const RESC_UPD_MSG = CS_OWNER_STRING + 12
  128. Const REPEAT_TITLE = CS_OWNER_STRING + 13
  129. Const SEND_INV_MSG = CS_OWNER_STRING + 14
  130. Const SEND_INVRES_MSG = CS_OWNER_STRING+15
  131. Const SEND_INV_TITLE = CS_OWNER_STRING+16
  132. Const NO_SEND_LIST = CS_OWNER_STRING+17
  133. Const VIEWSTATUS_NOMEMBERS_PROMPT=CS_OWNER_STRING+18
  134. Const WEB_TABLE_NAME=CS_OWNER_STRING+19
  135. Const WEB_TABLE_STATUS=CS_OWNER_STRING+20
  136. Const WEB_TABLE_ROLE=CS_OWNER_STRING+21
  137.  
  138. ' Participant Strings
  139. Const RESC_MSG = CS_PART_STRING
  140. Const CANCEL_MSG = CS_PART_STRING+1
  141. Const CANCEL_UPD = CS_PART_STRING +2
  142. Const CANCEL_NOACTN = CS_PART_STRING+3
  143. Const ERR_SEND_DELE = CS_PART_STRING+4
  144. Const ERR_BROADCAST = CS_PART_STRING+5
  145. Const ERR_NO_DELEGATE = CS_PART_STRING+6
  146. Const ERR_NO_PROPOSE = CS_PART_STRING+7
  147. Const USER_MUST_ACCEPT=CS_PART_STRING+8
  148.  
  149. Const ACPT_TITLE = CS_PART_STRING+9
  150. Const DECL_TITLE = CS_PART_STRING+10
  151. Const UPD_TITLE = CS_PART_STRING+11
  152. Const DELE_TITLE = CS_PART_STRING+12
  153. Const CNTR_TITLE = CS_PART_STRING+13
  154. Const ADD_TITLE = CS_PART_STRING+14
  155. Const STATUS_REQUIRED = CS_PART_STRING+15
  156. Const STATUS_REMOVED = CS_PART_STRING+16
  157. Const STATUS_TITLE = CS_PART_STRING+17
  158.  
  159.  
  160. ' MAIL CONSTANTS
  161.  
  162.  
  163. Const CREATE_MEMO = 1
  164. Const CREATE_TASK = 2
  165. Const CREATE_CALENDAR = 3
  166. Const CREATE_GROUPCALENDAR = 4
  167.  
  168.  
  169.  
  170. ' Common action defines for mail and C&S
  171. ' Although it appears that all of these could be OR'd
  172. ' together, only a subset should be
  173.  
  174. Const ACTION_NONE                    = &h00000000&            ' No actions are pending
  175.  
  176. ' These actions control what happens when a document is closed/saved
  177. ' Used by both mail and C&S
  178.  
  179. Const ACTION_CLOSE                 = &h00000001&            ' Doc should be closed without saving
  180. Const ACTION_SAVE                 = &h00000002&            ' Doc should be saved
  181. Const ACTION_SEND                 = &h00000004&            ' Doc should be sent
  182. Const ACTION_FILE                 = &h00000008&            ' Doc should be filed in a folder
  183.  
  184. ' h00000010 - h00000080 are reserved for future actions
  185.  
  186.  
  187. ' These actions are used by C&S ONLY
  188. ' These actions can be OR'd with the above ones,
  189. ' but there should exist only one of these (i.e. you cannot cancel and reschedule at the same time)
  190.  
  191. Const ACTION_CANCEL                 = &h00000100&            ' Chair is cancelling event
  192. Const ACTION_RESCHEDULE         = &h00000200&            ' Chair is rescheduling event
  193. Const ACTION_COUNTER_REJECT     = &h00000400&            ' Chair is rejecting proposal
  194. Const ACTION_COUNTER_ACCEPT     = &h00000800&            ' Chair is accepting proposal
  195. Const ACTION_CONFIRM             = &h00001000&            ' Chair is confirming event
  196. Const ACTION_REMOVE_PEOPLE        = &h00002000&            ' Chair is removing participants
  197. Const ACTION_REMOVE_ROOMS        = &h00004000&            ' Chair is removing room
  198. Const ACTION_REMOVE_RESOURCES    = &h00008000&            ' Chair is removing resource
  199.  
  200. ' h00002000 - h00008000 are reserved for future actions
  201.  
  202. Const ACTION_ACCEPT                 = &h00010000&            ' Participant is accepting request
  203. Const ACTION_DECLINE             = &h00020000&            ' Participant is declining request
  204. Const ACTION_DELEGATE             = &h00040000&            ' Participant is delegating request
  205. Const ACTION_COUNTER_PROPOSE     = &h00080000&            ' Participant is counter-proposing
  206. Const ACTION_OPENRESCHEDULE     = &h00100000&            ' Participant wants to open reschedule
  207. Const ACTION_ADDTOCALENDAR        = &h00200000&            ' Participant is adding event to calendar 
  208. Const ACTION_COMPLETED            = &h00400000&            ' Participant is completed to do
  209. Const ACTION_REFRESHINFO        = &h00800000&            ' Participant wants updated information
  210.  
  211.  
  212. ' These actions are used by mail ONLY
  213.  
  214. Const ACTION_MEMOMGR             = &h01000000&            ' User is creating memo to db manager
  215. Const ACTION_DRAFT                 = &h02000000&            ' Doc is a draft
  216. Const ACTION_STATIONERY              = &h04000000&            ' Doc is stationery
  217. Const ACTION_RENAME                = &h08000000&            ' Doc is being renamed
  218.  
  219. Const Enabled = 1
  220. Const Disabled = 0
  221. Const Removed = -1
  222.  
  223. Const CS_DOC_ALARMS            = &h00000001&
  224. Const CS_DOC_FIRSTPASS        = &h00000002&
  225. Const CS_DOC_FOROWNER        = &h00000004&
  226. Const CS_DOC_TASK            = &h00000008&
  227. Const CS_DOC_ISCOUNTER        = &h00000010&
  228. Const CS_DOC_WEBUSER        = &h00000020&
  229. Const CS_DOC_RESOURCE    = &h00000040&
  230.