mPDFDoc.isModified() returns TRUE wrongly

Hello,

using the same file, in the ViewerActivity.java of CompleteReader isModified() returns sometimes TRUE right after initializing mPDFDoc:

mPDFDoc = new PDFDoc(mCurrentFile.getAbsolutePath());

Log.d("+++", "pdf modified: " + mPDFDoc.isModified());

Is this a bug on your site or something I should/can manage?

Regards
David

IsModified() may return true immediately after PDFDoc() … if the PDF file is corrupt.

In this case PDFNet will attempt to auto-repair the file… which involves making changes to the document (hence IsModified() → true).

To confirm please feel free to send a sample file to support at pdftron.