(self, name)
| 562 | return lookup(d0) |
| 563 | |
| 564 | def get_dest(self, name): |
| 565 | try: |
| 566 | # PDF-1.2 or later |
| 567 | obj = self.lookup_name('Dests', name) |
| 568 | except KeyError: |
| 569 | # PDF-1.1 or prior |
| 570 | if 'Dests' not in self.catalog: |
| 571 | raise PDFDestinationNotFound(name) |
| 572 | d0 = dict_value(self.catalog['Dests']) |
| 573 | if name not in d0: |
| 574 | raise PDFDestinationNotFound(name) |
| 575 | obj = d0[name] |
| 576 | return obj |
| 577 | |
| 578 | |
| 579 | ## PDFParser |
nothing calls this directly
no test coverage detected