pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilad Denneboom <gilad.denneb...@gmail.com>
Subject Re: Regarding orphan pages in a pdf
Date Tue, 03 Nov 2015 13:54:37 GMT
Do you mean pages that no bookmark point to? Sure, that's possible.
You'll need to loop over the entire bookmarks outline, checking the action
associated with each bookmark and collecting the destination page numbers
for each such action into an array. At the end of that process compare the
array to the page numbers of the file and see if there are any mismatches.

On Tue, Nov 3, 2015 at 2:15 PM, Gurteg Singh <gurteg.107@gmail.com> wrote:

> Hi Team
> I have a pdf which i want to parse and look at bookmarks , now i want to
>  check if there are any pages which don't belong to any bookmark.
> Is that possible?
> Regards
> Gurteg Singh

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message