How to create Impress internal hyperlinks that do not change when adding or removing slides

Hello, all. This is my first post here.

I’m currently editing a PPTX slideshow in LibreOffice Impress which must remain as a PPTX due to external constraints. In this document, I have a sort of index slide with a large amount of hyperlinks to different slides in the same presentation. Unfortunately, these hyperlinks seems to be targeting a slide by the slide’s index number in the presentation, such that whenever I add or remove slides from the presentation, a large amount of hyperlinks start pointing to the wrong targets.

I would like to know if there is a way to configure LibreOffice Impress hyperlinks to target specific slides without these hyperlinks being affected by changes to the other slides in the presentation. The hyperlink should still point to the same slide regardless if that slide is moved or if other slides are added or removed, which apparently is the default behavior in Microsoft PowerPoint.

Does anyone know a solution to this? I’m currently re-writing the hyperlinks by hand, which is quickly becoming too burdensome with more and more hyperlinks being added.

By default, LibreOffice numbers slides and names them
Slide 1, Slide 2, etc.
If you break the pattern of this naming convention, the hyperlink remains intact.
Therefore, in such cases, you must rename your slides and assign them unique, distinctive names.
This functionality is preserved when saving the presentation as an ODG file.
I cannot test how saving in PPTX affects this.


How to open files from MS-Office 2007 or 2010 (.DOCX, .XLSX,…)?


With me:
Version: 26.8.0.3 (X86_64)
Build ID: bce0998afefdbc355585ca324285661a2170ba77
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded

Hello, Hrbrgr.

Thank you for your reply. I did rename all the slides that are targeted by hyperlinks. However, after saving the file as PPTX and opening it again, not only does it reset the titles assigned to match those of the slides themselves, but it also leads to the breaking of all the hyperlinks, which no longer track slides by title.

Perhaps this is a bug with PPTX compatibility?

With me:
Version: 25.8.7.3 (X86_64) / LibreOffice Community
Build ID: 580(Build:3)
CPU threads: 16; OS: Linux 6.18; UI render: default; VCL: gtk3
Locale: en-US (en_US.utf8); UI: en-US
25.8.7-5
Calc: threaded

I think so.

How to Report Bugs in LibreOffice

Once you have logged the bug, please provide the bug number here; thank you.

Submitted bug report tdf#173373 detailing this issue.

2 Likes