Bug 160705

Summary: FILESAVE PDF/UA Table caption does not wrap the table as seen in the PAC tool
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: medium    
Version: 24.8.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=160707
Whiteboard: QA:needsComment
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 139007    
Attachments: Example file with table caption
The example file exported as PDF from current master
The example file in the PAC tool

Description Gabor Kelemen (allotropia) 2024-04-17 11:35:25 UTC
Created attachment 193722 [details]
Example file with table caption

When a table has a caption added in Writer, the PDF/UA correctly exports that as a caption object next to the table. But the PAC tool shows there is no real connection between the two, the caption should wrap the table object.

1. Open attached example file
2. Export as PDF with the PDF/UA option enabled
3. Open the exported file in the PAC tool
-> Look into the Screen Reader Preview: the Caption objects don't wrap the Table object.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d76f1877f699c91f5e4a020641c6d65064bfb997
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

Compare with second attachment that shows caption of an image: in PDF/UA export the caption wraps the image and alt text object.
Comment 1 Gabor Kelemen (allotropia) 2024-04-17 11:38:22 UTC
Created attachment 193723 [details]
The example file exported as PDF from current master
Comment 2 Gabor Kelemen (allotropia) 2024-04-17 11:44:21 UTC
Created attachment 193724 [details]
The example file in the PAC tool
Comment 3 Gabor Kelemen (allotropia) 2024-04-17 12:41:20 UTC
How it looks with an image caption is in bug 160707 - see attachment 193727 [details]