• 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 »







  • QPDF::read_xrefTable ignores type 0 entries for objects in a section if an
    associates XRefStm has an entry for the same object.
    
    The spec states:
    
    When the conforming reader searches for an object, if an entry is not
    found in any given standard cross-reference section, the search shall
    proceed to a cross-reference stream specified by the XRefStm entry
    before looking in the previous cross-reference section,
    
    If a deleted entry is found in a section, the XRefStm is not searched
    according to the standard.
    m-holger authored
     
    Browse Dir »