Retrieves the document contained in this window.
public DhDocument getDocument()
Returns the document associated with this window.
The result can be null if the document is not accessible (for example, because of security restrictions).