A counter that increments whenever pages are added, removed, rotated or
reordered within the current document.
PdfDocument.setPages/setPage renumber pages without producing a new
document, so useDocumentGeneration does not move. Anything keyed by
page number — a thumbnail strip, an outline's destinations, a page counter —
has to be rebuilt on this instead.
A counter that increments whenever pages are added, removed, rotated or reordered within the current document.
PdfDocument.setPages/setPagerenumber pages without producing a new document, so useDocumentGeneration does not move. Anything keyed by page number — a thumbnail strip, an outline's destinations, a page counter — has to be rebuilt on this instead.