Pull request for adding PDF named destinations support

23 views
Skip to first unread message

Jens Rutschmann

unread,
Jan 25, 2013, 9:13:02 AM1/25/13
to flying-s...@googlegroups.com
Hi all,

I've just submitted a pull request for PDF 'named destinations' support:
https://github.com/flyingsaucerproject/flyingsaucer/pull/27

With this patch you can use Adobe Reader + its browser plugin (and maybe other PDF viewers) to directly jump to such a
named destination when opening the PDF.

Example command line for attached PDF:
"C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" /A nameddest=second-destination test.pdf


Please review and merge.

Cheers,
Jens


Sample HTML:

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

<head>
<title>Named Destinations Test</title>
</head>

<body>
<p id="first-destination">
This is the first page.
</p>
<p style="page-break-before: always;">
<a name="second-destination"/>
This is the second page.
</p>
</body>

</html>
test.pdf
Reply all
Reply to author
Forward
0 new messages