Created attachment 186817 [details] Example file from Writer Attached example file contains an image with a hyperlink and description. When saved as PDF/UA the PAC 3 tool gives an error: "Link" annotation is not nested inside a "Link" structure element The PDF/UA standard says this about this situation: Graphics objects, other than text objects, shall be tagged with a Figure tag as described in ISO 32000-1:2008, 14.8.4.5, Table 340. If any of the following exceptions are true, then the graphic shall be tagged as an artifact: ? the graphic does not represent meaningful content, or ? the graphic appears as a background to a link annotation, in which case, the alternative text on the link shall describe both the graphic and the link. 1. Open attached file 2. Save as PDF, with PDF/UA enabled 3. Open the resulting file in the PAC 3 tool. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989 CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: threaded
Created attachment 186818 [details] The example file exported to PDF
Created attachment 186819 [details] The example file exported to PDF in PAC tool
I confirm it with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 69d0be09ad81935f7da4b6f8d036c3562357d068 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (de_DE); UI: en-GB Calc: CL threaded
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f2d5653a6792a19e9a45d34ac9dce22e717b8cbf tdf#154939 sw: PDF/UA export: produce Link StructElem inside Figure It will be available in 24.2.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.
fixed on master
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/56229692918505efcc5d466901e7f1123de45a66 tdf#154939 sw: PDF/UA export: produce Link StructElem inside Figure It will be available in 7.6.1. 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.
VERIFIED with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 34d32740d89876c3d4fd2743a07d6e2578601683 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded Michael, thanks for fixing it!