Self-hosted Web Document Viewer to Display PDF, Word, Excel

Do you need to create your own self-hosted document viewer? Does your company handle confidential documents? Do you need to keep control of your documents? Do you need to be able to access your own document storage or database? Do you need to render PDF documents and Microsoft Office documents in the browser on all […]

Read More

How to print a PDF document from a Web application

Q: We have a Web application that needs to print PDF documents from the browser without downloading them. What Qoppa product should we be looking at? A: You can use our Java library called jPDFWeb on your server to convert PDF documents into HTML. The HTML can then be printed on the client using any […]

Read More

Create, Merge and Convert PDF documents with Mule in an automated Worklow

Qoppa’s Java PDF libraries can be used within Mule ESB to automate PDF document processes within a workflow. PDF files can be transmitted as an input stream to any of our Java libraries. Follow the detailed steps showing how to integrate Qoppa’s PDF library jPDFProcess within a Mule flow. The following PDF functions available in […]

Read More

Different options to render and markup PDFs on Android and iOS

Q: What are the options to display / render PDF documents in Android using Qoppa’s PDF products? A: You may use a few of our products: PDF Automation Server: This is an easy to install server that can run on your web-server to convert PDF documents to HTML5 and serve them to any browser on […]

Read More

Pure PDF to HTML conversion versus PDF to SVG

Q: It seems that jPDFWEb is converting from PDF to SVG format and when choosing to save as HTML, jPDFWeb simply writes an HTML wrapper around the converted SVG format. Can jPDFWeb convert PDF documents directly to HTML without the use of SVG? jPDFWeb can not convert PDF to pure HTML commands. It has to […]

Read More

Setting relative size when converting PDF to SVG

As of v2016R2.05 of jPDFWeb, when converting a page to SVG, there are multiple zoom / sizing options for the output SVG file. These options determine how the SVG element will fit into a parent container: Normal zoom mode (this is the default mode) means that the scale remains the same when the viewer is […]

Read More

Convert PDF to HTML from PHP

To integrate Qoppa’s PDF library jPDFWeb with PHP, the simplest approach is to create a small command line application in Java that makes the appropriate calls to jPDFWeb, and then to call that application from your PHP scripts. Here is a sample command line interface (CLI) application on our website here: PDFWebCLI.java – The main […]

Read More

Authentic Vector PDF to HTML5 / SVG Conversion

Qoppa Software’s PDF to HTML conversion, which is available in the form of a Java library (jPDFWeb) as well as an HTML PDF Viewer and Markup Module, offers “real” PDF to HTML5 conversion in the sense that it converts all the objects contained in the PDF documents: Text Objects Image Objects PDF Path Objects & […]

Read More

Convert a PDF document to a single HTML page

Q: Is it possible with jPDFWeb to convert a whole PDF document to single HTML output file? A: Yes, Qoppa’s Java PDF library, jPDFWeb, can export each page of a PDF document as an SVG element. It is then simple to add HTML header and tags around all the SVG elements to make it a […]

Read More

Draw digital signature validation status when converting PDF to HTML

As of v2016R2, Qoppa’s library jPDFWeb and the derived HTML PDF viewers built on top of jPDFWeb will display digital signatures validation status contained in the original PDF document in the output / rendered HTML files. The signature validation is done on the server side using the Java trusted certificate authorities or your own trusted […]

Read More

jPDFWeb Java API

Q: Where can I find jPDFWeb javadoc API? A: You can find the API specification for the latest version of our library jPDFWeb on our website at this link. jPDFWeb is a java library to create HTML5 files / SVG from PDF documents.

Read More

How to log unsupported features when converting PDF to SVG with jPDFWeb

In version v2016R2, we’ve added system properties to log unsupported features when converting PDF documents to SVG with jPDFWeb. New System Properties The system properties / vm options to turn off logging of unsupported features are: // turn on low level logging unsupported features -Dqoppa.jpdfweb.unsupported=true // turn on fine level logging of unsupported features -Dqoppa.jpdfweb.unsupported.fine=true […]

Read More

Sample servlets to work with jPDFWeb

Here is the source code of a few sample servlets that we created to work with jPDFWeb, to upload PDFs to the server, convert PDF documents to HTML on the server and then serve the HTML back to the client browser. Download rar file containing sample servlets (includes source code)

Read More

Unsupported features in converting PDF to SVG / HTML5

This is the current list of unsupported features in jPDFWeb as of version v2017R1: Pattern fills (Gradient fills ARE supported) Blend modes Using text as clipping path Type 3 fonts ICC color correction (Note: This can be expressed in SVG, but no browsers support it today…) No “synthesizing” of space characters between text that is […]

Read More

LittleCMS “Cannot get color transform” with Java 8

When processing images with embedded color profiles (ICC) in Java, there is a bug that causes colors to be interpreted incorrectly when running with Java 8 (and some versions of OpenJDK7) . This issue is occurring because the color management module (CMM) was switched from Sun/Kodak’s legacy CMM to the more up-to-date and open-source LittleCMS in Java 8. […]

Read More

How To Integrate / Deploy an HTML5 PDF Viewer on your Web Application Server

This knowledge base entry is detailing the technical steps to integrate an HTML5 viewer on your website and web application server using  Qoppa’s library jPDFWeb. Before getting into technical details, we recommend that you read our knowledge base entry Understanding how a zero footprint HTML5 viewer works, a good introduction to what is being done […]

Read More

Annotations, Links and Form Fields Supported in PDF to SVG Conversion

Q: Does jPDFWeb renders annotations and form fields when converting PDF documents to SVG / HTML5? A: Yes, jPDFWeb will render the following annotations / widgets. Graphical Annotations All types of graphical annotations defined by the PDF specifications are supported: square, circle, pencil, polygon, polyline, cloud, etc… Text Annotations Sticky notes, typewriter, text box and […]

Read More

Integrating a Web PDF Viewer: HTML5 or Applet?

Compare the pros and cons of using HTML5  versus an applet to display / view PDF documents online, in the browser: HTML5 PDF Viewer HTML5 PDF Markup Module Applet PDF Viewer Client Installation No client installation needed “zero footprint” HTML-based No client installation needed “zero footprint” HTML and JavaScript Java plugin needed (comes installed on […]

Read More

How fonts are preserved when converting from PDF to SVG

When converting PDF documents to SVG, jPDFWeb will try and preserve fonts using the following logic: Embedded fonts Any embedded font present in the PDF document will be extracted and embedded in the ouput SVG files as WAF fonts. Any of the 14 standard PDF fonts For any of the 14 standard fonts referred by […]

Read More

Understanding how a zero footprint HTML5 PDF viewer works

This knowledge base entry explains: What a zero footprint HTML5 PDF viewer is What the advantage of converting from PDF to SVG are in order to publish PDFs How you can use Qoppa’s jPDFWeb, a Java library to convert PDFs to SVG to create such a viewer Zero Footprint PDF Viewer Zero footprint is used […]

Read More