[poppler] need documentation and guidance to develop pdf viewer on android

Brad Hards bradh at frogmouth.net
Fri Jul 1 16:45:13 PDT 2011


On Saturday 02 July 2011 00:03:29 Mohit Tanwar wrote:
> Second, I try to understand some code, and got to understand few things
> 1. TextOutputDev, use to search a text in the page(s). I made sample code
> and tested it.
If you have it working, what do you want to know?

> 2. I want to know about SplashOutputDev, because i found that it created
> SplashBitmap which contains images in the pdf.
Splash is a renderer designed to handle PDF. So the SplashOutputDev uses 
Splash to produce a raster image of the page. You can just use that image as 
an input to skia if you like

>     I need to know more about it, as i'm going to use "skia" 2D graphics
> library, and want to create AndroidPdfOutputDev extending OutputDev.
>     There are few methods like drawImage, drawChar,.....
I don't think there is any documentation beyond what is in the code. I'd look 
at the existing subclasses (e.g. splash, cairo and Qt based ones) and work 
from those.

Also: http://code.google.com/p/apdfviewer/

Brad


More information about the poppler mailing list