https://bugs.documentfoundation.org/show_bug.cgi?id=166963

            Bug ID: 166963
           Summary: PDF-syntax errors in large documents reported by
                    PAC2024 (Structure element refers to a diffrent
                    parent)
           Product: LibreOffice
           Version: 7.0.6.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 103378

Created attachment 201219
  --> https://bugs.documentfoundation.org/attachment.cgi?id=201219&action=edit
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


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103378
[Bug 103378] [META] PDF export bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to