Invalid CMAP name when rendering or printing a PDF page

Q: When opening a PDF file, I get the following error: A: You are missing cmaps.jar in your classpath which contains CMaps, used to read and display character encodings used with CJK (Chinese, Japanese, Korean) content. Download cmaps.jar   This error can happen when rendering PDF documents in Qoppa’s PDF components (jPDFViewer, jPDFNotes, jPDFEditor) or […]

Read More

Getting interactive field location information (bounds and page number)

To get PDF interactive form fields location information (including signature fields) such as dimension and page number, you will need to access the widget which is the visual representation of the field on the page. When using Qoppa’s PDF components (jPDFViewer, jPDFNotes, jPDFEditor), you can get information from the editing component. // get Acroform AcroForm […]

Read More

How to type µ mu in PDF interactive text fields and text annotations

Q: Is it possible to insert character “µ” in any form text field or text annotations using Qoppa’s PDF components? A: Qoppa’s PDF engine support inserting “micro”, but not “mu” which are 2 characters that look the same visually. “micro” is Unicode 00B5 and “mu” is Unicode 03BC. This is a bit of an issue […]

Read More

How to hide the validation icon on signed digital signature fields

Q: Is there a way to turn off digital signature validity when rendering a PDF page in Qoppa’s PDF components and libraries? Our application will perform our own internal signature validation. A: Yes, it is possible by simply making a call to the following static method (before loading the signed PDF): PDFRenderHints.setRenderSignatureVerification(false);PDFRenderHints.setRenderSignatureVerification(false); This method sets […]

Read More

Changing the PDF document pane background in Qoppa PDF components

Q: How can I change the main document pane background, where one can view and navigate through the PDF pages, in Qoppa’s PDF components jPDFViewer, jPDFNotes or jPDFEditor? A: This is how you can change the main pane background: pdfNotesBean.getRootPane().getContentPane().setBackground(Color.darkGray);pdfNotesBean.getRootPane().getContentPane().setBackground(Color.darkGray);

Read More

Dragging PDF and image files into Qoppa’s PDF Component

You can add a DropTargetListener to your application or frame in order to listen to PDF files being dropped and then have the files be opened in Qoppa’s PDF component (jPDFViewer, jPDFNotes, jPDFEditor). We have implemented this feature in our sample demo applications so you can download our demo to try and then look into […]

Read More

Fast web view when streaming large linearized PDFs

Q: Are Qoppa products able to load large PDF documents that are linearized efficiently ver the web in order to render them fast into Qoppa’s PDF components? A: We’re almost done implementing this feature which will make it much faster to be able to display the first page of large linearized PDFs when streaming them […]

Read More

Keys events in Qoppa’s PDF components

Qoppa PDF components are implementing KeyListener and listening to key events redirected by the application. They handle key events such as Page Up, Page Down, End, Home, Escape, Up, Down, Right and Left. Read more about keyboard shortcuts in the components user guide: Using the keyboard to navigate Using CTRL + V key on the […]

Read More

Changing thumbnail panel background

Sample code to change Thumbnail / Pages Panel background color. You need to get the thumbnail list from the thumbnail panel and set the background color on the list. PDFNotesBean = new PDFNotesBean(); pdfNotes.getThumbnailPanel().getThumbList().setBackground(Color.red);PDFNotesBean = new PDFNotesBean(); pdfNotes.getThumbnailPanel().getThumbList().setBackground(Color.red);

Read More

Support multiple entries / layers in signature appearance stream

Multiple Layers in Digital Signatures Following an old format, digital signature field will sometimes define an appearance containing multiple entries / layers to be turned on or off based on the signature validity by the application at display time: n0: Background layer. n1: Validity layer, used for the unknown and valid state; contains, for instance, […]

Read More

Changing default annotation tool settings and behavior

Q: How can we change the default color of a text annotation? It’s always red. A: There is a package called com.qoppa.pdfNotes.settings that contains classes allowing to change the default behavior of all our annotations tools. So for instance, to set the default color for the free text annotation (also called typewriter annotation), you would […]

Read More

Integrating a PDF viewing component into JavaFX application

Below is a sample code to integrate our PDF viewing, annotating and form filling component, jPDFNotesBean, into a JavaFX application. This sample can be adapted to integrate our PDF Viewing-Only component jPDFViewerBean or our advanced PDF editing component jPDFEditorBean by simply replacing PDFNotesBean with PDFViewerBean or PDFEDitorBean in the code below. This sample shows 2 […]

