MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / xref

Method xref

src/__init__.py:7873–7876  ·  view source on GitHub ↗

PDF xref number of page.

(self)

Source from the content-addressed store, hash-verified

7871
7872 @property
7873 def xref(self):
7874 """PDF xref number of page."""
7875 CheckParent(self)
7876 return self.parent.page_xref(self.number)
7877
7878 def xref_copy(doc: 'Document', source: int, target: int, *, keep: list = None) -> None:
7879 """Copy a PDF dictionary object to another one given their xref numbers.

Callers

nothing calls this directly

Calls 2

CheckParentFunction · 0.85
page_xrefMethod · 0.80

Tested by

no test coverage detected