epub

EPUB creation in .Net

拈花ヽ惹草 提交于 2019-11-30 09:47:33
Is there any library out there that I can use to create epub files in .NET/C#? A Flowdocument -> epub conversion tool would be ideal, but any kind of library would be great. I am also interested in an assesment of how complex it would be to write one. I understand that it is basically a bunch of zipped XHTML files, but I keep hearing that using existing conversion tools it is difficult to get it right. gyurisc Did you try ePub Sharp? Here is the project page Note: I have not tried it myself. I am using the following library from Aspose - http://www.aspose.com/categories/.net-components/aspose

Android EPUBLIB read/load content

孤人 提交于 2019-11-30 04:01:04
I'm playing with http://www.siegmann.nl/epublib on Android. Can someone please explain the right way to read epub HTML content, how to show this on Android (using WebView?), how to split content into pages and how to search the content. Thx 10x. Jega Answers #2: Extract epub on file system /mnt/sdcard/epub/ Loading values in webview protected void onCreate(Bundle savedInstanceState) { setContentView(R.layout.epub_reader); webView = (WebView) findViewById(R.id.webview); Book book = (new EpubReader()).readEpub(new FileInputStream(filename); String baseUrl="file://mnt/sdcard/epub/OEBPS/" String

EPUB creation in .Net

给你一囗甜甜゛ 提交于 2019-11-29 15:30:02
问题 Is there any library out there that I can use to create epub files in .NET/C#? A Flowdocument -> epub conversion tool would be ideal, but any kind of library would be great. I am also interested in an assesment of how complex it would be to write one. I understand that it is basically a bunch of zipped XHTML files, but I keep hearing that using existing conversion tools it is difficult to get it right. 回答1: Did you try ePub Sharp? Here is the project page Note: I have not tried it myself. 回答2

Pandoc - Inserting pages before generated Table of Contents

不羁岁月 提交于 2019-11-29 05:59:00
I've been playing around with Pandoc. Is there anyway to insert pages before the generated Table of Contents? For example: Title Page Insert Custom Page 001 Insert Custom Page 002 (Generated) Table of Contents Many thanks in advance! For this answer, I'm going to assume you are generating markdown, though the process is the same for other file formats as well. The key insight is that Pandoc uses templates to determine the final placement. It has default templates and if you modify them, you can change the order of sections. Find the default template > pandoc -D markdown $if(titleblock)$

Render epub files in android

◇◆丶佛笑我妖孽 提交于 2019-11-28 03:30:22
I have a epub file. I need to unzip and parse the epub file and render it in Webview. Is there a step by step tutorial somewhere. pkamalaruban Visit this site and download the two jar files mentioned in that page. Import those libraries to your android project I implemented this task using two activities : 1.) EpubReaderActivity - this activity will display a list view of Table of Contents 2.) ContentViewActivity - this will display the selected chapter. EpubReaderActivity.java public class EpubReaderActivity extends ListActivity { private LayoutInflater inflater; private List<RowData>

Render epub files in android

匆匆过客 提交于 2019-11-27 00:04:59
问题 I have a epub file. I need to unzip and parse the epub file and render it in Webview. Is there a step by step tutorial somewhere. 回答1: Visit this site and download the two jar files mentioned in that page. Import those libraries to your android project I implemented this task using two activities : 1.) EpubReaderActivity - this activity will display a list view of Table of Contents 2.) ContentViewActivity - this will display the selected chapter. EpubReaderActivity.java public class

PDF Library to rendering the PDF files in Android [closed]

。_饼干妹妹 提交于 2019-11-26 22:46:37
I need a PDF library For Android that can read the PDF Files and access to edit and change their contents. Some of Library I have already used : iText Pdf Library( http://itextpdf.com/ ) PdfViewer But there is problem in Library first one is useful if having only text in pdf. It will not take the images and second changes the pdf to images so that cannot editable. PDF read/writing is a big problem for Android. A quick search on Stackoverflow will reveal many developers looking for solutions. So far, the most popular solution is to use a webview and use the google docs engine to render the PDF

PDF Library to rendering the PDF files in Android [closed]

与世无争的帅哥 提交于 2019-11-26 08:26:18
问题 I need a PDF library For Android that can read the PDF Files and access to edit and change their contents. Some of Library I have already used : iText Pdf Library(http://itextpdf.com/) PdfViewer But there is problem in Library first one is useful if having only text in pdf. It will not take the images and second changes the pdf to images so that cannot editable. 回答1: PDF read/writing is a big problem for Android. A quick search on Stackoverflow will reveal many developers looking for

android - get Text out of webview

空扰寡人 提交于 2019-11-26 06:18:20
问题 In my application, I am showing epub HTML files in webview using EPUBLIB. My problem is that I want to use bookmark functionality for my epub reader. For that I want to fetch text from webview which is showing page from my epub\'s HTML file and then use that text in my bookmark activity to show the user what they have bookmarked. How can I achieve this? 回答1: Getting the plain text content from a webview is rather hard. Basically, the android classes don't offer it, but javascript does , and

Reading ePub format

浪尽此生 提交于 2019-11-26 01:03:12
问题 I am trying to develop an iPhone application to read ePub files. Is there any framework available to develop this? I have no idea about how to read this file format. I tried to parse a sample file with .epub extension using NSXML Parser, but that fails. 回答1: The EPUB format brings together a bunch of different specifications / formats: one to say what the content of the book should look like (a subset of XHTML 1.1 + CSS) one to define a "manifest" that lists all of the files that make up that