Posts tagged pdf

ADF 11g : Show PDF in a Popup

In one of my previous posts I showed how to use ADF popup components to display external content such as webpages like wikipedia in an inline frame. Based on this post a colleague of mine tried to display a PDF document. That didn’t work. In this post I explain how you can use a servlet to open a PDF document in the inline frame. I will not explain how to invoke popups. If you need to know how to do that, refer to the post mentioned earlier Read the rest of this entry »

Convert PDF or Images through Optical Character Recognition to text (in Google Docs)

In the email that informed me that in a few months time my Google Groups will no longer be supported or even available (ouch, that hurts) – I noticed a link that took me to a page on Google Docs that suggested that files can be uploaded to Google Docs that through OCR (Optical Character Regocnition) can be scanned and converted into text. That certainly is an interesting feature – one that deserves a trial run.

I captured a screenshot, saved it as PNG file and uploaded it to Google Docs with this ‘process through OCR’ checkbox turned on. The results? Pretty good. Next would be a test with a hand-written document.

Read the rest of this entry »

AS_PDF, generating a PDF-document with some plsql

I’ve written a small package (1500 lines). But with this package you can generate a PDF-document with a few lines of PL/SQL code. It’s small because it lacks some functionality. It can only use the standard PDF fonts, and that means that it can only use the WINDOWS-1252 encoding/characterset. But besides that it’s fairly complete.
Read the rest of this entry »

Java: Generating PDF and Previewing it as an Image – iText and PDF Renderer

Inspired by a blog article by Edwin Biemond, I decided to try it out myself: previewing an PDF document in an image. However, Edwin used jPedal (http://www.jpedal.org/), a commercial product. It is not extremely expensive – but not freely available., So I decided to look a little further for a truly open source and free product. I found PDF Renderer, published by Sun Microsystems:https://pdf-renderer.dev.java.net/ .It could easily do for me what I was looking for.

As an additional step, I also used iText – http://www.lowagie.com/iText/download.html – an open source project that support programmatic generation of PDF document from Java.

Within half an hour, I had a program running that generated the following preview of the first page of a dynamically produced PDF document:

 

Read the rest of this entry »