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 […]
Category: jPDFWeb: Convert PDF To HTML5
Java PDF to SVG Converter – PDF to HTML Converter – PDF HTML5 Viewer
How to print a PDF document in the Browser 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 […]
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 […]
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 […]
Adding / Retaining hyperlinks in PDF to SVG / HTML Conversion
Q: When converting PDF to SVG, in the output HTML, we need to highlight specific words or phrases and add a clickable link on them. Is it possible to do so with jPDFWeb? A: At the moment, there is no way to add tags into the PDF that will then be carried into the HTML […]
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 […]
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 […]
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 […]
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 & […]
PDF to HTML5 / SVG Conversion with Transparency, Gradient & Masks Support
As of version v2016R2.04, Qoppa Software has improved support for transparency in Qoppa’s PDF Conversion from PDF to HTML5 / SVG. There are many sophisticated features defined in the PDF format specifications. Qoppa has been working on its PDF parsing and rendering engine for over 15 years to develop some of the most advanced PDF […]
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 […]
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 […]
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.
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 […]
How can I disable the “Download” button on the browser PDF viewer
Q: I want disable the “Download” and “Print” options in the browser when streaming PDF files. I do not want users to be able to print or download my PDF files. Is it possible to do so by using PDF encryption and permissions? A: There is no way to disable the download button on the […]
Multiple glyphs mapping to same unicode when converting PDF to HTML5
In a PDF document, it is possible to have different glyphs that map to the same Unicode character. In this case, you will see different characters when you read the PDF but if you select and extract the text, the underlying character is the same. Sometimes this is justified but most often this happens because […]
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)
Invalid characters in SVG output due to multiple glyphs mapping to same Unicode char
Q: When I convert my document from PDF to HTML / SVG, it seems that some of the ‘e’ characters have been replaced with another accented e. A: We looked into your PDF document and we noticed that there are two glyphs mapping to the same Unicode character (lowercase e): GID 65 -> e (e […]
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 […]
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. […]
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 […]
Is jPDFWeb included in jPDFProcess?
Q: Is jPDFWeb included in jPDFProcess? A: No, jPDFWeb is licensed separately from jPDFProcess.
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 […]
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 […]
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 […]
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 […]