formatpagestatushook
formatpagestatushook
Function prototype:
hook (doc, pageno)
Synopsis
Use with:
add_hook(hookname, func[, prepend])
remove_hook(hookname, func)
where hookname is formatpagestatushook.
This hook is called when document formatting starts formatting a new page. Just before formatting begins, this hook is called with a pageno of zero (0).
Arguments
• doc is the document identifier of document being formatted.
• pageno is the ordinal page number of the page about to be formatted.