I don't have a deep knowledge of PDF file structure but I do know that there
is the concept of a "named destination" (see
http://www.adobe.com/products/adobemag/archive/pdfs/0007qaac.pdf ) -- which I
believe is the closest thing to an anchor in a PDF file.
I've written some code in Visual Basic to do DDE calls to acrobat to make it
jump to a specific named destination. I have no idea of how to map named
destinations to byte offsets in a PDF file (or whether that's the right way to
conceptualize "anchors" in a PDF document.) If you want to know more about
how I wrote that program, contact me.
Thomas Clay Templeton wrote:
> has anyone tried to link their structmaps to PDF documents at a finer
> granularity than file-level? I am trying to do this and I have thought of
> two possibilities:
> 1) perhaps there is a tool out there for calculating byte offsets in pdf
> 2) perhaps there is some element of PDF that could be used as an 'anchor'
> (note: if this were the case, the creation of such elements would be
> part of the digital provenance of the document)
> Before I pursue this further (which won't be for a while anyway due to
> more pressing concerns), does anyone one have some enlightenment they'd
> like to share?
Raymond Yee 44 Barrows Hall, #3810
Technology Architect UC Berkeley
Interactive University Project Berkeley, CA 94720-3810
[log in to unmask] 510-642-0476 (work)
http://iu.berkeley.edu/rdhyee 413-541-5683 (fax)