Am 29.07.2021 um 15:55 schrieb chitgoks:
i wish to ask if pdfbox can support this scenario.
Say, pdf 1 page 4
pdf 2 is a copy of pdf 1 but with additional pages. user adds 3 pages to
it. so page 4 will be on page 7.
is there a way to detect what page # (which is page 7) in pdf 2 based on
pdf 1's (page 4)?
Not really. You could render the pages and then compare the renderings.
Or compare the COS structures recursively.
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org