|
htmlQuote
Quoted text class | [Previous] [Main] [Next] |
| htmlQuote encapsulates the <Q></Q> tags. It is used to mark regions of text that should be rendered as a short quotation. When nested, these tags alternate between matching double or single quotation marks.
| |
|
| |
| #include <dcmicro/htmlpp/styles.h>
| |
|
| |
| |
|
| |
| Text Formatting Classes in the User's Guide
| |
|
| |
| None.
| |
|
| |
| htmlQuote()
| |
| Constructs an empty object.
| |
|
| |
| htmlQuote( const htmlObject& element )
| |
| Constructs an object, inserting element into it.
| |
|
| |
| htmlQuote( const String& text )
| |
| Constructs an object, inserting the string text into it.
| |
|
| |
| virtual ~htmlQuote()
| |
| Destroys 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 text is " << htmlQuote( "quoted." )
| |
| << htmlBreak() ;
| |
|
| |
| server << page ;
| |
| return 0 ;
| |
| }
| |
|
| |
|
| |
| Content-Type: text/html
| |
| <HTML>
| |
| <HEAD>
| |
| <TITLE>html++ example application</TITLE>
| |
| </HEAD>
| |
| <BODY>
| |
| This text is <Q>quoted.</Q>
| |
| <BR>
| |
| </BODY>
| |
| </HTML>
| |
|
| |
|
| |
| |
