objectsBefore property

int objectsBefore
final

Indirect objects in use that the cross-reference table of the source knew about.

It is the count of the current revision: objects replaced by later revisions do not show up here, even though they still take up bytes in the file. In a document whose xref needed repair, the number reflects only what the scan managed to index, and can end up smaller than objectsAfter.

Implementation

final int objectsBefore;