Resolves an object. If this is an array or dictionary, it may still contains some indirect objects inside.
(x)
| 51 | |
| 52 | # resolve |
| 53 | def resolve1(x): |
| 54 | """Resolves an object. |
| 55 | |
| 56 | If this is an array or dictionary, it may still contains |
| 57 | some indirect objects inside. |
| 58 | """ |
| 59 | while isinstance(x, PDFObjRef): |
| 60 | x = x.resolve() |
| 61 | return x |
| 62 | |
| 63 | def resolve_all(x): |
| 64 | """Recursively resolves the given object and all the internals. |
no test coverage detected
searching dependent graphs…