Interface for listening to document load events.
Called when the PDF is loaded.
Called if an error occurred while opening the PDF.
Called when the PDF loading process starts.