Posts tagged pdf
- support keyboard (function key based) navigation in rich ADF Web pages (in addition to mouse based actions)
- support online and inline editing of customized (per context) resource bundle entries
- create a stand-alone viewer that allows users to inspect images (jpeg, tiff), PDF documents and Word and Excel documents
While working on these requirements, I have used – through Google, my main tool – a large number of very valuable resources on the internet. From the Oracle Technology Network Forums (OTN) to StackOverflow (http://stackoverflow.com), from personal blogs to corporate white papers as well as formal documentation – I have picked an incredible number of brains in a very condensed period of time.
I did not stop to leave notes of gratitude on all the sites I have come across. So I thought – for my own future reference as well as to pay some hommage to all these sites and individuals that helped me and to provide some insight in what challenges I faced and how I addressed them – to write More >
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 (more…)
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.
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. (more…)
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: