I want to develop ePub & PDF reader for iOS devices.
For PDF reader , I can display PDF in Web View. So I don't have any problem with PDF.
For ePub files, my idea is
1) Download epub files from server & extract it to Documents directory as per requirement.
2) Parse extracted files & display it.
3) Once app closed , delete extracted files from Socuments directory.
Required functionality :-
1) Increase / Decrease Font size & brightness
2) Bookmark
3) Left & Right Swipe gesture OR Curl effect like changing pages from book
4) Orientation suuport
5) Display contents from Book (List)
6) SEARCH Functionality
7) Optionally display Page number
My questions are :-
1) Does any one know a good iOS library for ePub reader other than AePubReader?
2) I saw this link for for RMSDK. Anybody know about this ? Does it support iOS ?
3) Where should I display extracted contents in order to manipulate the font size & brightness ? In WebView or TextView ?
Any knid of help is appreciated. Thanks
Use UITextView to load text by parsing each html/xhtml file. Use page view controller to get page navigation style
Related
i would like to upload file in a flutter app.
When I obtain io.file, i would like to display a preview / thumbnail (for example, the first page of a word or pdf file ; first sheet of an excel file ...)
My question doesn't concern images
Thx
How to create PDF file and display as per our design.
customize PDF layout and add image and table create in PDF file.
i have send image this type i want to create pdf file .
Here is plugin called pdfmake. It will help you to create pdf of images. You can customise many of things for creating pdf like page size, table, fonts etc.
Following are some of the tutorial which will help you to guide :
https://medium.com/#rakeshuce1990/ionic-how-to-create-pdf-file-with-pdfmake-step-by-step-75b25aa541a4
https://ionicacademy.com/create-pdf-files-ionic-pdfmake/
I have used it in my project to creating pdf of images and working properly, so may it will help you.
I have seen many projects that reads epub files than parsing it to XML formats.
Some projects uses HTML to display the formatted ftext in a web view
Is there any way possible way to change the color/size of a font?
I think some are including Java Script files but still not sure...
Any framework that rcan help for epub content reading and customiziing....
ePub uses XHTML & CSS for content, so most (if not all) ePub readers will use a UIWebView.
Changing the font color & size, then, is simply a matter of fiddling with said UIWebView's stylesheets, whether through JavaScript or altering the XHTML/CSS files directly.
I need to generate a PDF file on click of a button that pdf should takes the contents from database and I have to view my generated PDF file once its generated how can I do this? can anyone guide me to some good material for this? Thanks in advance.
You should start from iOS Developer Library:
PDF Document Creation, Viewing, and Transforming
I am making an application which can read ebooks in epub format..I have displayed all the chapters in Webview. What i want ,that these chapters should shown like a real book.Page by page..so that we can flip the page...but in the web view we have to scroll to read the whole chapter..
i want to make application similar to stanza / ibooks..
any other alternative to show the chapter page by page..or to apply the same effect in webview...??