dcfreloadhook
dcfreloadhook
Function prototype:
hook(docid)
Synopsis
Use with:
add_hook(hookname, func[, prepend])
remove_hook(hookname, func)
where hookname is dcfreloadhook.
This hook is called when a document type's configuration file (.dcf) is reloaded. This occurs when a .dcf file is saved by Arbortext Editor, when a .dcf file is saved externally to Arbortext Editor and a document of the document type is reverted, or when a .dcf file is loaded by the set dcffile command. The hook is called for each document of the document type.
docid is the document identifier of the document whose associated .dcf file was reloaded.