https://bugs.documentfoundation.org/show_bug.cgi?id=168786
Bug ID: 168786
Summary: FILESAVE PPTX - PPT presentation with internal link
leading nowhere can't be opened in PowerPoint after
saving
Product: LibreOffice
Version: 7.3.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bibisected, bisected
Severity: normal
Priority: medium
Component: filters and storage
Assignee: [email protected]
Reporter: [email protected]
Blocks: 104787, 139896
Created attachment 203233
--> https://bugs.documentfoundation.org/attachment.cgi?id=203233&action=edit
ooo24358-1.ppt
The attached PPT presentation, ooo24358-1.ppt is from an old AOO bug report.
After converting to PPTX with Impress, PowerPoint fails to open it, and tries
to repair the presentation.
OOXML-Validator gives the following result:
[{"Description":"Relationship tag requires attribute 'Target'. Line 2, position
86.","Path":null,"Id":null,"ErrorType":"OpenXmlPackageException"}]
This is the same error, as in bug 168736, and at first glance, the cause is the
same:
- in ppt/slides/_rels/slide1.xml.rels, multiple entries with empty targets:
<Relationship Id="rId1"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide"
Target=""/>
- ppt/slides/slide1.xml, link elements like this: <a:hlinkClick r:id="rId1"
action="ppaction://hlinksldjump"/>
But not exactly, in PowerPoint, the red dots have hyperlinks leading to '#2.
Custom Topic A' that doesn't exist in the presentation, and the hyperlink is
removed when saved to PPTX in PowerPoint. In Impress the target becomes 'Slide
2', which also doesn't exist, and is then exported incompletely.
This used to be dropped in Impress, but from the following commit in 7.3, it
survives the roundtrip:
https://git.libreoffice.org/core/commit/4bfe8304a5600e236043e4ad7c6dc75fd05c937b
author Tibor Nagy <[email protected]> Mon Oct 18 14:51:05
2021 +0200
committer László Németh <[email protected]> Wed Nov 03 15:01:31
2021 +0100
"tdf#144914 PPTX export: fix interactions and hyperlinks on shapes"
I think it's reasonable to remove hyperlinks that lead nowhere within the file.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=104787
[Bug 104787] [META] Saved PPTX files that MS Powerpoint can't open
https://bugs.documentfoundation.org/show_bug.cgi?id=139896
[Bug 139896] [META] PPTX Hyperlink issues
--
You are receiving this mail because:
You are the assignee for the bug.