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

Improve JavaCC Grammar and Preflight to manage Xref stream object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • Preflight
    • None

    Description

      Until PDF 1.4, keywords "xref" and "trailer" were mandatory at the end of the PDF File to know where object are located into the PDF Body.
      However, according to my understanding of the PDF Reference 1.5 and 1.7, this two entries can be referenced as object stream.
      Because of the PDF/A-1 specification is based on the PDF 1.4, our JavaCC parser check that the file contains trailer entries and extract these trailers to process some controls after Syntax Validation.

      TODO :

      • Check XRef and Trailer needs in the PDFReference 1.4 to 1.7
      • implement new XRef and Trailer managment rules in preflight.

      Attachments

        Activity

          People

            leleueri Eric Leleu
            leleueri Eric Leleu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: