Arbortext Command Language > Callbacks > doc_add_callback > completeness_check Callback Type
  
completeness_check Callback Type
Function prototype:
function funcname (doc, logname)
completeness_check is called when a completeness check is being performed on the specified document.
Arguments
doc is the identifier of the source document.
logname is the name of the event log being used for reporting the completeness checking. It is an empty string if the results are not being logged.
This callback can add reports to the event log. The callback should return the number of errors reported to the event log.