Bug 159065 - PDF export from Calc creates incorrect link annotation
Summary: PDF export from Calc creates incorrect link annotation
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Tibor Nagy
URL:
Whiteboard: target:24.8.0
Keywords:
Depends on:
Blocks: PDF-Accessibility
  Show dependency treegraph
 
Reported: 2024-01-08 01:08 UTC by Gabor Kelemen (allotropia)
Modified: 2024-01-11 13:15 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file from Calc (11.91 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-01-08 01:08 UTC, Gabor Kelemen (allotropia)
Details
The document in Calc and PDF version in PAC tool (90.11 KB, image/png)
2024-01-08 01:09 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-01-08 01:08:34 UTC
Created attachment 191800 [details]
Example file from Calc

When the attached Calc document is exported to PDF with PDF/UA enabled, the PAC tool gives an error message about its hyperlinks.

1. Open attached document
2. File - Export as PDF, enable PDF/UA in the dialog
3. Open the PDF in the PAC tool
-> Error message: 
"Link"-Anmerkung nicht innerhalb eines "Link"-Strukturelements

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 78027c68397f26aec9051b82388cd7452ec66e3d
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (hu_HU); UI: de-DE
Calc: threaded

This happens in master even with the patch of bug 123870 applied (https://gerrit.libreoffice.org/c/core/+/161581 ).
Comment 1 Gabor Kelemen (allotropia) 2024-01-08 01:09:15 UTC
Created attachment 191801 [details]
The document in Calc and PDF version in PAC tool
Comment 2 Commit Notification 2024-01-10 07:50:13 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4202218af61573825edfe5ec5a1bba710d7df1f7

tdf#159065 sc: fix PDF/UA link annotation

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.