Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4004

Elements in the structure tree are not removed or corrected when flattening

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.8
    • Fix Version/s: None
    • Component/s: AcroForm

      Description

      When flattening, the elements in the structure tree are not removed nor adjusted (to the form xobject). An example can be found at Root/StructTreeRoot/ParentTree/Nums/[31]/K/Obj in the file GovFormPreFlattened.pdf . This links to something that does not really exist anymore.

        Attachments

        1. GovFormPreFlattened.pdf
          622 kB
          Tilman Hausherr
        2. GeneralForbearance-noXFA-FlattenPreflight.pdf
          57 kB
          Maruan Sahyoun
        3. GeneralForbearance-noXFA-flattenJS.pdf
          612 kB
          Maruan Sahyoun

          Issue Links

            Activity

              People

              • Assignee:
                msahyoun Maruan Sahyoun
                Reporter:
                tilman Tilman Hausherr
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: