VIEW "Weekly - 7 day with calendar","Full page",WEEKLY,,800,1000

;=======================================================================
; Header - Username & Date
;=======================================================================

OBJECT	,RECTANGLE,0,0,800,4
	OPTIONS		BLACK

OBJECT  ,RECTANGLE,0,3,800,185
	OPTIONS		GRAY

OBJECT  ,RECTANGLE,0,0,800,185

OBJECT  ,TEXT,10,3,700,60
	VALUE		"&USERNAME "
	STYLES		styUserName

OBJECT  ,TEXT,10,55,700,95
	VALUE		"&PRINTDATE "
	STYLES		styDate

OBJECT	,CALENDAR,500,5,800,185
	STYLES		styCalendar

;=======================================================================
; Timeframe and Day rects
;=======================================================================

OBJECT	,RECTANGLE,0,190,800,194
	OPTIONS		BLACK

OBJECT  ,RECTANGLE,0,880,100,980

OBJECT  ,TEXT,0,880,100,980
	STYLES		stySmallHeading
	OPTIONS		HCENTER, VCENTER, NONE
	VALUE		"Other:"

OBJECT	,RECTANGLE,0,190,100,227

OBJECT  ,TIMEFRAME,0,227,100,880
	STYLES		styTime

;=======================================================================
; Day 1
;=======================================================================

OBJECT  ,RECTANGLE,100,190,200,227

OBJECT	,EVENTS,0,0,0,0
	STYLES		styApptText, styHeading
	OPTIONS		0,1
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,TEXT,100,193,200,217
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"ddd"
	OPTIONS		HCENTER, VCENTER, NONE

OBJECT  ,TEXT,100,208,200,232
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"D"
	OPTIONS		HCENTER, VCENTER, NONE

OBJECT  ,SCHEDULE,100,227,200,880
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	OPTIONS		3, 30, LOCATION, OVERFLOW, 0
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT	,APPTS,0,0,0,0
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	RANGE		BEFORE,STARTTIME,OR,AFTER,ENDTIME
	OPTIONS		LOCATION, NONE, 1, 0, 0
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,RECTANGLE,100,880,200,980

OBJECT	,OVERFLOW,102,880,200,980
	OPTIONS		MINIMAL, CONSUME, 0
	STYLES		styApptText

;=======================================================================
; Day 2
;=======================================================================

OBJECT  ,RECTANGLE,200,190,300,227

OBJECT	,EVENTS,0,0,0,0
	STYLES		styApptText, styHeading
	OPTIONS		0,1
	DELTAYMD	1,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,TEXT,200,193,300,217
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"ddd"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	1,DAY

OBJECT  ,TEXT,200,208,300,232
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"D"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	1,DAY

OBJECT  ,SCHEDULE,200,227,300,880
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	OPTIONS		3, 30, LOCATION, OVERFLOW, 0
	DELTAYMD	1,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT	,APPTS,0,0,0,0
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	RANGE		BEFORE,STARTTIME,OR,AFTER,ENDTIME
	OPTIONS		LOCATION, NONE, 1, 0, 0
	DELTAYMD	1,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,RECTANGLE,200,880,300,980

OBJECT	,OVERFLOW,202,880,300,980
	OPTIONS		MINIMAL, CONSUME, 0
	STYLES		styApptText

;=======================================================================
; Day 3
;=======================================================================

OBJECT  ,RECTANGLE,300,190,400,227

OBJECT	,EVENTS,0,0,0,0
	STYLES		styApptText, styHeading
	OPTIONS		0,1
	DELTAYMD	2,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,TEXT,300,193,400,217
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"ddd"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	2,DAY

OBJECT  ,TEXT,300,208,400,232
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"D"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	2,DAY

OBJECT  ,SCHEDULE,300,227,400,880
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	OPTIONS		3, 30, LOCATION, OVERFLOW, 0
	DELTAYMD	2,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT	,APPTS,0,0,0,0
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	RANGE		BEFORE,STARTTIME,OR,AFTER,ENDTIME
	OPTIONS		LOCATION, NONE, 1, 0, 0
	DELTAYMD	2,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,RECTANGLE,300,880,400,980

OBJECT	,OVERFLOW,302,880,400,980
	OPTIONS		MINIMAL, CONSUME, 0
	STYLES		styApptText

;=======================================================================
; Day 4
;=======================================================================

OBJECT  ,RECTANGLE,400,190,500,227

OBJECT	,EVENTS,0,0,0,0
	STYLES		styApptText, styHeading
	OPTIONS		0,1
	DELTAYMD	3,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,TEXT,400,193,500,217
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"ddd"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	3,DAY

