Created attachment 201219 [details] Example odt document that exhibits the issue when exported to PDF I have discovered that large odt documents (>~500) that are exported to PDF format, often have these PDF-syntax errors reported by PAC2024 accessibility checker: "Structure element refers to a different parent than the actual parent" The beginning of the document never has these errors, but after certain point every paragraph has this error. If you divide the document to smaller sections (https://help.libreoffice.org/latest/en-US/text/swriter/guide/sections.html), this problem goes away. Same thing happens also if you just cut enough content away. To me this behaviour sounds like some kind of index has run out of numbers and no more children can be added. A good example of this is the "Useful Macro Information For OpenOffice.org" By Andrew Pitonyak, which I will attach to this bug report. If you export this document to PDF and run it through PAC 2024, it will report the previously mentioned issues. I will also add the exported PDF file to this bug report. I will also attach a version of this document, where I have assigned all Chapters 1-20 to their own sections. This version does not suffer from the previously mentioned issue, if you run a PDF export of this file through PAC 2024. I will attach the said PDF-file. I will also add a screenshot of the PAC 2024 errors to this issue. I tested this issue with LO 25.2.4.3 (X86_64) and LO 7.0.6, which both produce the same errors. Version: 25.2.4.3 (X86_64) / LibreOffice Community Build ID: 33e196637044ead23f5c3226cde09b47731f7e27 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win Locale: fi-FI (fi_FI); UI: en-GB Calc: threaded
Created attachment 201220 [details] PDF export of the example document that exhibits the PAC2024 "different parent" issue
Created attachment 201221 [details] Screenshot of the PAC2024 error report
Created attachment 201222 [details] Version of the example odt document where Chapters 1-20 are divided to sections to workaround the issue
Created attachment 201223 [details] PDF export of the example document that was divided to sections, no different parent issues reported