A simple xref rebuilding parser.
The parser reads lines in the document and looks if the line begins with a
object definition, which looks like: number number "obj". Every object
definition found is added as a XRefEntry to the STDocument.
False object definitions can be read and they can cause a problem, if a
real object with the same object number is read after the false one.
On the other side: the document was already broke before this parser was
called.
|