• 1. Make class final
    2. Pass og parameter by value
    3. Properly initialize qpdf and og
    
    Also, tweak QPDF::replaceObject to allow stream replacement without
    violating the requirement that streams must always be indirect objects.
    
    Also, remove QPDF::reserveStream as it does not do what the name implies
    and having this as a separate methods does not aid code readability.
    m-holger authored
     
    Browse Dir »



  • Create unresolved objects only for objects in the xref table (except during
    parsing of the xref table). Do not add indirect nulls into the the object
    cache as the result of a cache miss during a call to getObject except
    during parsing or creation/updating from JSON. To support this behaviour,
    add new private methods getObjectForParser and getObjectForJSON.
    
    As a result of this change, dangling references are treated as direct nulls
    rather than indirect nulls.
    m-holger authored
     
    Browse Dir »