os_blockquote


A block of text representing a quotation.

An os_blockquote is a block of elements representing a quotation. As a block-structuring page element that begins a new block on the page, os_blockquote is similar to os_paragraph , os_address , and os_preformatted .

os_blockquote does not contain text or images directly; it contains block-structuring elements (including itself) and elements like lists, tables, and forms. The contents of an os_blockquote are typically rendered indented and with space above and below the quote. Elements are inserted into an os_blockquote through either the add() member function or operator<< .

Declaration

#include <ospace/web/blkquote.h>
class os_blockquote : public os_element_group

Interface

Constructor
os_blockquote( const os_element& element )
Constructs a blockquote containing a copy of element .
Constructor
os_blockquote( const string& text )
Constructs a blockquote containing an os_text element created from text .
clone
/* virtual */ os_element* clone() const
Returns a base class pointer to a heap-based deep copy of the blockquote.
print
/* virtual */ void print( ostream& os ) const
Prints the blockquote to os .

Copyright©1994-2026 Recursion Software LLC
All Rights Reserved