MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / find_bookmark

Method find_bookmark

src/__init__.py:4679–4684  ·  view source on GitHub ↗

Find new location after layouting a document.

(self, bm)

Source from the content-addressed store, hash-verified

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."""

Callers 1

test_layoutFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_layoutFunction · 0.64