// Copyright (C) 1995 Taligent, Inc. All rights reserved. #if 0 --------------------------------------------------------------------------- > Class: | TWebPresenter > Taxonomy Category: | Documented Samples | WebRunner Sample > Interface Category: | Sample. > Inherits From: | TTextPresenter > Inherited By: | None. > Purpose: | TWebPresenter creates the views used to display the TWebModel. It derives from TTextPresenter so that it can create the text view that is properly connected to the text model for notification and communication. > Instantiation: | Allocate on the heap or the stack. > Deriving Classes: | No special considerations. > Concurrency: | _Not_ multithread safe. > Resource Use: | No special requirements. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TWebPresenter::TWebPresenter ; | 1. TWebPresenter () | 2. TWebPresenter (const TGUIBundle & bundle) | 3. TWebPresenter (const TWebPresenter & source) > Interface Category: | Sample. > Purpose: | 1. Default constructor. | 2. Presentation framework constructor. | 3. Copy constructor. > Calling Context: | 1. Called by the stream-in operators. | 2. Called to construct a web presenter using the GUIBundle state. | 3. Called to copy an object. > Parameters: = 1. Takes no parameters. = 2. const TGUIBundle & bundle -The Presentation framework state. = 3. const TWebPresenter & source -The object to copy. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TWebPresenter::~ TWebPresenter ; | virtual ~ TWebPresenter () > Interface Category: | Sample. > Purpose: | Destructor. > Calling Context: | Called to destroy an object. > Parameters: = Takes no parameters. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TWebPresenter::operator >>=; | virtual TStream & operator >>=(TStream & toStream) const > Interface Category: | Sample. > Purpose: | Stream-out operator. > Calling Context: | Called to stream out data. > Parameters: = TStream & toStream -The stream the object streams itself out to. > Return Value: | Returns a reference to the stream the object streams itself out to. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TWebPresenter::operator <<= ; | virtual TStream & operator <<= (TStream & fromStream) > Interface Category: | Sample. > Purpose: | Stream-in operator. > Calling Context: | Called to stream in data. > Parameters: = TStream & fromStream -The stream the object streams itself in from. > Return Value: | Returns a reference to the stream the object streams itself in from. > Exceptions: | Throws TInvalidVersionError if the object version isn't known. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TWebPresenter::HandleCreateMainView ; | virtual TView * HandleCreateMainView (TGUIBundle * bundle) const > Interface Category: | Sample. > Purpose: | Creates the primary view (TWebView) for the display of the WebRunner Sample document. > Calling Context: | Called by the Presentation framework. > Parameters: = TGUIBundle * bundle -The Presentation framework state bundle. > Return Value: | Returns the newly created view. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TWebPresenter::HandleCreateContentTextView ; | virtual TDocumentTextView * HandleCreateContentTextView (TGUIBundle * bundle) const > Interface Category: | Sample. > Purpose: | Creates the text view (TEmbedderTextView) that is displayed in the WebRunner Sample document. This view is not clipped. > Calling Context: | Called by the Text Editing framework. > Parameters: = TGUIBundle * bundle -The Presentation framework state bundle. > Return Value: | Returns the newly created view. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TWebPresenter::HandleCreateContentClippingView ; | virtual TView * HandleCreateContentClippingView (TDocumentTextView * viewToAdopt) const > Interface Category: | Sample. > Purpose: | Creates the scrolling view (TScrollingView) that is used to display the content text view within the WebRunner Sample document. > Calling Context: | Called by the Text Editing framework. > Parameters: = TDocumentTextView * viewToAdopt -The text view to clip. > Return Value: | Returns the clipping view with the internal text view adopted within itself. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif