IOS Converting HTML page to PDF using NDHTMLtoPDF libraries - iphone

Hi I am new to IOS programming. I need to convert an HTML file to PDF using NDHTMLtoPDF . Is there any demo or example for it or Can anybody throw some light on steps involved in it

Related

How to convert .html into .docx in iPhone sdk

I am working on editor application. I am able to create editor & I generated html file from
RichText using webView. Now client wants to save this html file into .docx format.
I searched too much in iOs sdk to convert .html into .docx but could not found any help.
During search I found following link
http://htmltodocx.codeplex.com/
This is a php file.
Now I want integrate this file in my xcode.
Now my problem is that how I integrate this php code file in iOs?
OR is there any other option to generate .docx file from .html file in iOs?
Any help or idea would be geat.
Thanks

Getting page number of pdf file Titanium Studio iPhone

I am creating an app to read PDF file. I'm using WebView to load the PDF file. Below is the code:
var wv = Ti.UI.createWebView({
backgroundColor:"gray",
border:1,
height:410,
url : "file.pdf"
});
win.add(wv);
I'm wondering if there is any way to get the page number of the PDF and to navigate page by page. I did not find any way to do this. Any help would be appreciated. Thanks in advance.
I don't think that this is possible with Titanium WebView component as it is. There are several PDF Reader plugins available for Titanium which you could use.
You can also try to use pdf.js and include it in WebView and try to manage the things you want. But i never tried to use pdf.js before i in Titanium or mobile environments at all.

create epub file in objective c

i am new to iPad development. I am making iPad applications. In my application i want to create an epub file using Xcode 4.2, is there any demo tutorial available for making ePub file using Xcode. I have searched in google but i havn't found any thing which starts from basic..
can any one give me basic ideas, how to start ??
I don't know any code examples which shows how to generate ePub in objective c, but ePub is pretty easy format. It's zip file with structurized content based on xml files http://www.jedisaber.com/eBooks/Tutorial.shtml
You can build your solution based on projects in other languages, like, in ex. Ruby ePub generator https://github.com/jugyo/eeepub or C# http://sourceforge.net/projects/epubhub/

how to open the url from a .pdf file through xcode programming

i'm trying to get the url from a pdf files so that if a user double taps the url on the pdf file, it opens in a new web page.... how can i do it ? any suggestions ? i'm using Xcode 3.2 version.
Apple provide the PDFKit API which you might want to use rather than wrting your own PDF parser.

Find text in pdf file

How can I extract text from a PDF file using the iPhone SDK and Objective C?
I have successfully read the PDF file, so does anyone have an idea how I can implement this functionality?