On 1/15/15, 9:05 PM, "
dodjavo...@gmail.com" <
dodjavo...@gmail.com>
wrote:
>I guess that I misunderstood PDF structure than. I thought that whole PDF
>is made of objects. Those objects could be text, images, etc... Am I
>wrong?
The “body” of a PDF is made up of objects, but graphic elements (text,
images, etc.) are actually “sub-objects” to a higher order object called a
Content Stream.
This is all described in ISO 32000-1:2008 (aka the PDF standard) or in my
book (<
http://shop.oreilly.com/product/0636920025269.do>).
>If I am, is there any way to bind some annotation to specific,
>highlighted text, so that annotation will move, if position of that text
>changes?
>
Yes and no.
You can bind an annotation to a specific set of graphic elements using the
“tagging” features of PDF. However, because the annotation has a
bounding box representing where it appears visually on the page, it won’t
“automatically travel” with the text when edited. (of course, a smart PDF
editor might certainly do that - but it’s not necessary a requirement)
Leonard