All Manuals > 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.1 The Row and Column Formatting Protocol

Any output record class that implements the following generic functions is said to support the row (or column) formatting protocol.

row-output-record [Protocol Class]	

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

row-output-record-p [Function]	

Arguments: object

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

standard-row-output-record

Summary: The instantiable class of output record that represents a row of output within a table. Its children will be a sequence of cells, and its parent (skipping intervening non-tabular records such as presentations) will be a table output record. This is a subclass of row-output-record .

map-over-row-cells [Generic Function]

Arguments: function row-record

Summary: Applies function to all the cells in the row row-record , skipping intervening non-table output record structure. function is a function of one argument, an output record corresponding to a table cell within the row; it has dynamic extent.

column-output-record [Protocol Class]	

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

column-output-record-p [Function]	

Arguments: object

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

standard-column-output-record

Summary: The instantiable class of output record that represents a column of output within a table. Its children will be a sequence of cells, and its parent (skipping intervening non-tabular records such as presentations) will be a table output record; presentation output records may intervene. This is a subclass of column-output-record .

map-over-column-cells [Generic Function]

Arguments: function column-record

Summary: Applies function to all the cells in the column column-record , skipping intervening non-table output record structure. function is a function of one argument, an output record corresponding to a table cell within the column; it has dynamic extent.


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

NextPrevUpTopContentsIndex