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

TOPIC:

How to get thumbnail of a list of pdf files. 5 years 6 months ago #14129

  • support
  • support's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
You shall look www.radaeepdf.com/documentation/javadocs...ee/pdf/Document.html.
Find the Open() method definition.

If PDF is not password protected m_pwd shall be null, otherwise it shall contain the proper string.
If your documents have different passwords you shall provide the Open() the proper value, ie.: loading all the passwords in an array m_pwd[] and cycling through the index while doing the for{} cycle.

You should also modify the Open statement like this:
int iOpened=doc.Open(m_path, null) 
if(iOpened == -1) iOpened = doc.Open(m_path, m_pwd)
if(iOpened == 0) {
...
}

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

How to get thumbnail of a list of pdf files. 5 years 6 months ago #14131

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
No, the page content or page thumb image is encrypted.
so, it require password to decrypt it.

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

  • Page:
  • 1
Powered by Kunena Forum