Check if xref is a form xobject.
(self, xref)
| 8003 | return bool(mupdf.pdf_obj_num_is_stream(pdf, xref)) |
| 8004 | |
| 8005 | def xref_is_xobject(self, xref): |
| 8006 | """Check if xref is a form xobject.""" |
| 8007 | if self.is_closed or self.is_encrypted: |
| 8008 | raise ValueError("document closed or encrypted") |
| 8009 | if self.xref_get_key(xref, "Subtype")[1] == "/Form": |
| 8010 | return True |
| 8011 | return False |
| 8012 | |
| 8013 | def xref_length(self): |
| 8014 | """Get length of xref table.""" |
nothing calls this directly
no test coverage detected