public final TextModel getTextModel()
throws java.io.IOException
Fetches the document contents. This calls opens the document and loads
its contents. The document instance returned lives while clients refer
to it. Once a document instance is not referred by clients it may be
garbage collected at any time.