0 Replies Latest reply on Aug 10, 2015 12:36 AM by devlosh

    Coldfusion PDF to text using cfpdf - Formatting issue

    devlosh

      Hi,

       

      We have a requirement to extract the content of an uploaded PDF and then show it in a text area with the same formatting. Our application runs on CF10.

       

      We used cfpdf however  the extracted text is a single paragraph with No formatting .

       

      Is there any way in coldfusion to read pdf as text retaining the source formatting ( 100% accuracy not expected) .

       

      Note:

       

      1. We tried itext and it works very well however it comes with a licensing cost which I dont want to spend as I'm only going to use this single feature from the budle that itext is providing.

      2. Tried PDFbox but the formatting is not retained.

       

      Thanks,

      Devlosh