remap static method

Delegates the decision to remapper, which translates the source reference into the matching reference in the target document.

This is the policy for whoever copies objects between documents — merging, for instance — where the numbers have to be renumbered. The remapper can return null to drop a broken reference.

Implementation

static PdfReferenceResolver remap(PdfReferenceResolver remapper) => remapper;