Page 166 Table of Contents Index Page 168
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 17. TABLE FORMATTING


17.3.3 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]
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 object [Function]
Returns true if object is a cell output record, otherwise returns false.

=> :align-x [Init Arg]
=> :align-y [Init Arg]
=> :min-width [Init Arg]
=> :min-height [Init Arg]
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 [Class]
The instantiable class of output record that represent 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 cell [Generic Function]
=> cell-align-y cell [Generic Function]
=> cell-min-width cell [Generic Function]
=> cell-min-height cell [Generic Function]

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

17.3.4 Item List Formatting Protocol

=> item-list-output-record [Protocol Class]

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 object [Function]


Page 166 Table of Contents Index Page 168
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E