os_table_row |
An os_table_row
is a row of cells within an os_table , and is
composed of two types of cells: os_table_header and
os_table_data . A cell is inserted into an os_table_row
through either the add() member functions or operator<<
.
An os_table_row
can specify the default horizontal and vertical alignment for the contents of
its cells in a constructor or through the align()
and valign() member functions. An individual cell
can override these default alignment specifications.
Note that os_table_row
, and all other table classes, support features proposed for HTML 3.0 and may
not be supported by all browsers.
enum os_table_row::alignment
{
left, // Aligns the cell contents horizontally against the left margin of the cell.
center, // Centers the cell contents horizontally between the left and right margins of the cell.
right // Aligns the cell contents horizontally against the right margin of the cell.
};
enum os_table_row::valignment
{
top, // Aligns the cell contents vertically against the top margin of the cell.
middle, // Centers the cell contents vertically between the top and bottom margins of the cell.
bottom, // Aligns the cell contents vertically against the bottom margin of the cell.
baseline // Aligns the cell contents vertically with the baseline of text in adjacent cells of the same row.
};
os_table_data
cell containing a copy of element into the row,
and returns a reference to the table row.os_table_data
cell containing an os_text element created from
text into the row, and returns a reference to the
table row.os_table_data
cell containing a copy of element to the row, and
returns a pointer to the new cell.os_table_data
cell containing an os_text element created from
text to the row, and returns a pointer to the new
cell.os_element::align if not set.os_element::valign if not set.Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved