Retrieve the AcroForm dictionary form a PDF.
(doc)
| 3438 | clean_kid_parents(acro_fields) |
| 3439 | |
| 3440 | def get_acroform(doc): |
| 3441 | """Retrieve the AcroForm dictionary form a PDF.""" |
| 3442 | pdf = mupdf.pdf_document_from_fz_document(doc) |
| 3443 | # AcroForm (= central form field info) |
| 3444 | return mupdf.pdf_dict_getp(mupdf.pdf_trailer(pdf), "Root/AcroForm") |
| 3445 | |
| 3446 | tarpdf = mupdf.pdf_document_from_fz_document(tar) |
| 3447 | srcpdf = mupdf.pdf_document_from_fz_document(src) |
nothing calls this directly
no test coverage detected