Here is a sample Java program showing how to remove all link annotations present in a PDF document using Qoppa’s PDF library jPDFProcess: // Load PDF document PDFDocument pdfDoc = new PDFDocument ("C:\\myfolder\\input.pdf", null); int pageCount = pdfDoc.getPageCount(); // loop through pages for (int i = 0; i < pageCount; i++) { try { PDFPage […]
Articles Tagged: links
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 […]
Search text in a PDF and add hyperlinks on top of the text found
This Java sample shows how to search text in a PDF document and add link annotations (that go to a specific URL) on top of the text occurrences found. This sample uses Qoppa’s PDF library jPDFProcess. // Load the document PDFDocument pdfDoc = new PDFDocument ("C:\\myfolder\\input.pdf", null); // this is my search label that […]
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 […]