Copy link to clipboard
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) .
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.
Have something to add?