All Manuals > Common Lisp Interface Manager 2.0 User's Guide > Chapter 17 Formatted Output > 17.5 Advanced Topics

NextPrevUpTopContentsIndex

17.5.2 The Item List Formatting Protocol

item-list-output-record [Protocol Class]	

Summary: The protocol class that represents an item list; a subclass of output-record . If you want to create a new class that behaves like an item list output record, it should be a subclass of item-list-output-record . Subclasses of item-list-output-record must obey the item list output record protocol.

item-list-output-record-p [Function]	

Arguments: object

Summary: Returns t if object is an item list output record; otherwise, it returns nil .

:x-spacing

:y-spacing

:initial-spacing

:n-rows

:n-columns

:max-width

:max-height

Summary: All subclasses of item-list-output-record must handle these initargs, which specify, respectively, the x and y spacing, the initial spacing, the desired number of rows and columns, and maximum width and height attributes of the item list.

standard-item-list-output-record

Summary: The output record that represents item list output. Its children will be a sequence of cells, with presentations possibly intervening. This is a subclass of item-list-output-record .

map-over-item-list-cells [Generic Function]

Arguments: function item-list-record

Summary: Applies function to all of the cells in item-list-record . map-over-item-list-cells skips over intervening non-table output record structure, such as presentations. function is a function of one argument, an output record corresponding to a cell in the item list; it has dynamic extent.

adjust-item-list-cells [Generic Function]

Arguments: item-list-record stream

Summary: This function is called after the item list output has been collected, but before the record has been replayed. The method on standard-item-list-output-record implements the usual item list layout constraint solver. item-list-record is the item list output record, and stream is the stream on which the item list is displayed.


Common Lisp Interface Manager 2.0 User's Guide - 20 Sep 2011

NextPrevUpTopContentsIndex