home *** CD-ROM | disk | FTP | other *** search
/ Media Share 13 / mediashare_13.zip / mediashare_13 / ZIPPED / PROGRAM / WTJ9403.ZIP / OTEXT / SRVRITEM.H < prev    next >
C/C++ Source or Header  |  1994-01-01  |  762b  |  31 lines

  1. // srvritem.h : interface of the COTextSrvrItem class
  2. //
  3.  
  4. class COTextSrvrItem : public COleServerItem
  5. {
  6.     DECLARE_DYNAMIC(COTextSrvrItem)
  7.  
  8. // Constructors
  9. public:
  10.     COTextSrvrItem(COTextDoc* pContainerDoc);
  11.  
  12. // Attributes
  13.     COTextDoc* GetDocument() const
  14.         { return (COTextDoc*)COleServerItem::GetDocument(); }
  15.  
  16. // Implementation
  17. public:
  18.     ~COTextSrvrItem();
  19. #ifdef _DEBUG
  20.     virtual void AssertValid() const;
  21.     virtual void Dump(CDumpContext& dc) const;
  22. #endif
  23.     virtual BOOL OnDraw(CDC* pDC, CSize& rSize);
  24.     virtual BOOL OnGetExtent(DVASPECT dwDrawAspect, CSize& rSize);
  25.  
  26. protected:
  27.     virtual void Serialize(CArchive& ar);   // overridden for document i/o
  28. };
  29.  
  30. /////////////////////////////////////////////////////////////////////////////
  31.