add Document Action Listener
Adds a DocumentActionListener that can handle actions bound to PDF objects. If the listener has already been added previously, this method will be a no-op. Adding null
is not allowed, and will result in an exception.
Parameters
listener
DocumentActionListener that should be notified. Must be non-null.