// $Revision: 1.4 $ // Copyright (c) 1995 Taligent, Inc. All rights reserved. #ifndef TaligentSamples_SAMPLETEXTPRESENTATION #define TaligentSamples_SAMPLETEXTPRESENTATION #ifndef Taligent_TEXTPRESENTERSTATE #include #endif class TSampleTextPresenter : public TTextPresenter { public: VersionDeclarationsMacro(TSampleTextPresenter); TSampleTextPresenter(const TGUIBundle&); virtual ~TSampleTextPresenter(); protected: virtual TView* HandleCreateContentClippingView(TDocumentTextView*) const; }; class TSampleTextPresenterState : public TTextPresenterState { public: MCollectibleDeclarationsMacro(TSampleTextPresenterState); TSampleTextPresenterState(); TSampleTextPresenterState(const TSampleTextPresenterState&); virtual ~TSampleTextPresenterState(); TSampleTextPresenterState& operator=(const TSampleTextPresenterState&); protected: virtual TGUIPresenter* HandleCreatePresenter(const TGUIBundle&) const; }; class TSampleTextStationery : public TDocumentComponentStationery { public: MCollectibleDeclarationsMacro(TSampleTextStationery); TSampleTextStationery(); virtual ~TSampleTextStationery(); protected: virtual TModel* CreateModel(); virtual TModelPresenterState* CreateModelPresenterState(); }; #endif // TaligentSamples_SAMPLETEXTPRESENTATION