OnStartDocument()
	Document start 	parameters:  
OnError()
	Error function - error occurs -996 
OnEndDocument()
	Document end 
