flyingsaucerproject/flyingsaucer — pull request #27 by jensrutschmann (2013-01-25 14:07:02+00:00)
Title: Create named destinations for all boxes having an ID.

You can now add to the input HTML and then jump directly to this location by passing the destination name as argument when opening the PDF.

This also adds named destinations for elements with id attributes.

Example HTML:
```

Named Destinations Test

This is the first page.

This is the second page.

```

Open the resulting PDF with a command like this:
```
"C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" /A nameddest=second-destination test_default_ua.pdf
```

The reader should jump to the paragraph on the second page as soon as the PDF is opened.