Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Curl and controls 9 years 4 days ago #8829

  • Truerall
  • Truerall's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi

I need to implement pdf reader in my app. I deciced to do it using this lib.
What I have found surfing demo project:
- I can implement nice and fast viewer with controls using PDFLayoutView and PDFViewController classes.
- I can impement Curl effect on page change using CurlView class.

But I cant connect privous two cases. PDFViewController cant be attached to CurlView.
Also I tried
m_view.PDFSetView(2); // m_view is instance of PDFLayoutView
because I have found next topic
www.radaeepdf.com/forum/Android-developm...er-pdfsetview-x#8319
during forum search.

and here is my question :

Is there way to implement curl page change with controls using this library ?

Please Log in or Create an account to join the conversation.

Curl and controls 9 years 3 days ago #8832

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
As the layout PDFLayoutView is not yet defenitive, and the Curl view class is based on OpenGl interfaces the zoom feature is not yet supported.


File Attachment:

File Name: PDFViewCurl.java
File Size:12 KB

Here you can find an example of a class that is based on PDFViewDual, that supports curl effect (in case zoom factor = 1), and uses the curl effect from the native library. (note: some variables in PDFView needs to be protected and to modify these classes you need at least the professional license)
Attachments:

Please Log in or Create an account to join the conversation.

Curl and controls 8 years 11 months ago #8902

  • Truerall
  • Truerall's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Thank you very much for your help!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum