Adam,
Thanks for the additional info.
I'm not there yet but I have been digging into the spec,
getPageMap() and my pdf via VIM. I still have a bunch of digging to do, but
here is what
I found so far: lots of /Dest(G#.#####) e.g. /Dest(G1.558638).
I don't see anything like this in the Spec. Before
I go to far, does PDFBox handle this type of Dest? Is there any reason to
believe the following versions don't work with PDFBox 1.0? I'm not saying there
is anything wrong
with PDFBox, I just don't want to spend 20hrs and find out that my pdfs aren't
compatable.
PDF Version 1.6 (fist line in file)
Application: FrameMaker 8.0
PDF Version: 1.6(Acrobat 7.x) (viewed in Acrobat - Document Properties)
I did print out the getPageMap(); knowing the actual page a bookmark points to
via
acrobat I couldn't figure out a path to get to the key of the (key, myPage#)
entry in
the Map. This G#.### stuff is throwing me ....
Thanks,
Tim
snippet of the outline found inside the PDF
30272 0 obj
<< /Type/Catalog/Threads 30273 0 R
/PageLabels 30274 0 R
/Outlines 30275 0 R
/AcroForm 30276 0 R
/Pages 30262 0 R
/Names 30277 0 R
/PageMode/UseOutlines/Metadata 30271 0 R
>>
endobj
30275 0 obj
<< /Count 12/Last 30286 0 R
/First 30287 0 R
>>
endobj
30288 0 obj
<< /Prev 30287 0 R
/Dest(G1.558638)
/Parent 30275 0 R
/Title(contents)
/Next 30289 0 R
>>
endobj
30290 0 obj
<< /Count -2/Prev 30291 0 R
/Dest(G14.1040306)
/Parent 30275 0 R
/Last 30292 0 R
/Title(Part 5 Native Lucene, scoring, and the wheel)
/First 30293 0 R
/Next 30294 0 R
>>
endobj
30293 0 obj
<< /Count -5/Dest(G14.1023742)
/Parent 30290 0 R
/Last 30295 0 R
/Title(Chapter 12 Document ranking)
/First 30296 0 R
/Next 30292 0 R
>>
I found (G14.1023742) elsewhere in the pdf file:
1298 0 obj
<</Border[0 0 0]
/Type/Annot/Dest(G14.1023742)
/Rect[56.94 101.122 465 143.602]/Subtype/Link
>>
endobj
AND:
6183 0 obj<</Limits[(G14.1020229)(G14.1032859)]/Names[(G14.1020229) 29749 0
R(G14.1020232) 29750 0 R(G14.1023741) 29751 0 R(G14.1023742) 29752 0
...]>>
endobj