• jPDFViewer

    jPDFViewer

    jPDFViewer

    Bean to embed in your Java applications and applets to view PDF documents.

    TRY LIVE DEMO

jPDFViewer FAQ

jPDFViewer FAQ

This is the list of frequently asked questions for jPDFViewer. If you don’t find the answer to your question, don’t hesitate to ask us at info@qoppa.com or visit our knowledge base.

Licensing Questions

What is your policy for annual support-renewal / upgrades?

When you purchase the library, 3 months of free support is included. This is normally enough to get the library integrated into your application and to work out any issues that may come up. Support includes answers to questions, priority bug fixes and free upgrades during the 3 month period.

Additionally, we also offer extended support renewable on a yearly basis. The extended support includes the same items as the initial 3 month support and is priced at 22% of the purchase price per year.

Is there an expiry date for the license?

There is no expiration on the license.

Technical Questions

What version of Acrobat PDF does jPDFViewer support?

jPDFViewer supports all PDF file versions up to 2.0, the latest version of the Acrobat PDF format.

What type of fonts does jPDFViewer support?

jPDFViewer supports all fonts supported by PDF. This includes Type 0 (CID Fonts), Type 1, Type1C, Type 3 and TrueType.

Does jPDFViewer support searching?

Yes, jPDFViewer supports text search and text selection / copy to clipboard.

Is the toolbar configurable? Can I hide or disable the buttons on the toolbar?

Yes, the toolbar is completely configurable. Either the whole toolbar can be made visible/invisible and each of the individual buttons can be accessed directly.

Assuming that your bean is called pdfViewerBean, to hide the toolbar:

pdfViewerBean.getToolbar().setVisible (false);

To hide the print button:

pdfViewerBean.getToolbar().getjbPrint().setVisible (false);

To hide the open button:

pdfViewerBean.getToolbar().getjbOpen().setVisible (false);

Please look at the jPDFViewer documentation for more details.

Can jPDFViewer be used in web application?

Yes, as jPDFViewer can be used inside a Java applet but browsers are discontinuing support for applets. We suggest you look at our Web PDF Reader & Annotator that comes with Qoppa’s PDF Automation Server instead. .

Does jPDFViewer have the ability to silent print, so I can send a PDF to a printer without having to preview it first?

You can do silent printing with jPDFViewer by simply not showing the PDFViewerBean in a form. However, you might want to look at another one of our products, jPDFPrint, that was designed specifically to do silent printing.

Is it possible to use jPDFViewer bean to render a PDF page into an Image or BufferedImage?

There is a method of the PDFViewerBean called getPageView that takes a page number as a parameter. You can use the returned PDFPageView object to paint into any Graphics object, including a graphics object from a BufferedImage. The code to export page 1 to an image would look something like:

PDFPageView pageView = viewerBean.getPageView (1);
if (pageView != null)
{
BufferedImage image = new BufferedImage (pageView.getWidth(), pageView.getHeight(), BufferedImage.TYPE_INT_ARGB);
pageView.paint(image.createGraphics());
}

where viewerBean is a reference to a PDFViewerBean object.

Does jPDFViewer support JPEG 2000 images?

Yes, JPEG 2000 images are supported.