AnnotMapping/Annot implementation incomplete

Bug #397850 reported by davidb
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppler Python Bindings
Fix Released
Undecided
Gian Mario Tagliaretti

Bug Description

I am trying to write a simple program to strip all annotations from a pdf and print them to the console. I was trying to do this in a way similar to the poppler library glib example. I tried:

self.current_page.get_annot_mapping()

However, this AnnotMapping object does not seem to provide anything useful. How do I access the Annot object itself? In the poppler library example, the AnnotMapping is a struct with an Annot object as one of its members. Am I doing something wrong or is the binding incomplete?

Revision history for this message
Gian Mario Tagliaretti (gianmt) wrote :

Probably the bindings are incomplete, the poppler docs on annot stuff are not built so it's kind of difficult to see if something is wrong without looking at the code.

I don't know if now the docs problem has been fixed, I will have a look at the code anyway.

Thanks for your bug report

Changed in poppler-python:
assignee: nobody → Gian Mario Tagliaretti (gianmt)
status: New → Fix Committed
Changed in poppler-python:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.