#import <FixedViewController.h>
| - (void) addMenuItemForSelection: |
|
(NSObject *) |
target |
| title: |
|
(NSString *) |
title |
| selector: |
|
(SEL) |
selector |
|
|
| |
add Menu Item to iOS System MenuController
tells device can be rotate or not while caching process is going on.
| - (void) changeBackgroundColor: |
|
(UIColor *) |
backgroundColor |
|
change the background color for each page
| - (void) changeElementColor: |
|
(NSString *) |
colorString |
| hash: |
|
(NSString *) |
hash |
| pageIndex: |
|
(int) |
pageIndex |
|
|
| |
change the color of element which has hash
| - (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) changeWindowColor: |
|
(UIColor *) |
windowColor |
|
delete all cached files in device
get the current pageIndex in this chapter
intenal test only, do not use
| - (void) deleteHighlight: |
|
(Highlight *) |
highlight |
|
release all resources explicitly
| - (NSString*) executeJavascript: |
|
(NSString *) |
script |
|
execute Javascript only for left Page. use this in portrait mode.
execute Javascript for left page (when forLeft = YES) or for right page (forLeft = NO). in single page mode (portrait), forLeft should be YES.
| - (NSString*) getCoverURL |
|
|
|
gets FixedPageInformation at the global position in book.
- Parameters
-
| pagePositionInBook | is a double between 0 to 1 to indicate the position in entile book. |
| - (NavPoint*) getNavPoint: |
|
(int) |
navIndex |
|
| - (Parallel*) getParallelByIndex: |
|
(int) |
parallelIndex |
|
get the parallel at parallelIndx
goto the next page in this chapter
| - (void) gotoPage: |
|
(int) |
pageIndex |
|
goto the page of pageIndex in this chapter
| - (void) gotoPageByNavMapIndex: |
|
(int) |
index |
|
| - (void) gotoPageByNavPoint: |
|
(NavPoint *) |
np |
|
| - (void) gotoPageByPagePosition: |
|
(double) |
pagePosition |
|
goes to the page by the position(by pagePositionInChapter) in this book
goto the prev page in this chapter
| - (id) initWithStartPageIndex: |
|
(int) |
startPageIndex |
|
init with Start pageIndex
- Parameters
-
| startPageIndex | is integer value to indicate the index of start page. |
init with Start pageIndex
- Parameters
-
| startPageIndex | the integer value to indicate the index of start page. |
| spread | rendition spread in opf (eg. SpreadNone, SpreadAuto, SpreadPortrait, SpreadLandscape, SpreadeBoth) |
| - (id) initWithStartPosition: |
|
(double) |
startPosition |
| spread: |
|
(int) |
spreadType |
|
|
| |
init with Start position
- Parameters
-
| start | the double value to indicate the position of start page. (eg. 0.0f~1.0f) |
| spread | rendition spread in opf (eg. SpreadNone, SpreadAuto, SpreadPortrait, SpreadLandscape, SpreadeBoth) |
return YES when spread is both or auto in landscape mode.
| - (BOOL) isMediaOverlayAvailable |
|
|
|
tells whether playing is paused or not.
| - (BOOL) isPlayingStarted |
|
|
|
tells whether medaiOverlay started or not.
| - (void) makeSelectionHighlight: |
|
(UIColor *) |
color |
|
| - (void) makeSelectionNote: |
|
(UIColor *) |
color |
|
makes current Selection to Highlight its style note.
get page count of this book
get the count of parallels in this chapter
| - (void) pausePlayingParallel |
|
|
|
returns the device ram size
| - (NSString *) platformString |
|
|
|
returns the model name of device
| - (void) playFirstParallel |
|
|
|
| - (void) playNextParallel |
|
|
|
| - (void) playParallel: |
|
(Parallel *) |
parallel |
|
| - (void) playParallelByIndex: |
|
(int) |
parallelIndex |
|
play the parallel at parallelIndx
| - (void) playPrevParallel |
|
|
|
| - (void) restoreElementColor |
|
|
|
restore the color of element lastly changed
| - (void) resumePlayingParallel |
|
|
|
resume playing the paused parallel
| - (void) searchKey: |
|
(NSString *) |
key |
|
searches epub for the key.
| - (void) setContentProviderClass: |
|
(Class) |
contentProvider |
|
| - (void) setFitToHeight: |
|
(BOOL) |
value |
|
if value is true, page will be fit to Height. otherwise page will be fit to Width
| - (void) setLicenseKey: |
|
(NSString *) |
licenseKey |
|
| - (void) setMaxLayer: |
|
(int) |
max |
|
set MaxLayer to pre load another pages
| - (void) setNavigationAreaEnabled: |
|
(BOOL) |
enabled |
|
enable/disable navigation area on both sides
| - (void) setPagesCenterImage: |
|
(UIImage *) |
pagesCenterImage |
|
for landscape mode, set the image which should be located between two pages
| - (void) setPagesStackImage: |
|
(UIImage *) |
pagesStackImage |
|
set the image which is used for resembling the stack of pages on both side of book.
| - (void) setSwipeGestureEnabled: |
|
(BOOL) |
enabled |
|
To avoid conflict with Drag/Drop behavior, enable/disable Swipe Gesture to move Page. default YES, only for Slide/None transition mode
| - (void) setTimeForCaching: |
|
(double) |
seconds |
|
set the delay time for caching page image
| - (void) setTimeForRendering: |
|
(double) |
seconds |
|
set the delay time for rendering
| - (void) stopPlayingParallel |
|
|
|
use only one layer to render. caching adjacent pages will be disabled.
| - (__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 page transition type. 0:none, 1:slide, 2:curl
The documentation for this class was generated from the following file: