|04-02-2012, 06:02 PM||#1|
Join Date: Mar 2012
Is it possible to get the position or the reference (paragraph number) of a book's selectedText?
Also, is it possible to get the text of the paragraph that the selectedText is located within?
|04-03-2012, 12:39 AM||#2|
Join Date: Jul 2011
Device: Kobo Touch, Kobo Glo
An indirect answer to your question...
The viewer has a "Reference Mode" that can be turned on with the icon that looks like a tin of paint. When it is on and you put the cursor over a paragraph, it highlights the text and then displays a hint with the paragraph number. The code behind that should answer part of your question.
|04-03-2012, 01:09 AM||#3|
Creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|[Kindle Touch] No Image viewer and pdf viewer with white margins||MaxPowerITA||Kindle Developer's Corner||7||04-24-2012 06:27 AM|
|[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc||kovidgoyal||Calibre||68||05-30-2011 09:46 PM|
|E-Book Viewer as standalone viewer||Peter Swallow||Library Management||3||05-15-2011 01:06 PM|
|# user css for viewer.py/ ebook-viewer/ prs-650||tscamera||Calibre||0||01-02-2011 07:28 PM|
|Ebook Viewer formatting questions||danwdoo||Calibre||2||03-19-2009 10:06 PM|