Documentation on how to work with PDFs?
-
Hello everyone:
I am writing an app that will be used to modify PDF documents. so part of the project is to be able to view a pdf. So far I've been able to open, close, zoom, page forward, back, i kinda have a zoom to area worked out, but what is hindering my progress is there is no "how to" on how to use QPdfView. The documentation only explains what each function does (barely), but no where can I find how it all comes together. For exampe, the QPdfNavigator class has a "jump" function that takes a location and a zoom factor; the QPdfView class also has a setZoom function. How are these used? Why two ways? Does setting the zoom factor in jump change the zoom (my tests say no)?
There's a very basic example of a pdf viewer for download, but it really doesn't do much. All the bones to work with a pdf are there, but it's not obvious how to use them. I wish someone put together some kind of in depth tutorial. Whoever wrote the QPdfView package must know how it's used...
Dan