Retrieve a list of XObjects used on a page.
(self, pno: int)
| 5169 | return doc[pno].get_text(option, clip=clip, flags=flags, sort=sort) |
| 5170 | |
| 5171 | def get_page_xobjects(self, pno: int) -> list: |
| 5172 | """Retrieve a list of XObjects used on a page. |
| 5173 | """ |
| 5174 | if self.is_closed or self.is_encrypted: |
| 5175 | raise ValueError("document closed or encrypted") |
| 5176 | if not self.is_pdf: |
| 5177 | return () |
| 5178 | val = self._getPageInfo(pno, 3) |
| 5179 | return val |
| 5180 | |
| 5181 | def get_sigflags(self): |
| 5182 | """Get the /SigFlags value.""" |
no test coverage detected