|
htmlBlockQuote
Indented text block class | [Previous] [Main] [Next] |
| htmlBlockQuote encapsulates the <BLOCKQUOTE></BLOCKQUOTE> tags. It is used to indent a block of text. htmlBlockQuote elements start on a new line. Many browsers, including Netscape Navigator, add extra space before htmlBlockQuote elements.
| |
|
| |
| #include <dcmicro/htmlpp/blockquo.h>
| |
|
| |
| |
|
| |
| Text Formatting Classes in the User's Guide
| |
|
| |
| None.
| |
|
| |
| htmlBlockQuote()
| |
| Constructs an empty object.
| |
|
| |
| htmlBlockQuote( const htmlObject& element )
| |
| Constructs an object, inserting element into it.
| |
|
| |
| htmlBlockQuote( const String& text )
| |
| Constructs an object, inserting the string text into it.
| |
|
| |
| Destructor
|
| virtual ~htmlBlockQuote()
| |
| Destroys the object.
| |
|
| |
| void Print( ostream& os ) const
| ||
| Outputs the object to os.
| |
|
| |
| Clone | htmlObject FAR * Clone() const
| |
| Returns a base-class pointer to a deep copy of the object.
| |
|
| |
|
| |
| #include <stdio.h>
| |
| #include <stdlib.h>
| |
| #include <dcmicro/htmlpp/htmlpp.h>
| |
|
| |
| int main( void )
| |
| {
| |
| htmlCgi server ;
| |
| htmlPage page( "html++ example application" ) ;
| |
|
| |
| page << "This line is not indented."
| |
| << htmlBreak()
| |
| << htmlBlockQuote( "This text is indented." )
| |
| << htmlBreak() ;
| |
|
| |
| server << page ;
| |
| return 0 ;
| |
| }
| |
|
| |
|
| |
| Content-Type: text/html
| |
| <HTML>
| |
| <HEAD>
| |
| <TITLE>html++ example application</TITLE>
| |
| </HEAD>
| |
| <BODY>This line is not indented.<BR>
| |
| <BLOCKQUOTE>This text is indented.</BLOCKQUOTE>
| |
| <BR>
| |
| </BODY>
| |
| </HTML>
| |
|
| |
| |
|
| |
|
| |
