Bug 159821 - Bookmarks broken when range of Impress slides / Draw pages are exported to PDF
Summary: Bookmarks broken when range of Impress slides / Draw pages are exported to PDF
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2024-02-21 13:24 UTC by Rafael Lima
Modified: 2024-06-12 06:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODP file for testing (14.75 KB, application/vnd.oasis.opendocument.presentation)
2024-02-21 13:24 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2024-02-21 13:24:28 UTC
Created attachment 192688 [details]
Sample ODP file for testing

When you export a subset of slides in the presentation as PDF, the bookmarks connecting slides to page numbers will be wrong.

Steps to reproduce
1) Open attached sample ODP file (it has 10 slides)
2) Go to File - Export As - Export As PDF
3) In Range enter "3-8" (export slides 3 to 8)
4) Click export and give the file a name
5) Now open the file in a PDF reader
6) Click the bookmark "Slide 3"... it will take to "Slide 5" because it is associated with page 3 (which was the original page of slide 3 before exporting)

Happens in

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8a44e6148b7b2ecc3a14e246105b828651d275d4
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 DuyN 2024-03-04 23:29:59 UTC
Thank you for reporting the bug. I can confirm that the bug is present in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e939685f9c6918830bd3097062790bfccbce937e
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Stéphane Guillou (stragu) 2024-06-12 06:17:05 UTC
Reproduced in OOo 3.3 -> inherited.
Same in Draw.