Help with reordering a large document using java?

Copy link to clipboard
Copied
Looking for java help I think, I have a 14,000 pg. (and growing) document, each page has a printed page(document) number in the upper right hand corner. I would like to be able to use OCR and then put the pages in order per this printed number. Not sure if it matters but there is a possibility that each page/document number might appear twice in the cabinet and some numbers could be skipped altogether. So the finished document might look something like this 1,1,2,3,3,5,6,7,7,8,10,10...ect...
These documents are returned to me in a random order and I would like to be able to scan them as they come in and "feather" them in to the existing document in order per the document number. Each document or "page" of the PDF has the document number in the same place.
Thanks in advance for any thought or advice on this issue.
Chris
Copy link to clipboard
Copied
For scripting (it'd be via Acrobat JavaScript not Java) you'd want to ask at the scripting forum.

