Skip to main content
Participant
December 20, 2019
Question

Problems splitting a document by Bookmarks

  • December 20, 2019
  • 1 reply
  • 1081 views

Hello !

 

I am tring to split a document with 121 pages into individual one-page PDF files with each filename drawn from top-level bookmarks.

Each page has our company graphic header, and then some text. The first line of text (addressee company name) is what I am using for bookmarks. Each is unique, no dupes. I created each bookmark manually by highlighting the text and bookmarking it.

Problem is: it does indeed create individual files, with bookmark text as filenames, but ~50% of the time its the incorrect page, so that, for instance, a file named "Company A" has the text body of "Company B".

 

I am stumped as to how to fix it..have tried a few things. Is the bookmark not being at top of page causing ambiguity as to how to split ? My next guess is to somehow move the company graphic down, and somehow get the company name at the very top of each page...then use white font color so its hidden, but still useable as a bookmark. Or is there an easier way ?

1 reply

Thom Parker
Community Expert
Community Expert
December 20, 2019

So how are the bookmarks created?

And yes, the navigation position of the bookmark determines the split.  Click on one of the problem splits and see what page number is displayed.  The location of the following bookmark can also play a role in this.  

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
JCinFLAuthor
Participant
December 20, 2019

I think I solved it.

I was setting them by just highlighting and bookmarking, but wasn't paying attention to where they were on the page, or where I was as I scrolled through the document.

It appears that Adobe remembers your bookmark in the context of where you've scrolled the page.

So, what I did was make sure that I scrolled so that the top of the page I wanted to be in a file filled the screen, and THEN I selected the text and bookmarked it.

After that, it associates the right pages with filenames.

Thanks for giving me a hint on how to solve it !