When a PDF file is opened, add-in reads the "Bookmark" and "Page" values (both are REG_SZ strings) from a registry key (location set in code).
If "Bookmark" contains a value:
? the PDF needs to open at the bookmark name specified by the text value
? the Bookmark registry value needs to be reset to a blank string
If "Page" contains a value:
? if the value is an integer (numeric) value, the PDF needs to open at the specified page number
? the Page registry value needs to be reset to a blank string
If both values are set to non-blank values:
? The Bookmark value takes precedence over the Page value, so the PDF will open to the Bookmark location
? Both values should be cleared
If neither value exists, the PDF should open as normal
Add-in is to work with Adobe Acrobat and Adobe Reader versions 7 and above for Windows (32 and 64 bit versions). Separate add-ins for each version is acceptable.
We require all source code, as well as a compiled version of the add-in for testing for all versions of the add-in.