OBJECT  ,TEXT,400,208,500,232
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"D"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	3,DAY

OBJECT  ,SCHEDULE,400,227,500,880
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	OPTIONS		3, 30, LOCATION, OVERFLOW, 0
	DELTAYMD	3,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT	,APPTS,0,0,0,0
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	RANGE		BEFORE,STARTTIME,OR,AFTER,ENDTIME
	OPTIONS		LOCATION, NONE, 1, 0, 0
	DELTAYMD	3,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,RECTANGLE,400,880,500,980

OBJECT	,OVERFLOW,402,880,500,980
	OPTIONS		MINIMAL, CONSUME, 0
	STYLES		styApptText

;=======================================================================
; Day 5
;=======================================================================

OBJECT  ,RECTANGLE,500,190,600,227

OBJECT	,EVENTS,0,0,0,0
	STYLES		styApptText, styHeading
	OPTIONS		0,1
	DELTAYMD	4,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,TEXT,500,193,600,217
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"ddd"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	4,DAY

OBJECT  ,TEXT,500,208,600,232
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"D"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	4,DAY

OBJECT  ,SCHEDULE,500,227,600,880
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	OPTIONS		3, 30, LOCATION, OVERFLOW, 0
	DELTAYMD	4,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT	,APPTS,0,0,0,0
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	RANGE		BEFORE,STARTTIME,OR,AFTER,ENDTIME
	OPTIONS		LOCATION, NONE, 1, 0, 0
	DELTAYMD	4,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,RECTANGLE,500,880,600,980

OBJECT	,OVERFLOW,502,880,600,980
	OPTIONS		MINIMAL, CONSUME, 0
	STYLES		styApptText

;=======================================================================
; Day 6
;=======================================================================

OBJECT  ,RECTANGLE,600,190,700,227

OBJECT	,EVENTS,0,0,0,0
	STYLES		styApptText, styHeading
	OPTIONS		0,1
	DELTAYMD	5,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,TEXT,600,193,700,217
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"ddd"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	5,DAY

OBJECT  ,TEXT,600,208,700,232
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"D"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	5,DAY

OBJECT  ,SCHEDULE,600,227,700,880
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	OPTIONS		3, 30, LOCATION, OVERFLOW, 0
	DELTAYMD	5,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT	,APPTS,0,0,0,0
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	RANGE		BEFORE,STARTTIME,OR,AFTER,ENDTIME
	OPTIONS		LOCATION, NONE, 1, 0, 0
	DELTAYMD	5,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,RECTANGLE,600,880,700,980

OBJECT	,OVERFLOW,602,880,700,980
	OPTIONS		MINIMAL, CONSUME, 0
	STYLES		styApptText

;=======================================================================
; Day 7
;=======================================================================

OBJECT  ,RECTANGLE,700,190,800,227

OBJECT	,EVENTS,0,0,0,0
	STYLES		styApptText, styHeading
	OPTIONS		0,1
	DELTAYMD	6,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,TEXT,700,193,800,217
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"ddd"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	6,DAY

OBJECT  ,TEXT,700,208,800,232
	VALUE		"&PRINTDATE "
	STYLES		stySmallDate
	DATEFMT		"D"
	OPTIONS		HCENTER, VCENTER, NONE
	DELTAYMD	6,DAY

OBJECT  ,SCHEDULE,700,227,800,880
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	OPTIONS		3, 30, LOCATION, OVERFLOW, 0
	DELTAYMD	6,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT	,APPTS,0,0,0,0
	STYLES		stySmallApptText, stySmallApptTime, styHeading
	RANGE		BEFORE,STARTTIME,OR,AFTER,ENDTIME
	OPTIONS		LOCATION, NONE, 1, 0, 0
	DELTAYMD	6,DAY
	OVOPTIONS   LOCATION | SINGLELINE | NODATE | STARTONLY

OBJECT  ,RECTANGLE,700,880,800,980

OBJECT	,OVERFLOW,702,880,800,980
	OPTIONS		MINIMAL, CONSUME, 0
	STYLES		styApptText

;=======================================================================
; Footer - Text and Page num.
;=======================================================================

OBJECT  ,TEXT,0,980,700,1000
	VALUE		"Printed on &CURDATE at &CURTIME &TIMEZONE"
	STYLES		stySmallFooter
	OPTIONS		ELLIPSIS, NONE, NONE

OBJECT  ,TEXT,700,980,800,1000
	VALUE		"Page &PAGENUM"
	STYLES		stySmallFooter
	OPTIONS		RIGHT, NONE, NONE
