We have a use case where we need to merge multiple documents before processing them.
The ‘–mergeimpose’ process creates a merged pdf with the name of each document it merged as Bookmarks (correctly linked to the first page of the document within the merged pdf).
In our case, we know all the document names from the start. But I assume there is currently a way to get a list of Bookmarks in a pdf (via QuickCheck I believe?).
So, it would be nice to have a way to get the corresponding page index of a bookmark so we know which page within the merged pdf a particular document starts.