Question

Poppler is a classic example of something without documentation that you would prefer be documented. This question is language agnostic, just asking about the general idea.. In short, how do you make a PDF viewer control with poppler?
From what I can tell, you'd need to use poppler to render it to some surface, which sounds good up until you ask yourself how the user would select text and such. Does poppler offer a window for its various bindings, or do you have to code it all yourself?

Was it helpful?

Solution

You have to code it all yourself -- Poppler only handles the PDF part, you have to write the GUI. Look at the code to Evince for a good example.

OTHER TIPS

The poppler release downloads now contain a Qt4 wrapper and some examples that you can take a look at.

If you are making a app in GLib, then there is good documentation here. http://developer.gnome.org/poppler/unstable/index.html

If you can compile this documentations by doxygen, Just checkout the code. :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top