#import <ReflowableViewController.h>
| - (void) allowPageTransitionFast: |
|
(BOOL) |
isFast |
|
allow fast page transition or not
| - (void) changeBackgroundColor: |
|
(UIColor *) |
backgroundColor |
|
| - (void) changeElementColor: |
|
(NSString *) |
colorString |
| hash: |
|
(NSString *) |
hash |
|
|
| |
change the color of element which has hash
| - (void) changeFontName: |
|
(NSString *) |
fontName |
| fontSize: |
|
(NSInteger) |
fontSize |
|
|
| |
| - (void) changeFontName: |
|
(NSString *) |
fontName |
| fontSize: |
|
(NSInteger) |
fontSize |
| lineSpacing: |
|
(NSInteger) |
lineSpacing |
|
|
| |
| - (void) changeFontToDefault |
|
|
|
resets all font settings to default
| - (void) changeForegroundColor: |
|
(UIColor *) |
foregroundColor |
|
| - (void) changeHighlight: |
|
(Highlight *) |
highlight |
| color: |
|
(UIColor *) |
color |
|
|
| |
change the color of the highlight
| - (void) changeHighlight: |
|
(Highlight *) |
highlight |
| color: |
|
(UIColor *) |
color |
| note: |
|
(NSString *) |
note |
|
|
| |
change the color and note of text.
| - (void) changeHighlight: |
|
(Highlight *) |
highlight |
| note: |
|
(NSString *) |
note |
|
|
| |
| - (void) changeLineSpacing: |
|
(NSInteger) |
lineSpacing |
|
changes the line spacing between lines and reload. lineSpacing is the value of px.
| - (void) createSelectionWithStartIndex: |
|
(int) |
startNodeIndex |
| withStartOffset: |
|
(int) |
startOffset |
| withEndIndex: |
|
(int) |
endNodeIndex |
| withEndOffset: |
|
(int) |
endOffset |
|
|
| |
select text with startIndex, startOffset, endIndex,endOffset
| - (void) deleteHightlight: |
|
(Highlight *) |
highlight |
|
destroy all objects in ReflowableView explicitly
| - (NSString*) executeJavascript: |
|
(NSString *) |
script |
|
executes javascript source.
| - (NSString*) executeScript: |
|
(NSString *) |
script |
|
executes javascript source.
| - (int) getChapterIndexByPageIndexInBook: |
|
(int) |
pageIndexInBook |
|
returns chapter index by page index when globalpagination is set
| - (NSString *) getCoverURL |
|
|
|
| - (CGRect) getEndRectFromHighlight: |
|
(Highlight *) |
highlight |
|
gets the end rectangle from a highlight
| - (NavPoint*) getNavPoint: |
|
(int) |
navIndex |
|
| - (int) getNumberOfChaptersInBook |
|
|
|
gets the number of chapters in book
| - (int) getNumberOfPagesInBook |
|
|
|
gets the total number of pages in book - global pagination mode only
| - (int) getNumberOfPagesInChapter: |
|
(int) |
ci |
|
returns the number of pages in chapter by chapter index
| - (int) getPageIndexByPageIndexInBook: |
|
(int) |
pageIndexInBook |
|
returns page index in chapter by page index in book when globalpagination is set
| - (int) getPageIndexInBook |
|
|
|
gets the index of the current page in book - global pagination mode only
| - (int) getPageIndexInBookByPagePositionInBook: |
|
(double) |
pagePositionInBook |
|
return pageIndexInBook by pagePositionIn Book when globalPagination is activated.
| - (PageInformation*) getPageInformationAtPagePositionInBook: |
|
(double) |
pagePositionInBook |
|
gets PageInformation at the global position in book.
- Parameters
-
| pagePositionInBook | is a double between 0 to 1 to indicate the position in entile book. |
| - (double) getPagePositionByPageIndexInBook: |
|
(int) |
pageIndexInBook |
|
returns pagePosition in chapter by page index in book when globalpagination is set
| - (double) getPagePositionInBook: |
|
(int) |
pageIndex |
|
return pagePositionInBook value for given page of current chapter
| - (double) getPagePositionInBookByPageIndexInBook: |
|
(int) |
pageIndexInBook |
|
returns pagePosition in book by page index in book when globalpagination is set
| - (Parallel*) getParallelByIndex: |
|
(int) |
parallelIndex |
|
get the parallel at parallelIndx
| - (CGRect) getStartRectFromHighlight: |
|
(Highlight *) |
highlight |
|
gets the start rectangle from a highlight
| - (void) gotoChapter: |
|
(int) |
chapterIndex |
|
loads the chapter by index and go to the first page.
| - (void) gotoNextPageInChapter |
|
|
|
goto the next page in this chapter
| - (void) gotoPage: |
|
(int) |
pageIndex |
|
goes to the page by pageIndex in current chapter.
| - (void) gotoPageByChapterIndex: |
|
(int) |
ci |
| hashLocation: |
|
(NSString *) |
hashLocation |
|
|
| |
goto Page with start chapter index and hashLocation.
| - (void) gotoPageByHighlight: |
|
(Highlight *) |
highlight |
|
goes to the page by Highlight object, highlight must contain chapterIndex.
| - (void) gotoPageByNavMapIndex: |
|
(int) |
index |
|
| - (void) gotoPageByNavPoint: |
|
(NavPoint *) |
navPoint |
|
| - (void) gotoPageByPagePosition: |
|
(double) |
pagePositionInChapter |
| inChapter: |
|
(int) |
chapterIndex |
|
|
| |
goes to the page by the position(by pagePositionInChapter) in the chapter(by chapterIndex)
| - (void) gotoPageByPagePositionInBook: |
|
(double) |
pagePositionInBook |
|
goes to the page by global position in book.
goes to the page by global position in book with Animation effect - PageTransitionCurl mode only
| - (void) gotoPageBySearchResult: |
|
(SearchResult *) |
searchResult |
|
| - (void) gotoPageByUniqueIndex: |
|
(int) |
index |
| inChapter: |
|
(int) |
chapterIndex |
|
|
| |
goes to the page by the element index in the chapter by chapterIndex
| - (void) gotoPageInChapter: |
|
(int) |
pageIndex |
|
goto the page of pageIndex in this chapter
| - (void) gotoPrevPageInChapter |
|
|
|
goto the prev page in this chapter
Hide the contents of book
| - (id) initWithStartChapterIndex: |
|
(int) |
ci |
| hashLocation: |
|
(NSString *) |
hashLocation |
|
|
| |
ReflowablableView init with start chapter index and hashLocation.
| - (id) initWithStartNavPoint: |
|
(NavPoint *) |
np |
|
ReflowablableView init with start NavPoint index
| - (id) initWithStartPagePositionInBook: |
|
(double) |
pagePositionInBook |
|
init ReflowableView with start position in book
check where book is double paged or not.
| - (BOOL) isGlobalPagination |
|
|
|
returns YES when GlobalPagination is set
| - (BOOL) isMediaOverlayAvailable |
|
|
|
tell the pages of viewer is shown or hidden
returns YES while Pagination is running
tells whether playing is paused or not.
| - (BOOL) isPlayingStarted |
|
|
|
tells whether medaiOverlay started or not.
returns whether current device is portrait or not
returns whether current book is Right To Left reading or not
return whether ScrollMode is activated or not
returns whether TextToSpeech is enabled
| - (BOOL) isVerticalWriting |
|
|
|
returns whether current book is VerticalWriting mode or not
| - (void) keepBackgroundColor: |
|
(BOOL) |
value |
|
keep the original background color of book if value is YES
| - (void) makeSelectionHighlight: |
|
(UIColor *) |
color |
|
| - (void) makeSelectionNote: |
|
(UIColor *) |
color |
|
makes current Selection to Highlight its style note.
| - (void) markHighlight: |
|
(Highlight *) |
highlight |
|
| - (void) markParallelHighlight: |
|
(Parallel *) |
parallel |
| color: |
|
(UIColor *) |
color |
|
|
| |
mark Parallel highlight with color - (TextToSpeech Only)
| - (int) pageCountInChapter |
|
|
|
get page count of this chapter
| - (int) pageIndexInChapter |
|
|
|
get the current pageIndex in this chapter
| - (int) parallelCountInChapter |
|
|
|
get the count of parallels in this chapter
| - (void) pausePlayingParallel |
|
|
|
| - (void) playFirstParallelInPage |
|
|
|
| - (void) playNextParallel |
|
|
|
| - (void) playParallel: |
|
(Parallel *) |
parallel |
|
| - (void) playParallelByIndex: |
|
(int) |
parallelIndex |
|
play the parallel at parallelIndx
| - (void) playPrevParallel |
|
|
|
tells the engine to rebuild internal cache images for curl transition
reloads current chapter & highlights
| - (void) reloadHighlights |
|
|
|
erases all highlights and reload highlights from dataSource.
| - (void) removeParallelHighlights |
|
|
|
remove all highlights which were created for parallel. (TextToSpeech Only)
tells the engine to repaint viewer
| - (void) restoreElementColor |
|
|
|
restore the color of element lastly changed
goto the position backuped
| - (void) resumePlayingParallel |
|
|
|
resume playing the paused parallel
| - (void) searchKey: |
|
(NSString *) |
key |
|
searches epub for the key.
| - (void) setBackgroundImageForLandscape: |
|
(UIImage *) |
backgroundImage |
| contentRect: |
|
(CGRect) |
rect |
|
|
| |
changes the background image For landscape with clientRect
| - (void) setBackgroundImageForPortrait: |
|
(UIImage *) |
backgroundImage |
| contentRect: |
|
(CGRect) |
rect |
|
|
| |
changes the background image For Portrait with clientRect
| - (void) setBlankColor: |
|
(UIColor *) |
blankColor |
|
set the color of blank area
| - (void) setContentProviderClass: |
|
(Class) |
contentProvider |
|
| - (void) setCustomDrawHighlight: |
|
(BOOL) |
isCustomDraw |
|
enable custom drawing for highlight mark
| - (void) setDoublePagedForLandscape: |
|
(BOOL) |
isDoublePagedForLandscape |
|
set double page support for landscape view
| - (void) setDrawingHighlightOnFront: |
|
(BOOL) |
value |
|
draw Highlight on the top of epub, not under it.
| - (void) setGlobalOffset: |
|
(BOOL) |
isGlobalOffset |
|
set GlobalOffset to YES/NO
| - (void) setGlobalPaging: |
|
(BOOL) |
isGlobalPaging |
|
| - (void) setHorizontalGapRatio: |
|
(double) |
ratio |
|
| - (void) setLicenseKey: |
|
(NSString *) |
licenseKey |
|
| - (void) setMarkerImage: |
|
(UIImage *) |
markerImage |
|
set the marker image for highlight.
| - (void) setMaxWebViews: |
|
(int) |
max |
|
set the max number of webviews
| - (void) setMenuControllerEnabled: |
|
(BOOL) |
isEnabled |
|
enable system System MenuController when text is selected
| - (void) setNavigationAreaWidthRatio: |
|
(float) |
navigationAreaWidthRatio |
|
set Navatation Area Ratio on both left and right side
| - (void) setRTL: |
|
(BOOL) |
isRTL |
|
enforce reading flow to "Right to Left"
| - (void) setScrollMode: |
|
(BOOL) |
value |
|
activate/deactivate Scroll Mode
| - (void) setScrollModeEnable |
|
|
|
| - (void) setTTSEnabled: |
|
(BOOL) |
enabled |
|
| - (BOOL) setTTSLanguage: |
|
(NSString *) |
language |
|
set TextToSpeech language for utterance, default en-US
| - (void) setTTSPitch: |
|
(float) |
pitch |
|
set the pitch of utterance
| - (void) setTTSRate: |
|
(float) |
rate |
|
set the rate of utterance
| - (void) setVerticalGapRatio: |
|
(double) |
ratio |
|
| - (void) showIndicatorWhileLoadingChapter: |
|
(BOOL) |
show |
|
show indicator while loading new chapter or not.
| - (void) showIndicatorWhilePaging: |
|
(BOOL) |
show |
|
show indicator while paginating whole chapters or not.
| - (void) showIndicatorWhileRotating: |
|
(BOOL) |
show |
|
show indicator while device is rotated or not
show the contents of book
| - (void) stopPlayingParallel |
|
|
|
| - (int) toViewX: |
|
(int) |
wx |
|
convert web coordination x to screen coordination x
| - (int) toViewY: |
|
(int) |
wy |
|
convert web coordination y to screen coordination y
convert screen coordination x to web coordination x
convert screen coordination y to web coordination y
unselects the text selection.
| - (void) useDOMHighlight: |
|
(BOOL) |
useDOM |
|
use DOM structure for highlight text.
| - (__weak UIView*) backgroundView |
|
protected |
the UIView object for background under the text
| - (__weak NSString*) baseDirectory |
|
protected |
the base directory for custom content files of epub
| - (id) contentProviderClass |
|
protected |
the class for custom reader for epub.
| - (__weak NSString*) version |
|
protected |
the Book object which contains information about epub.
the unique code for this book.
the customView for user interface
Search process is going on or not
to prevent rotation when rotationLocked is YES
the page transition type. 0:none, 1:slide, 2:curl
The documentation for this class was generated from the following file: