pdf: Add support for adding other types of annotations

Implementing switch/case to support new annotations as they are implemented.