Read More

Streaming efficiently a PDF document from a URL for viewing

Q: Do Qoppa’s PDF components (jPDFViewer, jPDFNotes, jPDFEditor) support reading linearized PDF documents in an efficient way or is there another way to load PDF documents on demand for viewing from a web server? A: We are in the process of implementing the loading PDF documents in a way that takes advantage of the linearization […]

Read More

jPDFNotes v2015R2 Build Notes and Download

v2015R2 Download Links v2015R2.07 – November 30 2016 JPDF-908 – Annotation imported with rich text does not export changes Change JAR signing timestamp server v2015R2.06 – November 17 2016 JPDF-906 – Issues with Import / Export XFDF due to resulting in sometimes importing content that was only from the last paragraph <p> element. JPDF-853 – […]

Read More

Qoppa New Print Dialog

In version v2015R2, Qoppa added a custom print dialog much more powerful than the default Java print dialog. This new dialog is set as the default print dialog in jPDFViewer, jPDFNotes, jPDFEditor, jPDFPrint, jPDFProcess. The new enhanced print dialog includes many new features such Print Preview, Print Current View, Enhanced Page Range Options, and Print […]

Read More

Spell Check in PDF Annotations and Form Fields using jOrtho

Version v2015R2 added a spell checker to Qoppa’s PDF components jPDFNotes and jPDFEditor. jOrtho Plugin and Licensing Qoppa Software has modified the jOrtho source to work with some of the custom components in PDFNotesBean / PDFEditorBean. jOrtho is a commercial library developed by Inet Software that requires licensing. I-net Software is offering a special discount […]

Read More

Adding Undo / Redo functionality with shortcut keys to Qoppa’s PDF components

Q: How can I add Undo and Redo functionality to Qoppa’s PDF components jPDFNotes, jPDFEditor? The class that provides undo/redo functionality is the UndoManager. PDFNotesBean provides an implementation which can be referenced with: PDFNotesBean.getUndoManager() PDFNotesBean.getUndoManager() The methods which trigger an undo and redo, are respectively: UndoManager.undo(); UndoManager.redo();UndoManager.undo(); UndoManager.redo(); Add Undo / Redo in a Menu […]

Read More

LiveCycle Dynamic XFA Forms Support in Qoppa’s PDF Library

LiveCycle XFA forms are complex and uncommon PDF forms that are designed to be rendered dynamically from the drawing and layout information present in the XFA definition. This kind of forms are not widely supported and only a couple of vendors are able to render them. Adobe has moved away from dynamic XFA forms and […]

Read More

Customizing the signing process in jPDFNotes and jPDFEditor

Q: Is it possible to change the workflow of the signing process in jPDFNotes? A: Yes, you can customize the signature process.  What you are seeing right now is the default implementation of signing a field, which works from a file and prompts the end user to save the file right after signing.  However, you […]

Read More

jPDFNotes component to implement a PDF workflow review cycle

Q: The way we have implemented jPDFNotes the document is passed around a number of reviewers on a “workflow”. Each reviewer can add notes. Is it possible to “lock up” previous markups, so that new markup data can be added but previous markup data can not be modified? A: Yes it can be done, but […]

Read More

Compare two PDF documents side by side with loupe

Q: Can jPDFNotes, Qoppa’s Java PDF markup component, be used to compare 2 PDF documents side by side? Our customers are architectural and engineering professionals who need to examine small details in a blueprints and drawings. A: Qoppa’s jPDFNotes comes with a side by side comparison component which lets you compare 2 PDF documents in […]

Read More

Exporting and Merging PDF annotations in FDF and XFDF format

By default, jPDFNotes saves annotations within the PDF document. Qoppa’s PDF tools are fully compliant with the PDF format specs, so all annotations created by jPDFNotes are usable by other PDF applications (such as Adobe Reader), and vice-versa. The PDF format also defines two other file formats to store annotations separate from the PDF document, they […]

Read More

jPDFNotes Localization Languages

jPDFNotes comes in 5 languages: English, French, German, Italian, Spanish. jPDFNotes being built on top of our viewer-only component jPDFViewer, the localization for jPDFNotes works the same as for jPDFViewer. See our entry in the jPDFViewer knowledge base. The only differences is that there are 2 files to localize: ViewerLabels.properties AND NotesLabels.properties. The label files can be […]

Read More