Bug 159067 - PDF export from Calc creates untagged objects from form control marked as decorative
Summary: PDF export from Calc creates untagged objects from form control marked as dec...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
Hardware: All All
: medium normal
Assignee: Tibor Nagy
URL:
Whiteboard: target:24.8.0
Keywords: accessibility
Depends on:
Blocks: PDF-Accessibility
  Show dependency treegraph
 
Reported: 2024-01-08 01:11 UTC by Gabor Kelemen (allotropia)
Modified: 2024-01-19 13:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Calc with decorative form control (12.13 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 (96.09 KB, image/png)
2024-01-08 01:11 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:29 UTC
Created attachment 191804 [details]
Example file from Calc with decorative form control

When the attached Calc document is exported to PDF with PDF/UA enabled, the PAC tool gives error message about untagged path objects and text objects.

1. Open attached document
2. Go to Tools - Forms - Design mode
3. Right click on the label form control, select Alt text to see that it is marked as Decorative. The other has Alt text set is exported fine.
4. File - Export as PDF, enable PDF/UA in the dialog
5. Open the PDF in the PAC tool
-> Error message: 
Nicht getaggtes Pfadobjekt
Nicht getaggtes Textobjekt

This happens in master with the patch of bug 123870 applied (https://gerrit.libreoffice.org/c/core/+/161581 ), but not before this.
Comment 1 Gabor Kelemen (allotropia) 2024-01-08 01:11:43 UTC
Created attachment 191805 [details]
The document in Calc and PDF version in PAC tool
Comment 2 Buovjaga 2024-01-18 18:42:21 UTC
Repro

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 25276df12abd9d002f7f899900434617b256f745
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 Commit Notification 2024-01-19 10:55:35 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/01e41414847bcc3670df9537bbcba6a98ebd5190

tdf#159067 drawinglayer: fix untagged form control (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.