It specifies the number of objects in the table, object point of origin and its byte length. The xref table has all the indicators to the objects in the file. The body holds all the object data such as fonts, words, images and so on.
The header consists of one line of code that categorizes the version of PDF. The common structure of a PDF file comprises of the following code modules: header, body, xref table and trailer. PDF file structureĪ PDF document comprises of eight types of objects. It was initially a proprietary file format however PDF has been available as an open format from 2008 and adheres to the ISO/IEC 3200-1:2008 standard. It was first introduced in 1993 and is capable of capturing content and formatting information from any document irrespective of the hardware and operating system platform. Portable Document Format (PDF) is a type of file format developed by Adobe Systems.