Please provide all mandatory information!
Describe the bug (mandatory)
Exception raised when trying to delete a page (range) in a PDF, "AttributeError: 'Document' object has no attribute 'outline_xref'".
To Reproduce (mandatory)
Execute doc.deletePage(pno).
Expected behavior (optional)
Screenshots (optional)
Your configuration (mandatory)
Occurs in any v1.18.6 of PyMuPDF.
Additional context (optional)
As a hot fix for those who can access and change their installation, modify fitz.py according to the following diff file:
diff.txt