finish method
void
finish()
Finishes the merge, resolving what depends on every source.
Called automatically by PdfDocument.merge; it is idempotent.
Implementation
void finish() {
if (_finished) return;
_finished = true;
_catalog.finish();
}