Created attachment 186890 [details] Example file from Writer Attached example file contains some content controls, which cause error message in the PAC tool. 1. Open attached file 2. File - Export - Export as PDF and check PDF/UA 3. Open the resulting file in the PAC tool -> It complains about "Widget" annotation not nested inside a "Form" structure element Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 006b35d50024b1932d84380b5d2fec1f7066bccd 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 186891 [details] The example file in Writer and its PDF version in PAC tool
Created attachment 186892 [details] Slightly changed up version of the document that is fine Putting letters to the beginning seems to fix this.
Created attachment 186893 [details] The good example file in Writer and PAC tool
Repro with PAC tool Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 6f1534940ac12ff8e46f4782e18cfb6cf585da39 CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: default; VCL: win Locale: en-US (en_FI); UI: en-US Calc: threaded
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/49dca4be647733507b2082a9c74187076a4a8d9b tdf#154990 vcl: PDF export: incorrect checks of annotation struct parents 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-5": https://git.libreoffice.org/core/commit/93088fef9373427fd36555375f731417f665b6dd tdf#154990 vcl: PDF export: incorrect checks of annotation struct parents It will be available in 7.5.6. 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.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/1e9407aec765e42a3deface23ffefb0db1e03706 tdf#154990 vcl: PDF export: incorrect checks of annotation struct parents 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.