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

TOPIC:

RadaeePDF API Changes 2 years 1 month ago #15710

  • Kudryavtsev
  • Kudryavtsev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
Hi,
We have a standard licence for RadaeePDF and currently using ver. 3.53 of the library. We wanted to update it to ver. 3.65.8 but faced the following issue: available API was changed and the following methods are no longer available:
- PDFGetCurrentScrollPosition,
- PDFScrollToPosition,
- OnPDFScrollChanged.

Is there any workaround or any API to use instead? We need to implement full screen view mode.

Also we would like to know if it is possible to add any API to set vertical indent BEFORE the first page only?

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

RadaeePDF API Changes 2 years 1 month ago #15711

  • radaee
  • radaee's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
PDFLayoutView.PDFGetX()
PDFLayoutView.PDFGetY()
PDFScrollToPage()

there is no OnPDFScrollChanged, but this can implement by yourself.
in PDFLayoutView.onDraw()  can get x and y from layout object.
 
The following user(s) said Thank You: Kudryavtsev

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

RadaeePDF API Changes 2 years 1 month ago #15712

  • Kudryavtsev
  • Kudryavtsev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
Thanks for your reply.

Are there any plans to add any API to set vertical indent BEFORE the first page ONLY? Maybe you can suggest how to change it using current API? vSetPageGap that is available now is not what we need.

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

RadaeePDF API Changes 2 years 1 month ago #15715

  • radaee
  • radaee's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
dear user:
it is possible:
replace package "com.radaee.pdf" and "com.radaee.util"
replace native libraries.

then, fix compile error one by one.
mostly, API are declared as same function.

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

RadaeePDF API Changes 2 years 1 month ago #15716

  • Kudryavtsev
  • Kudryavtsev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
Not sure that I understand you. My question is: how to set vertical indent BEFORE the first page ONLY using existing API.

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

RadaeePDF API Changes 2 years 1 month ago #15717

  • radaee
  • radaee's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
sorry,
what i mean is:
you can keep your old PDFLayoutView class and old layout classes, or even old PDFView classes.
only replace JNI interface java codes.

replace package "com.radaee.pdf" and "com.radaee.util"
and replace native libraries.

then fix compile issue one by one.
in this way, you can update new libraries to your project, and you can still keep your old viewer classes.

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

Last edit: by radaee.
Powered by Kunena Forum