Advertisement
Guest User

Untitled

a guest
Aug 15th, 2010
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.86 KB | None | 0 0
  1. 4.15
  2. cross reference table data structure that contains the byte offset start for each of the indirect objects within the file
  3.  
  4. 7.5.4     Cross-Reference Table
  5. The cross-reference table contains information that permits random access to indirect objects within the file so that the entire file need not be read to locate any particular object.
  6.  
  7.  
  8. 7.5.5     File Trailer
  9. The trailer of a PDF file enables a conforming reader to quickly find the cross-reference table and certain
  10. special objects. Conforming readers should read a PDF file from its end. ("should" not "shall")
  11.  
  12. 7.5   File Structure
  13. 7.5.1    General
  14. A basic conforming PDF file shall be constructed of following four elements:
  15. • A one-line header identifying the version of the PDF specification to which the file conforms
  16. • A body containing the objects that make up the document contained in the file
  17. • A cross-reference table containing information about the indirect objects in the file
  18. • A trailer giving the location of the cross-reference table and of certain special objects within the body of the file
  19.  
  20. 7.5.8   Cross-Reference Streams
  21. 7.5.8.1 General
  22. Therefore, with the exception of the startxref address %%EOF segment and comments, a file may be entirely a sequence of objects.
  23.  
  24. Implementation limits. C.1
  25. When a conforming reader reads a PDF file with a damaged or missing cross-reference table, it may
  26. attempt to rebuild the table by scanning all the objects in the file. However, the generation numbers of
  27. deleted entries are lost if the cross-reference table is missing or severely damaged. To facilitate such
  28. reconstruction, object identifiers, the endobj keyword, and the endstream keyword should appear at the
  29. start of a line. Also, the data within a stream should not contain a line beginning with the word endstream, aside from the required endstream that delimits the end of the stream.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement