Used for receiving notifications about the document state.
Called when the document is set and ready.
Called when the document is set and ready. It can be used to safely perform document related actions that need the document to be set, like setting the current page, etc. This is called after all the layout and measurements are done for the document after setting it.