Fixed Layout
1. Updated for armv7s.
2. Performance / Memory Enhanced for Device Rotation.
Fixed Layout
1. Updated for armv7s.
2. Performance / Memory Enhanced for Device Rotation.
Reflowable Layout
New 3 Functions Added
// make engine not to send any event to iframe
// if iframe is clicked, onIFrameClicked will be fired with source of iframe
// when false is set, user interaction on this element will be disabled.
// By Using that source of iframe, you can load the content of iframe in your own webView or another browser.
rv.setSendingEventsToIFrameEnabled(false);
// make engine send any event to video(tag) or not
// when false is set, user interaction on this element will be disabled.
// if video tag is clicked, onVideoClicked will be fired with source of iframe
// By Using that source of video, you can load the content of video in your own media controller or another browser.
rv.setSendingEventsToVideoEnabled(true);
// make engine send any event to video(tag) or not
// when false is set, user interaction on this element will be disabled.
// if video tag is clicked, onVideoClicked will be fired with source of iframe
// By Using that source of video, you can load the content of video in your own media controller or another browser.
rv.setSendingEventsToAudioEnabled(true);
Engine Updated for Upcoming iOS 8.
– Highlight Features Updated for iOS8
– Compatibility Enhanced for 64Bit
– Updated for iPhone 6, iPhone 6 Plus
Reflowable Layout
1. Fixed Bug that sometimes app crashed when back button is pressed.
2. Fixed Bug that Video inside iframe tag is not rendered properly.
3. Fixed Bug that Video will not appear (but sound is audible) for some devices.
4. 3 events are added in ClickListener.
public interface ClickListener {
/**
* called when user taps on iframe
* @param x x coodination at click point.
* @param y y coodination at click point.
* @param src the source of iframe
*/
void onIFrameClicked(int x,int y,String src);
/**
* called when video tag is clicked
* @param x x coodination at click point.
* @param y y coodination at click point.
* @param src the source of media
*/
void onVideoClicked(int x,int y,String src);
/**
* called when video tag is clicked
* @param x x coodination at click point.
* @param y y coodination at click point.
* @param src the source of media
*/
void onAudioClicked(int x,int y,String src);
}
Reflowable Layout
Fixes Issues that Big width table does not fit to screen width
**** New Listener
When custom script for certain chapter is needed, you can send the script to the sdk engine.
public interface ScriptListener {
// should return the custom script for chapterIndex
String getScriptForChapter(int chapterIndex); // datasource
}
In Advanced Demo, you can implement above listener like below
rv.setScriptListener(new ScriptDelegate());
.
.
.
class ScriptDelegate implements ScriptListener {
@Override
public String getScriptForChapter(int chapterIndex) {
// TODO Auto-generated method stub
String customScript = null;
customScript = “” +
“function changePColor() {” +
” var elements = document.getElementsByTagName(‘p’);” +
” for (var i=0; i<elements.length; i++) {" +
" elements[i].style.color = '#FF0000';" +
" }"+
"}"+
"changePColor();";
return customScript;
}
}
Fixed Layout
Fixes the issues that when page is magnified, swipe gestures are hardly detected. (in none or slide transition)
Fixes the bug that when device is rotated, sometimes wrong page is displayed.
Added new functions
/** for landscape mode, set the image which should be located between two pages */
-(void)setPagesCenterImageName:(UIImage*)pagesCenterImage;
/** set the image which is used for resembling the stack of pages on both side of book. */
-(void)setPagesStackImage:(UIImage*)pagesStackImage;
/** enable/disable navigation area on both sides */
-(void)setNavigationAreaEnabled:(BOOL)enabled;
Fixed Layout
Added and modified Constructors like below.
/** init with Start pageIndex
@param startPageIndex is integer value to indicate the index of start page.
*/
-(id)initWithStartPageIndex:(int)startPageIndex;
/** init with Start pageIndex
@param startPageIndex the integer value to indicate the index of start page.
@param spread rendition spread in opf (eg. SpreadNone, SpreadAuto, SpreadPortrait, SpreadLandscape, SpreadeBoth)
*/
-(id)initWithStartPageIndex:(int)pageIndex spread:(int)spreadType;
/** init with Start position
@param start the double value to indicate the position of start page. (eg. 0.0f~1.0f)
@param spread rendition spread in opf (eg. SpreadNone, SpreadAuto, SpreadPortrait, SpreadLandscape, SpreadeBoth)
*/
-(id)initWithStartPosition:(double)startPosition spread:(int)spreadType;
Fixed Layout
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Greatly Improves The Performance For PageTransition of Curling
Pages Automatically spread according to SpreadAuto and SpeadBoth property in Opf.
Reflowable Layout
Fixed the bug that sometimes pagenation malfunctioned.
Fixed Layout
Improved the performance greatly using multiple caching and smart loading.
Spread property in Opf such as SpreadNone, SpreadAuto, SpreadBoth is now applied.
Fixed Layout
Fixed Bugs that sometimes fixed layout epub which is created by specific tool is failed to open.
Animation Effect is added to PageTransition.Slide in Fixed Layout.