Is it possible to convert pdf to text? [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
In my application I am downloading pdf file from the net. Is it possible in Android to convert that pdf file into text (String or character)?

Actually, it is possible to convert PDF to text. A better term than convert would be extract though.
You only need an OCR tool if the PDF has images only. This is typically the case if the PDF is a result of scanning documents. But even then, text is often inserted by the scan driver as invisible text so that the PDF content can be searched.

Bruno Lowagie (Developer of iText) says unfortunately no.
That's very normal. It's 'in the nature' of PDF.
PDF is a one-way process. The PDF is the end product.
You are not supposed to convert it to text.
You need an OCR tool.
http://itext-general.2136553.n4.nabble.com/Convert-PDF-to-text-td2142916.html
Regards Stefan

Related

how to download telugu news paper from web in android programmatically? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to download telugu news paper from my application and after download that one i have read in off line mode that one. how to implement that one please help me.
Thanku
You need to find websites that provide free RSS feeds for Telgu news.
Then you need to write a parser of your choice in your app for parsing data from those RSS feeds.
Save the parsed data in a File and save it on your device(Internal/SD Card).
Also there will be images associated with the news item, so also save them.
Implement your UI as you like.
Finally render your news items from your device i.e. in Offline mode.

Force to use specific pdf viewer in android [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want user to use my pdf viewer instead of using OS suggested list of viwer(s). Is there is any chance i can achieve this functionality.
I have secure folder where there are pdf files. What ia m looking for is when user opens that folder at that time only my pdf viewer should be used.
Thanks to the FSM you can't. There is no reason for you to take this freedom from end user.
If you need such a requirement, create a viewer application from scratch and asociate it to your own, newly created file extension.

pdf editing via html [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Not sure if this is the right place for this question but i wasn't able to find any other medium of advise.
Text extraction. As mkl mentioned in comments, PDF may already contain a layer of text (digitally created or pre-OCRed), or it may be image-only PDF without text (scanned or rasterized). Existing text extraction can be attempted, but I give it low chance of success because PDF does not have coordinate information for text extraction purposes. In other words, it is very easy to programatically extract ALL existing text from within a PDF, but it is hard to extract text from a specific zone or region. For this reason, OCR is frequently used even if text already exists inside, because OCR returns text with very detailed location and region information, which can be mapped to the image coordinates.
PDF zone highlighting. I believe you will either have to re-build a new PDF with certain area highlighted, or build your own PDF-like viewer that will merry image and coordinates and text and highlighted area. I would go for the second option of creating your own viewer because you have extra controls over functionality and UI. Your viewer could take PDF as input and produce modified PDF as output, but as you work with the document it does not have to be a PDF, even though it could behave like PDF to the user's perspective, but with added functionality for interaction.

Open & Edit PDF files in Android App with APIs [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Okay, this is the first time I'm handling pdf in android.
What I have:
Editable PDF File with 2 pages (Forms to be exact, with brackets to tick, fields to comment etc.)
What I need to do:
Store the PDF some where is the sd card (so that users do not need to download from any server)
Allow users to open & edit the form
Save the contents that was edited into SQLite
Problem now is that I do not know how to open the PDF file within my application & how to allow users to edit the files. I did see through this : Reading PDF from within an Android application
However, I do not know how to allow users to edit the PDF File. Would anyone please guide me? Thanks so much!
It is open source and built for unix/debian Linux so it will require some toying with, but it is a start.
http://pdfedit.cz/en/index.html
you can use SDKs like Foxit here..
and another way is libraries like Qoppa pdf or MuPdf are free

Interactive PDF Reader: Android [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I wanted to open internal anchors and embedded hyperlink from pdf viewer application. What would the suggested way to implement this functionality. As I can right now read pdf successfully.
MuPDF reader is not supporting interactive feature. But you can do one thing, you can create separate each PDF wise text file, in that you can mention x,y co-ordinates of interactive area.
And you can map that area in PDF pagewise image, and make that part interactive. Hope you do understand.
Simply you need to have Adobe Acrobat Reader.

Categories

Resources