Find new location after layouting a document.
(self, bm)
| 4677 | ) |
| 4678 | |
| 4679 | def find_bookmark(self, bm): |
| 4680 | """Find new location after layouting a document.""" |
| 4681 | if self.is_closed or self.is_encrypted: |
| 4682 | raise ValueError("document closed or encrypted") |
| 4683 | location = mupdf.fz_lookup_bookmark2( self.this, bm) |
| 4684 | return location.chapter, location.page |
| 4685 | |
| 4686 | def fullcopy_page(self, pno, to=-1): |
| 4687 | """Make a full page duplicate.""" |