method

accept_document

accept_document(document)
public

Adds document to the output, using its heading cutoff if present