Quote:
Originally Posted by dave2008
AFAIK, PDR is a proprietary format designed by Amazon?
Different pdf viewers might have their own approach to display highlight and annotations. But as long as kindlepdfviewer's highlight format is open, we can always convert it to other formats 
|
Yeah, it is a proprietary file format. PDR file is a file, which is stored in the same folder as PDF file and with the same name except of the filetype.
And here is how it could possibly be used:
1) For the last-page-read.
You add a PDF document to Kindle and the Kindle framework automatically creates a PDR file for each newly-added PDF. You read eg. 5 pages in the default reader and then quit it. After opening KPDF, it reads the last-page-number from the PDR file (it seems that it is the 9th bite+1), because there is no *.kpdfview file. After reading few pages in KPDF and quitting it, KPDF should export the last-page number not only to *.kpdfview, but also to *.pdr. Then again, open that book in the built-in viewer, read few pages and go back to the KPDF. Now, KPDF should check, that the two last-page numbers differ (because you just read the book in the build in viewer) and use the one from PDR.
2) Highlights, comments and bookmarks.
It may be also possible to read all these information from the PDR file, however, I am not so sure about current implementation of all these in the current version of KPDF. When it's ready, then we should consider thinking about supporting Kindle bookmarks, highlights and comments from PDR.
PS: Consider all these information as notes or feature request with low priority, because it is not the main point of developing KPDF.