Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

CB2::Text Class Reference

Rich text storage. More...

#include <Paragraph.h>

Inheritance diagram for CB2::Text:

CB2::Class List of all members.

Public Types

enum  text_cmd {
  strong, no_strong, em, no_em,
  tt, no_tt
}
 Text commands. More...


Public Member Functions

 Text ()
 Constructor.

 Text (const Text &prev)
 Copy constructor.

const Text & operator= (const Text &prev)
 Assignment operator.

Text & operator<< (const String &text)
 Concatenation.

Text & operator<< (const Anchor &anchor)
 Concatenation.

Text & operator<< (const text_cmd &cmd)
 Concatenation.

String HTML () const
 Render HTML output.


Public Attributes

int tag
 Tag for user-specific data.


Private Types

typedef List< text_component > text_components
 Components of rich text type.


Private Attributes

text_components components
 Components of rich text.


Detailed Description

Rich text storage.

Class for storing rich text.


Member Typedef Documentation

typedef List< text_component> CB2::Text::text_components [private]
 

Components of rich text type.


Member Enumeration Documentation

enum CB2::Text::text_cmd
 

Text commands.

Commands representing logical text styles.

Enumeration values:
strong  Strong (bold).
no_strong  Strong off.
em  Emphasis (italics).
no_em  Emphasis off.
tt  Preformatted.
no_tt  Preformatted off.


Constructor & Destructor Documentation

Text::Text (   ) 
 

Constructor.

Text::Text (  const Text &  prev  ) 
 

Copy constructor.


Member Function Documentation

String Text::HTML (   )  const
 

Render HTML output.

Text & Text::operator<< (  const text_cmd &  cmd  ) 
 

Concatenation.

Text & Text::operator<< (  const Anchor &  anchor  ) 
 

Concatenation.

Text & Text::operator<< (  const String &  text  ) 
 

Concatenation.

const Text & Text::operator= (  const Text &  prev  ) 
 

Assignment operator.


Member Data Documentation

text_components CB2::Text::components [private]
 

Components of rich text.

int CB2::Class::tag [inherited]
 

Tag for user-specific data.


The documentation for this class was generated from the following files:
Generated on Thu Sep 16 23:26:50 2004 for ColorBox2 by doxygen 1.3.7