Bug 159068 - PDF export from Calc creates untagged shapes from precedents/dependents marker shapes
Summary: PDF export from Calc creates untagged shapes from precedents/dependents marke...
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:11 UTC by Gabor Kelemen (allotropia)
Modified: 2024-01-15 09:11 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file from Calc with formula precedents tracking (13.23 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-01-08 01:11 UTC, Gabor Kelemen (allotropia)
Details
The document in Calc and PDF version in PAC tool (91.09 KB, image/png)
2024-01-08 01:12 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:11:50 UTC
Created attachment 191806 [details]
Example file from Calc with formula precedents tracking

When the attached Calc document is exported to PDF with PDF/UA enabled, the PAC tool gives an error message about drawing shapes created by the trace dependents/precedents feature.

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: 
"Figure"-Strukturelement ohne Alternativtext

These don't have the option to set alternative text, so probably they should be marked as decorative.

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:12:29 UTC
Created attachment 191807 [details]
The document in Calc and PDF version in PAC tool
Comment 2 Commit Notification 2024-01-15 09:10:34 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/510e94913b87fd6a3ea6444da492f6428afa47d8

tdf#159068 sc: fix detective shapes (PDF/UA export)

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.