Please choose a menu option

RSS feed? News:

01 Mar 10 Version 4.01 build 15 released Turn pages from all corners, First implemetation of Java3D, Linearized PDF detection and more ...

04 Feb 10 Major new version New look, new page turning mode, enhanced search, code tidy up and much more...

15 Jan 10 Version 3.92 build 40 released Improvements to PageFlow mode and bug fixes for client issues. More Info...

8 Dec 09 Version 3.91 build 80 released Speed enhancements to image printing, optimisations for PDFs reusing XObjects and general improvements. More Info...

20 Nov 09 Version 3.91 build 60 released Enhancements to PageFlow mode, Applet regression fixed and improvements to non embedded text rendering. Read More ...

05 Nov 09 Version 3.91 build 15 released Enhancements to PageFlow viewing mode including reflection effect, improvements to Viewer configuration and general bug fixes. Read More ...

23 Sep 09 PDF Java Ebook Solution IDRsolutions is pleased to announce a new free service which embeds PDF's inside our viewer. A must for e-book authors and distributors. Read More ...

JPedal Key Classes

This article describes the key classes in JPedal and their purpose. Click here for the javadocs and other useful articles. Here are some of the key classes if you are looking to explore JPedal further.

SimpleViewer/MultiViewer

These classes implement all the functionality of the JPedal library to provide complete, totally configurable Viewers. They can be run standalone (as applets of applications) or embedded in your code. Click here for lots of tutorials on configuration.

PdfDecoder (PdfPanel)

PdfDecoder is the main class used to create an instance of the PDF which can be opened, displayed, etc. It actually extends PdfPanel which extends JPanel to provide a Swing component which can open, decode, display, print and rasterize. GUI code is in PdfPanel and 'business' logic is in PdfDecoder wherever possible but the user can think of it as just a PdfDecoder class.

All the examples build on PdfDecoder to provide higher level specific functionality (ie rasterizer, viewer, print engine). Click here for a full list of examples with sample code and documentation.

PdfStreamDecoder

PdfDecoder uses this class to parse the page data, converting it into extracted content. It also creates a DynamicVectorRenderer object which can render the PDF page onto any Graphics2D object (providing viewing, rasterizing, printing capabilities).

DynamicVectorRenderer

A decoded page is stored in a DynamicVectorRenderer object. This uses Java2D to produce a display of the page. It can also draw additional content over the page. PdfDecoder uses this instance to paint the page for display purposes.

PdfObject/PdfDictionary

A PDF file consists of a large number of objects. These are read into a PdfObject (or a more specific class such as FormObject, PageObject). For speed, all the Dictionary keys found in a PDF dictionary are defined as unique constants.

 

PDF viewer


PDF viewer