All Manuals > CLIM 2.0 User Guide > 13 Extended Stream Output Facilities

13.2 Extended Output Streams

In addition to the basic output stream protocol, CLIM defines an extended output stream protocol. This protocol extends the stream model to maintain the state of a text cursor, margins, text styles, inter-line spacing, and so forth.

The extended output stream protocol is discussed in the following two sections, 13.3 The Text Cursor and 13.4 Text.

extended-output-stream Protocol Class

Summary: The protocol class for CLIM extended output streams. This is a subclass of output-stream. If you want to create a new class that behaves like an extended output stream, it should be a subclass of extended-output-stream. Subclasses of extended-output-stream must obey the extended output stream protocol.

extended-output-stream-p Function

extended-output-stream-p object

Summary: Returns t if object is a CLIM extended output stream; otherwise, it returns nil.

:foreground
:background
:default-text-style
:vertical-spacing
:text-margin
:end-of-line-action
:end-of-page-action
:default-view Initargs

Summary: All subclasses of extended-output-stream must handle these initargs, which are used to specify, respectively, the medium foreground and background inks, default text style, vertical spacing, default text margin, end of line and end of page actions, and the default view for the stream.

standard-extended-output-stream Class

Summary: This class provides an implementation of the CLIM extended output stream protocol, based on the CLIM output kernel.

Members of this class are mutable.


CLIM 2.0 User Guide - 01 Dec 2021 19:38:59