PDFBox
  1. PDFBox
  2. PDFBOX-1133

Refactoring PDFParser.parseHeader() method

    Details

    • Type: Improvement Improvement
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.0, 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: Parsing

      Description

      Re-factoring the method parseHeader() method to support an extra header declaration : "%CSO-".

      This header is foundable into some XFDF document, when the stamp appearance stream is define as complete COSDocument. This special document use "%CSO-1.0" as header declaration.

      So I purpose to enhance the PDFReader to be able to parse this kind of document.

      Pierre Huttin

      1. sample.xfdf
        8 kB
        Pierre Huttin
      2. sample.cdata_decoded.cos
        7 kB
        Pierre Huttin
      3. PDFParser.java.patch
        7 kB
        Pierre Huttin

        Activity

        Pierre Huttin created issue -
        Pierre Huttin made changes -
        Field Original Value New Value
        Attachment PDFParser.java.patch [ 12497921 ]
        Pierre Huttin made changes -
        Attachment sample.xfdf [ 12499386 ]
        Attachment sample.cdata_decoded.cos [ 12499387 ]
        Andreas Lehmkühler made changes -
        Fix Version/s 1.7.0 [ 12316940 ]
        John Hewson made changes -
        Summary Re-factoring org.apache.pdfbox.pdfparser.PDFParser.parseHeader() method Refactoring PDFParser.parseHeader() method
        John Hewson made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        John Hewson made changes -
        Resolution Won't Fix [ 2 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        John Hewson made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        John Hewson made changes -
        Resolution Won't Fix [ 2 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        John Hewson made changes -
        Component/s AcroForm [ 12312225 ]
        Component/s Parsing [ 12312226 ]
        John Hewson made changes -
        Priority Minor [ 4 ] Major [ 3 ]
        John Hewson made changes -
        Fix Version/s 2.0.0 [ 12319281 ]
        John Hewson made changes -
        Affects Version/s 2.0.0 [ 12319281 ]
        Maruan Sahyoun made changes -
        Component/s Parsing [ 12312226 ]
        Component/s AcroForm [ 12312225 ]
        Maruan Sahyoun made changes -
        Assignee Andreas Lehmkühler [ lehmi ]
        Maruan Sahyoun made changes -
        Labels Annotations Appearance
        Andreas Lehmkühler made changes -
        Fix Version/s 2.1.0 [ 12328837 ]
        Fix Version/s 2.0.0 [ 12319281 ]

          People

          • Assignee:
            Andreas Lehmkühler
            Reporter:
            Pierre Huttin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development