Title: problem with bookmark

Hi,

I'm working on the pdf bookmark.

But I have a little problem. I have pdf whych have their bookmark defined like this:

[PDF CODE]

65 0 obj

<<

        /Title(�� a b s t r a c t)

        /Parent         63 0 R

        /Next           66 0 R

        /Prev           64 0 R

        /Dest           [0 /FitH 354.250]

>>

[/PDF CODE]

Here, this bookmark links on the page 1 of my pdf.


I have other pdf whych define the bookmark like this:

[PDF CODE]

65 0 obj

<<

        /Title(�� a b s t r a c t)

        /Parent         63 0 R

        /Next           66 0 R

        /Prev           64 0 R

        /Dest           [1 /FitH 354.250]

>>

[/PDF CODE]

Here, this bookmark links to the page 1 of my pdf.

Acrobat reads both very well and the bookmarks are good too.

So I think, there is a value in my pdf whych say that the first page index is 0 or 1. I'm wrong?

But I don't find this value, can you help me please?

When I use Itext to copy a pdf to a new pdf if the first page of my pdf is coding by 0 (eg1), my bookmarks are false, and I have a shift of 1 page on all my bookmarks.

Thanks in advance,

Bastien PIGEYRE



Reply via email to