PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Bookmarks With Page Offset
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2295
Page 1 of 1

Author:  MakroDoccer [ Thu Jan 10, 2013 8:36 pm ]
Post subject:  Bookmarks With Page Offset

Hello,

I really like PDFSharp & MigraDoc.
I currently use it to parse DoxyGen comments and generate "deliverable" documentation PDF.

One thing I don't understand:
Bookmarks created by MigraDoc (either for outlines or in Table Of Contents) do just point to the page.
Resulting if I press a bookmark/outline to a page, which is already in focus, nothing happens.

I tested Adobe and Sumatra.

Other PDFs I got from somewhere else have bookmarks/outlines with page offsets.

Is this is a missing feature of MigraDoc?
Or do I have an implementation issue within my code?

Regards
mm

Author:  () => true [ Fri Jan 11, 2013 8:19 am ]
Post subject:  Re: Bookmarks With Page Offset

Hi!
MakroDoccer wrote:
Is this is a missing feature of MigraDoc?
AFAIK MigraDoc currently cannot do it better. It links to the page, but not to the correct position on the page.

Author:  MakroDoccer [ Sat Jan 12, 2013 10:48 am ]
Post subject:  Re: Bookmarks With Page Offset

But MigraDoc knows the PageOffset, because it knows, when it is necessary to start a new page.
And PDF does support PageOffsets for Bookmarks, as I know from other PDFs.

Ok, but thanks. Now I know, that if I need it, I have to modify MigraDoc lib directly.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/