I used the code here to convert a pdf file to text: https://www.b4x.com/android/forum/threads/read-a-text-in-file-pdf.61945/
It works beautifully for a normal non-encrypted pdf file.
For an encrypted file, it puts the following in the log portion of the IDE:
INFO: Document is encrypted
I want my code to capture that line so that my code can be aware that the file is encrypted.
Is there any way to capture that log entry?
Thank you in advance for the assistance.
It works beautifully for a normal non-encrypted pdf file.
For an encrypted file, it puts the following in the log portion of the IDE:
INFO: Document is encrypted
I want my code to capture that line so that my code can be aware that the file is encrypted.
Is there any way to capture that log entry?
Thank you in advance for the assistance.