Bug 159068

Summary: PDF export from Calc creates untagged shapes from precedents/dependents marker shapes
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: Printing and PDF exportAssignee: Tibor Nagy <tibor.nagy.extern>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard: target:24.8.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 139007    
Attachments: Example file from Calc with formula precedents tracking
The document in Calc and PDF version in PAC tool

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.