• - Introduced a `validate()` method in `QPDFNameTreeObjectHelper`, `QPDFNumberTreeObjectHelper`, and `NNTreeImpl`.
    - Ensure proper validation of tree keys and values, detecting invalid entries, unsorted keys, and inconsistencies.
    - Added support for auto-repair in case of validation errors.
    m-holger authored
     
    Browse File »

  • - Introduced `std::function<bool(QPDFObjectHandle const&)>` to validate tree values.
    - Updated constructors and methods across `QPDFNameTreeObjectHelper` and `QPDFNumberTreeObjectHelper` to support value validation.
    - Refactored `NNTreeImpl` to check for invalid values during insertion, iteration, and retrieval.
    - Improved error handling and reporting for invalid values.
    m-holger authored
     
    Browse File »