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

ROB: Accept DictionaryObject in /D of NamedDestination #1720

Merged
merged 1 commit into from
Mar 18, 2023

Conversation

pubpub-zz
Copy link
Collaborator

@pubpub-zz pubpub-zz commented Mar 15, 2023

accepts destination stored in "/D" of a dictionaryObject in accordance with §2 page 584

fixes #1710

in accordance with §2 page 584

fixes py-pdf#1710
@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (9878034) 92.50% compared to head (361db54) 92.50%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1720   +/-   ##
=======================================
  Coverage   92.50%   92.50%           
=======================================
  Files          34       34           
  Lines        6512     6514    +2     
  Branches     1286     1287    +1     
=======================================
+ Hits         6024     6026    +2     
  Misses        316      316           
  Partials      172      172           
Impacted Files Coverage Δ
pypdf/_reader.py 91.19% <100.00%> (+0.01%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MartinThoma MartinThoma changed the title ROB : accepts DestNames stored in dictionnary ROB: Accept DictionaryObject in /D of NamedDestination Mar 17, 2023
@MartinThoma
Copy link
Member

@pubpub-zz That was the PR where I was wondering ... is it mine? 😄

@pubpub-zz
Copy link
Collaborator Author

It's all yours 🤣

@MartinThoma MartinThoma merged commit d5ac6ac into py-pdf:main Mar 18, 2023
MartinThoma added a commit that referenced this pull request Mar 18, 2023
New Features (ENH)
-  Extend PdfWriter.append() to PageObjects (#1704)
-  Support qualified names in update_page_form_field_values (#1695)

Robustness (ROB)
-  Tolerate streams without length field (#1717)
-  Accept DictionaryObject in /D of NamedDestination (#1720)
-  Widths def in cmap calls IndirectObject (#1719)
@pubpub-zz pubpub-zz deleted the iss1710 branch June 24, 2023 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"TypeError: unhashable type: 'slice'" when running PdfReader().outline
2 participants