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

            Bug ID: 174186
           Summary: PDF export: the click action of a group in Impress
                    gives no link
           Product: LibreOffice
           Version: 26.8.1.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:pdf
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 209380
  --> https://bugs.documentfoundation.org/attachment.cgi?id=209380&action=edit
Group with alt text and a click action on the group (http://example.com/)

A click action (Interaction) set on a group works in the slide show and is
saved in ODP, but the exported PDF has no link annotation for it: the group is
not clickable.

Steps to reproduce:
1. Open the attached group-link.odp: a group of a rectangle and an ellipse,
with a title and description, and the click action "Go to document"
http://example.com/ on the group (office:event-listeners of the draw:g).
2. F5 and click the group: the URL opens.
3. File > Export as PDF.

Actual:
- No /Link annotation in the PDF (group-link.26.8-output.pdf); the group is not
clickable.

Expected:
- A /Link annotation over the group, as for a single shape.

Control: the same click action on a single shape gives a /Link with /URI
(http://example.com/) (shape-link-control.26.8-output.pdf).

Reproduced on 26.8.1.1 (bf6ef2662401), macOS; master 1669ca66be41 has the same
code.

Code pointer:
sd/source/ui/unoidl/unomodel.cxx ImplPDFExportShapeInteraction: for a
GroupShape it only recurses into the members and never reads the click action
of the group itself.

Attachments:
- group-link.odp: the group with the click action
- group-link.26.8-output.pdf: PDF of 26.8.1.1, no link
- shape-link-control.26.8-output.pdf: PDF of 26.8.1.1 with the click action on
a single shape, has the link

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to