Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-16-2010, 09:09 AM   #1 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 2
Default Pdf to Html Library

Hi!

I'm new to the forum, and I tought that maybe someone had a solution to my problem.
Basically, I'm trying to display a .pdf file using a UIWebView. I've accomplished that, but now I'm trying to create a "search" bar, in order to search text in that particular file.
After many googling, search for libraries, etc, I've come to realized that there isn't a simple way to do that. Someone told me that maybe I should convert that pdf file to an HTML document, so that I can browse it more easily.
Again, I went to google, and search for libraries in C, C++ and objective C. But didn't fin any good or free one.
So, my question is: Is there a way to convert a pdf file to an html? Does anyone needed to do this before me?

Anyway, thanks for the help guys. Love the forum

Cheers!
franciscog is offline   Reply With Quote
Old 02-18-2010, 08:01 AM   #2 (permalink)
Registered Member
 
Join Date: Jan 2010
Location: New Delhi
Posts: 11
Default Hi Francisco

I am also looking for same. If you got some idea or code plz share with me.

Thanx in advance
muzammil
muz.aazmi@gmail.com
muzammil is offline   Reply With Quote
Old 02-18-2010, 01:31 PM   #3 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 2
Default

Hi!
I've come to realise that is easily to "convert" the pdf document to html. Now, looking up for html search I encountered this blog that was very usefull. I was able to do the search and highlight the text:
Search and highlight text in UIWebView – iCab Blog

Hope it helps
franciscog is offline   Reply With Quote
Old 05-25-2010, 03:15 AM   #4 (permalink)
Registered Member
 
Join Date: Jul 2009
Location: India
Posts: 51
Send a message via Skype™ to anils_das
Default PDF to HTML

Quote:
Originally Posted by franciscog View Post
Hi!
I've come to realise that is easily to "convert" the pdf document to html. Now, looking up for html search I encountered this blog that was very usefull. I was able to do the search and highlight the text:
Search and highlight text in UIWebView – iCab Blog

Hope it helps

How did you manage to convert PDF to HTML. Could you share any link or sample code for the same.
__________________
anil
anils_das is offline   Reply With Quote
Old 06-15-2010, 03:36 AM   #5 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 1
Default

Quote:
Originally Posted by anils_das View Post
How did you manage to convert PDF to HTML. Could you share any link or sample code for the same.
visit this one
Random Ideas
qburst is offline   Reply With Quote
Old 07-08-2010, 04:37 AM   #6 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 4
Default Highlighting a searched text in pdf

Hi,
I am a newbie in iphone programming and now i need help in highlighting a searched text in pdf.
I have used a webview and loaded the pdf(same as mentioned in the 1st post). Also i referred the link mentioned above. But i am not able to convert pdf to html...Please can anyone give a hint or some reference.....
I will be glad if anyone post the code for achieving this...
SnehalP is offline   Reply With Quote
Old 08-06-2010, 01:04 AM   #7 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 1
Default plz forward me the solution to convert .pdf to .html.... thanks for doing so.........

Quote:
Originally Posted by franciscog View Post
Hi!

I'm new to the forum, and I tought that maybe someone had a solution to my problem.
Basically, I'm trying to display a .pdf file using a UIWebView. I've accomplished that, but now I'm trying to create a "search" bar, in order to search text in that particular file.
After many googling, search for libraries, etc, I've come to realized that there isn't a simple way to do that. Someone told me that maybe I should convert that pdf file to an HTML document, so that I can browse it more easily.
Again, I went to google, and search for libraries in C, C++ and objective C. But didn't fin any good or free one.
So, my question is: Is there a way to convert a pdf file to an html? Does anyone needed to do this before me?

Anyway, thanks for the help guys. Love the forum

Cheers!
.....
priyanka.mvernekar is offline   Reply With Quote
Old 03-25-2011, 07:22 AM   #8 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 1
Smile Convert PDF to HTML

1. Convert PDF file to text file using Acrobat Reader or any program similiar. Just save it as a text file, no need for pro or extended versions of reader.
2. Open TextEdit.app, open up the text file you've created, copy/paste whole thing to a new document window.
- Open Preferences in TextEdit
- Go to the "Open/Save" Tab
- Change Document Type to HTML Strict or XHTML strict depending on your needs. In Styling, select No CSS.
- Go back and save the new document now as a html file.
There is a step by step instruction on how to convert PDF to HTML.
Hope that helps !

Know more the column of PDF Converter.

Last edited by yiyi001; 03-27-2011 at 01:51 AM.
yiyi001 is offline   Reply With Quote
Old 05-11-2011, 02:54 AM   #9 (permalink)
nthunga
 
Join Date: May 2011
Location: Bengaluru
Age: 24
Posts: 1
Thumbs up Help me out dude

Quote:
Originally Posted by franciscog View Post
Hi!
I've come to realise that is easily to "convert" the pdf document to html. Now, looking up for html search I encountered this blog that was very usefull. I was able to do the search and highlight the text:
Search and highlight text in UIWebView – iCab Blog

Hope it helps
Hi Franciscog,

I felt very happy, bcoz you mentioned "its very easy to convert pdf doc to html".Actually i succeeded in HTML search and highlighting. Please help me out how to convert pdf doc to html(source code is appreciated). Share some code or ideas that would help me to sort out this problem.

I know there are so many applications are there to do PDF to HTML conversion,But i want to do it in my application.

Thanks in advance.

Waiting for ur reply
Naveen

Last edited by Naveen Thunga; 05-11-2011 at 02:57 AM.
Naveen Thunga is offline   Reply With Quote
Old 07-28-2011, 02:56 AM   #10 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 3
Default

hi all im working on objective c.

in my project(iphone and ipad) i show a person's medical reports in the form of a pdf. i have saved the reports in the documents directory and reading it form there.

now i want the user to be able to add or edit the comments for the pdf and the user should also be able to highlight certain sections in the pdf. i should be able to save it in the documents directory.

im not sure how to proceed with this. is it possible to do it?

do i have to use core graphics for al this. i havent used core graphics previously.

if u have done it can u share me ur code so tat i wil get an idea abt it..

thanks in advance
janani is offline   Reply With Quote
Reply

Bookmarks

Tags
convert, html, pdf, search pdf

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 259
23 members and 236 guests
@sandris, ADY, Dani77, diyora, FAED, fredidf, F_Bryant, GHuebner, HDshot, iDifferent, JasonR, mer10, Oral B, prchn4christ, Rudy, Speed, spiderguy84, stekki, tgjorgoski, Thompson22, Touchmint, twerner, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,753
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:06 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0