// myex35aDoc.h : interface of the CMyex35aDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYEX35ADOC_H__A9E10CD7_0A56_4CA3_9C42_2AE8C5CCBB13__INCLUDED_)
#define AFX_MYEX35ADOC_H__A9E10CD7_0A56_4CA3_9C42_2AE8C5CCBB13__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CMyex35aSrvrItem;

class CMyex35aDoc : public CRichEditDoc
{
protected: // create from serialization only
	CMyex35aDoc();
	DECLARE_DYNCREATE(CMyex35aDoc)

// Attributes
public:
	CMyex35aSrvrItem* GetEmbeddedItem()
		{ return (CMyex35aSrvrItem*)CRichEditDoc::GetEmbeddedItem(); }

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyex35aDoc)
	protected:
	virtual COleServerItem* OnGetEmbeddedItem();
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL
	virtual CRichEditCntrItem* CreateClientItem(REOBJECT* preo) const;

// Implementation
public:
	virtual ~CMyex35aDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

public:
	virtual CDocObjectServer* GetDocObjectServer(LPOLEDOCUMENTSITE pDocSite);

// Generated message map functions
protected:
	//{{AFX_MSG(CMyex35aDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYEX35ADOC_H__A9E10CD7_0A56_4CA3_9C42_2AE8C5CCBB13__INCLUDED_)

