os_list_item |
An os_list_item
is an item within a list, such as an os_ordered_list, os_unordered_list, an
os_directory_list, or an os_menu_list.
An os_list_item
can be preceded by a mark, such as a bullet or number, depending on the list
type. The type of mark specified for the containing list can be overridden in an
os_list_item through the mark() member function. All marker values are not
appropriate for all list types. Note that the mark()member function supports an
HTML extension implemented by Netscape browsers.
Elements are inserted into an os_list_item
through the constructor, or through either the add() member function or operator<<
.
By default, within an os_ordered_list, an os_list_item is numbered in sequence from the previous os_list_item. The sequence counter can be specified for an os_list_item through the counter() member function. The next os_list_item is numbered from the new counter value. The counter()member function supports a feature proposed for HTML 3.0 and may not be supported by all browsers.
enum os_list_item::marker
{
// *** List items within an unordered list:
disc, // Marks the list item with a filled circle.
circle, // Marks the list item with an unfilled circle.
square, // Marks the list item with a filled square.
// *** List items within an ordered list:
standard_arabic, // Marks the list item with Arabic numerals.
uppercase_letter, // Marks the list item with an uppercase letter.
lowercase_letter, // Marks the list item with a lowercase letter.
uppercase_roman, // Marks the list item with uppercase Roman numerals.
lowercase_roman // Marks the list item with lowercase Roman numerals.
};
os_text element created from text
.os_element::use_default if not set.Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved