Common Lisp Interface Manager 2.0 User's Guide > Chapter 17 Formatted Output > 17.5 Advanced Topics > 17.5.1 The Table Formatting Protocol

NextPrevUpTopContentsIndex

17.5.1.2 The Cell Formatting Protocol

Any output record class that implements the following generic functions is said to support the cell formatting protocol.

cell-output-record [Protocol Class]	

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

cell-output-record-p [Function]	

Arguments: object

Summary: Returns t if object is a cell output record; otherwise. it returns nil .

:align-x

:align-y

:min-width

:min-height

Summary: All subclasses of cell-output-record must handle these initargs, which are used to specify, respectively, the x and y alignment, and the minimum width and height attributes of the cell.

standard-cell-output-record

Summary: The instantiable class of output record that represents a single piece of output within a table row or column, or an item list. Its children will either be presentations or output records that represent displayed output. This is a subclass of cell-output-record .

cell-align-x [Generic Function]

Arguments: cell

cell-align-y [Generic Function]

Arguments: cell

cell-min-width [Generic Function]

Arguments: cell

cell-min-height [Generic Function]

Arguments: cell

Summary: These functions return, respectively, the x and y alignment and minimum width and height of the cell output record cell .


Common Lisp Interface Manager 2.0 User's Guide - 22 Dec 2009

NextPrevUpTopContentsIndex