WebRunner Sample


WebRunner Sample is a viewer for accessing, reading, and navigating through various online informational sources. Information that users can browse might include such items as catalogs, technical documentation, weather reports, magazines, or dinner menus.

Information displayed in WebRunner Sample takes the form of hypertext that uses Hypertext Markup Language (HTML) document format. Within its text, this program embeds hypertext link components which enable the user to navigate to related information.

WebRunner Sample allows users to drag and drop its text and graphics to other documents that support editable text objects. For example, a user could browse through van Gogh's paintings and then choose to embed "Starry Night" in a newsletter that an art gallery uses to announce showings.

To implement these features, WebRunner Sample uses several frameworks and class libraries provided by the CommonPoint system. These include:

This program is specifically designed to show compound document behavior (such as embedding), how to integrate non-CommonPoint data formats such as Graphical Interchange Format (GIF) into CommonPoint documents, and how to provide a smooth interface to the Internet.

WebRunner Sample takes advantage of features provided by the World Wide Web library (LibWWW) developed at CERN (the European Laboratory for Particle Physics). Information about CERN is available through Mosaic` at

    http://info.cern.ch/hypertext/WWW/Library/Status.html.
Information on HTML can be found through Mosaic at

    http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html.
The next section introduces you to the program's high-level architecture.

What can users do? Commands, keys, and controls
Create a browser document that displays the default page (Taligent home page).

Create a browser to display a URL.


Navigate through online informational sources using hypertext links.

Drag and drop text and graphics from WebRunner Sample into documents that accept editable text objects and graphics objects.

Drag and drop hypertext links into documents that accept embedded components.
WebRunnerApp


WebRunnerApp <URL>
For example, WebRunnerApp http://www.taligent.com

Click once with the mouse on embedded text that has an associated link symbol (downward pointing arrow).

Select a range of text from this program, then hold down the shift key and click on the selected range while dragging it to a new location. Release the mouse button at the location you want to integrate the information.

Select a range of text that includes an embedded link component and drag the text to another document. Release the mouse button at the location you want to integrate the text and the link component.

Where's the code? .h files .C files Other files
You'll find the source files online under $TaligentRoot/TaligentSamples/Supported/Apps/WebRunnerSample. At this location are three subprojects, each with its own directory: GraphicDoc, GIFTranslator, and XBMTranslator. Class and member function descriptions are there too, in the Docs subdirectory. To read the description (.d) files, use the SNiFF+ browser. CollectionCopy.h
DecodeXBM.h
FollowURLCommand.h
GIFTranslator.h
GraphicDocumentStationery.h
GraphicDocumentView.h
HypertextScrapItem.h
LibWWWInterface.h
MIMEDataStream.h
URL.h
WebLink.h
WegLinkView.h
WebModel.h
WebPresenter.h
WebPresenterState.h
WebView.h
XBM.h
XBMTranslator.h
FollowURLCommand.C
DecodeXBM.C
GIFTranslator.C
GraphicDocumentStationery.C
GraphicDocumentView.C
HypertextScrapItem.C
Instantiations.C
LibWWWInterface.C
Main.C
MIMEDataStream.C
URL.C
WebLink.C
WebLinkView.C
WebModel.C
WebPresenter.C
WebPresenterState.C
WebView.C
XBM.C
XBMTranslator.C
GIFTranslator.PinkMake
GIFTranslator.txt
GraphicDoc.PinkMake
libwww.alibwww.a
WebRunnerSample.PinkMake
XBMTranslator.PinkMake
XBMTranslator.txt

High-level architecture
Web Document subsystem
Data Access subsystem
Translation subsystem
Web Link subsystem
Command subsystem
Graphic Document subsystem
Interesting mechanisms
Extensions

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker