public void Initialize()
        {
            mainViewModel.ExitCommand = exitCommand;

            richTextDocumentType = new RichTextDocumentType();
            documentManager.Register(richTextDocumentType);
            documentManager.Register(new XpsExportDocumentType());
        }
 public RichTextDocument(RichTextDocumentType documentType, FlowDocument content)
     : base(documentType)
 {
     this.content = content;
 }
 public RichTextDocument(RichTextDocumentType documentType)
     : this(documentType, new FlowDocument())
 {
 }