Skip to content

onDocumentEnd(_:)

Runs handler at each end of the Document (see DocumentEnd), after the core’s own resets: per-page state belongs here.

func onDocumentEnd(_ handler: @escaping (DocumentEnd) -> Void)