views:

451

answers:

2

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?

+1  A: 

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.

John Millikin
+1  A: 

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

BastiBense