pdf cross-reference table

All objects are then cross-reference table below:

xref

0 8

0000000000 65535f

0000000009 00000n

0000000074 00000n

0000000120 00000n

0000000179 00000n

0000000322 00000n

0000000415 00000n

0000000445 00000n

Description xref start a cross-reference table, the first row of the cross reference table 08 described object number described in the following row is started from 0, and there are eight objects.

0000000000 65535f, generally each PDF file is to cross the line to start the application list, indicating the start address of the object is 0 0000000000 produce number (generationnumber) 65535, is also the largest number produced, can no longer be changed, and the last representation of an object is f, indicating that the object is a free, here, we can see that, in fact, the object can be seen as a file header.

0000000009 00000n 1 is represented by the object, i.e. the object catalog, and its offset address is 0000000009, 00000 to generate 5 number (up to 65535), 0 indicating that the object is not modified, n-indicates that the object is in use, the difference between free objects can be changed.

The following lines I believe we could tell me the meaning.

Trailer

<< 

/Size 8

/Root 1 0 R

>> 

startxref

553

%%EOF

trailer

Description Start-file trailer object.

/ Size 8 describes the number of objects in the PDF file.

/ Root 1 0 R described object number 1 is the root object.

Startxref

553 illustrates a cross-reference table offset address, which can be found in the PDF document relative address all of the objects, and then access the object.

%% EOF is the end of the file.
----------------
Disclaimer: This article is CSDN blogger original article "peihp_", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement. .
Original link: https: //blog.csdn.net/P876643136/article/details/79449060

Guess you like

Origin www.cnblogs.com/hshy/p/12204011.html