highlight::ElementStyle Class Reference

The class stores the basic text formatting properties. More...

List of all members.

Public Member Functions

 ElementStyle (StyleColour col, bool b, bool i, bool u)
 ElementStyle (const string &elementStyleString)
void set (const string &elementStyleString)
bool isItalic () const
bool isBold () const
bool isUnderline () const
StyleColour getColour () const


Detailed Description

The class stores the basic text formatting properties.

Author:
Andre Simon


Constructor & Destructor Documentation

highlight::ElementStyle::ElementStyle ( StyleColour  col,
bool  b,
bool  i,
bool  u 
)

Constructor

Parameters:
col Style colour
b Bold flag
i Italic flag
u Underline flag

highlight::ElementStyle::ElementStyle ( const string &  elementStyleString  ) 

Constuctor

Parameters:
elementStyleString String with fotmatting information


Member Function Documentation

void highlight::ElementStyle::set ( const string &  elementStyleString  ) 

initialize object

Parameters:
elementStyleString String which contains formatting attributes

bool highlight::ElementStyle::isItalic (  )  const

Returns:
True if italic

bool highlight::ElementStyle::isBold (  )  const

Returns:
True if bold

bool highlight::ElementStyle::isUnderline (  )  const

Returns:
True if underline

StyleColour highlight::ElementStyle::getColour (  )  const

Returns:
Element colour


The documentation for this class was generated from the following files:
Generated on Fri Apr 27 13:12:36 2007 for Highlight Code Converter by  doxygen 1.5.2