Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Add Cloning #1371

Merged
merged 116 commits into from Dec 11, 2022
Merged

ENH: Add Cloning #1371

merged 116 commits into from Dec 11, 2022

Commits on Sep 27, 2022

  1. Add Cloning capability

    add cloning capability
    includes:
    * add clone function
    * new  API for add_page/insert_page that returns the cloned page object
    * close file when a file name is provided to PdfWriter.write
    pubpub-zz committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    7d2a74b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    661b6bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6ac1e2 View commit details
    Browse the repository at this point in the history
  4. BUG : write reuse

    pubpub-zz committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    f9d7d19 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. cloning, part2

    w.merge and w.append
    pubpub-zz committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    2c78419 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2022

  1. cloning part3

    pubpub-zz committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    54abc77 View commit details
    Browse the repository at this point in the history
  2. Fix flake8+ "/Count"

    pubpub-zz committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    0506ae4 View commit details
    Browse the repository at this point in the history
  3. flake8

    pubpub-zz committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    bd0c855 View commit details
    Browse the repository at this point in the history
  4. Flake 8

    pubpub-zz committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    ffc8e53 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Sort DestNames + add page cleanup for annots

    to be iaw PDF Spec
    
    add page clean up for destination in NameObject that are not matching TextStringObject in Names/Dests
    pubpub-zz committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    a66bcc2 View commit details
    Browse the repository at this point in the history
  2. flake8

    pubpub-zz committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    90c95b7 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. mypy 1/n

    pubpub-zz committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    52e8bcd View commit details
    Browse the repository at this point in the history
  2. add test for iis py-pdf#471

    pubpub-zz committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    1e55376 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. flake8

    pubpub-zz committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    506f35e View commit details
    Browse the repository at this point in the history
  2. mypy

    pubpub-zz committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    2abe7e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. mypy

    pubpub-zz committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    6ee6859 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39e4f9f View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2022

  1. B006 fix 1

    pubpub-zz committed Oct 15, 2022
    Configuration menu
    Copy the full SHA
    9bdde0f View commit details
    Browse the repository at this point in the history
  2. B006 fix 2

    pubpub-zz committed Oct 15, 2022
    Configuration menu
    Copy the full SHA
    803becb View commit details
    Browse the repository at this point in the history
  3. mypy

    pubpub-zz committed Oct 15, 2022
    Configuration menu
    Copy the full SHA
    1727985 View commit details
    Browse the repository at this point in the history
  4. mypy

    pubpub-zz committed Oct 15, 2022
    Configuration menu
    Copy the full SHA
    f498373 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2022

  1. Martin's recommendation

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    1c60786 View commit details
    Browse the repository at this point in the history
  2. Martin's recommendation

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    198ada8 View commit details
    Browse the repository at this point in the history
  3. Update PyPDF2/generic/_data_structures.py

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    f0fdd4a View commit details
    Browse the repository at this point in the history
  4. Martin's suggestion

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    e56555d View commit details
    Browse the repository at this point in the history
  5. Martin's suggestion

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    b3f33f1 View commit details
    Browse the repository at this point in the history
  6. Martin's suggestion

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    6d6094c View commit details
    Browse the repository at this point in the history
  7. Martin's suggestion

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    1793218 View commit details
    Browse the repository at this point in the history
  8. Martin's suggestion

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    83a3fea View commit details
    Browse the repository at this point in the history
  9. Martin's suggestion

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    4e3478b View commit details
    Browse the repository at this point in the history
  10. Martin's suggestion

    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    9b756a9 View commit details
    Browse the repository at this point in the history
  11. fix xylopaint

    pubpub-zz committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    a9449a6 View commit details
    Browse the repository at this point in the history
  12. doc

    pubpub-zz committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    e32f3de View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. add Annotation cloning

    pubpub-zz committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    73fe215 View commit details
    Browse the repository at this point in the history
  2. mypy

    pubpub-zz committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    ee1a333 View commit details
    Browse the repository at this point in the history
  3. flake8

    pubpub-zz committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    1024177 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. add tests in test_reader

    pubpub-zz committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    0994df0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6c4745 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Configuration menu
    Copy the full SHA
    da2fe09 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. clone articles

    pubpub-zz committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    9c06495 View commit details
    Browse the repository at this point in the history
  2. flake8

    pubpub-zz committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    dd56dc1 View commit details
    Browse the repository at this point in the history
  3. mypy

    pubpub-zz committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    1aa8d48 View commit details
    Browse the repository at this point in the history
  4. mypy

    pubpub-zz committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    9dde5c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2022

  1. clean up

    pubpub-zz committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    4edaa08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5daa82a View commit details
    Browse the repository at this point in the history
  3. create PdfWriterInterface to prevent recursive import

    includes also reactivation of test_extract_text_hello_world as py-pdf#591 is closed
    pubpub-zz committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    d6efb16 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e80d602 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2022

  1. indirect_ref annotation

    pubpub-zz committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    223eb92 View commit details
    Browse the repository at this point in the history
  2. clarify annotation

    pubpub-zz committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    505b32a View commit details
    Browse the repository at this point in the history
  3. fix test_outline_missing_title

    for non strict, the test shall return no errors and return an empty title consistant with Acrobat Reader
    pubpub-zz committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    592946f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    edcd132 View commit details
    Browse the repository at this point in the history
  5. flake8

    pubpub-zz committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    5b85816 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2022

  1. /Annots and /B exclusions +

    includes also some comments
    pubpub-zz committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    0aef276 View commit details
    Browse the repository at this point in the history
  2. add reset_translation

    pubpub-zz committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    5260fa8 View commit details
    Browse the repository at this point in the history
  3. doc

    pubpub-zz committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    14f5d86 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    87eb2f2 View commit details
    Browse the repository at this point in the history
  5. flake8

    pubpub-zz committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    1eec0d6 View commit details
    Browse the repository at this point in the history
  6. mypy

    pubpub-zz committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    13b7a8a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0c70ab3 View commit details
    Browse the repository at this point in the history
  8. test improved

    pubpub-zz committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    064b461 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. Configuration menu
    Copy the full SHA
    c5169dc View commit details
    Browse the repository at this point in the history
  2. flake8

    pubpub-zz committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    aad410b View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. mypy

    pubpub-zz committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    5eca56f View commit details
    Browse the repository at this point in the history
  2. mypy 2

    pubpub-zz committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    deb4ec9 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2022

  1. Rewriting using Protocols

    includes also reintroduction of py-pdf#1303 wrongly cancelled in py-pdf#1309
    pubpub-zz committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    e1c3ed3 View commit details
    Browse the repository at this point in the history
  2. flake8

    pubpub-zz committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    863d140 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2022

  1. update iaw comments

    pubpub-zz committed Nov 27, 2022
    Configuration menu
    Copy the full SHA
    87ff49b View commit details
    Browse the repository at this point in the history
  2. Merge from Main

    pubpub-zz committed Nov 27, 2022
    Configuration menu
    Copy the full SHA
    3029536 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. report test added

    pubpub-zz committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    a05b7ed View commit details
    Browse the repository at this point in the history
  2. flake8

    pubpub-zz committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    2a26772 View commit details
    Browse the repository at this point in the history
  3. fix test

    pubpub-zz committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    3f21862 View commit details
    Browse the repository at this point in the history
  4. line reintroduced

    pubpub-zz committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    e8b4929 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. Configuration menu
    Copy the full SHA
    4ccfbff View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2022

  1. Configuration menu
    Copy the full SHA
    ef799af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b03b34 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0b86b4f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    73326a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bacaef0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e0cda7b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    172ac7b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c34daa2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d6ac98f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    42fe44f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e107b37 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    fdd6742 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1f3ce70 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d667d18 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6952ae2 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5be40fe View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4367c35 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    dad3a33 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    8a90794 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    bfb19ff View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    f6a1208 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    e7970c5 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    499c217 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f66df12 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    239ce02 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    7dd34e1 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    71dd89d View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    2dcfe27 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    f4b8d00 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    396ba11 View commit details
    Browse the repository at this point in the history
  31. Update PyPDF2/_writer.py

    MartinThoma committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    78c1731 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    2896a4c View commit details
    Browse the repository at this point in the history
  33. Update PyPDF2/_writer.py

    MartinThoma committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    82c6f56 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    c579403 View commit details
    Browse the repository at this point in the history
  35. Update PyPDF2/_writer.py

    MartinThoma committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    89761aa View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2022

  1. Configuration menu
    Copy the full SHA
    25d6a7e View commit details
    Browse the repository at this point in the history
  2. Update PyPDF2/_writer.py

    MartinThoma committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    bb5022a View commit details
    Browse the repository at this point in the history
  3. Update PyPDF2/_writer.py

    MartinThoma committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    dfcef5b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a1dd2a9 View commit details
    Browse the repository at this point in the history
  5. Update PyPDF2/_writer.py

    MartinThoma committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    222ef91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bf590a0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5513fa1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    afebcab View commit details
    Browse the repository at this point in the history