The core document logic is separated from its view - a document does not care on what view it is hosted.
Following is a diagram that specifies the document - view relation:
So all you need to do is to initialize a NUIDocument instance, set its properties and call the AddDocument method of the document manager. Depending on the current document view a INUIDocumentHost instance will be created which will host the document. Each document has a Client property which specifies the Control instance associated with the document.