[Libreoffice-bugs] [Bug 104804] PDF Export Named Destinations missing

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 23 12:30:14 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=104804

--- Comment #12 from Jos van den Oever <jos at vandenoever.info> ---
An ODF with <text:bookmark text:name="Test_2"> that is exported to PDF with
'Export bookmarks as named destinations' will get a named destination
'Test5F2'. The character '_' is changed to '5F'.

The named destinations in PDF files can be investigated with qpdf.

qpdf --qdf --object-streams=disable in.pdf out.pdf

This gives e.g.:

```
%% Original object ID: 44 0
1 0 obj
<<
  /Dests 3 0 R
...
%% Original object ID: 29 0
3 0 obj
<<
  /Test5F1 [
    6 0 R
    /XYZ
    56.7
    773.1
    0
  ]
  /Test5F15F1 [
    6 0 R
    /XYZ
    56.7
    736.2
    0
  ]
```

The destinations that LO writes out are points on pages (/XYZ). One could point
to rectangles by using /FitR instead of /XYZ. Such a rectangle cannot span page
boundaries.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171123/f1bbe165/attachment-0001.html>


More information about the Libreoffice-bugs mailing list