html::textAttr Class Reference
[Html Document preparation]

#include <textAttr.hh>

Inheritance diagram for html::textAttr:

html::attList

List of all members.

Public Member Functions

 textAttr (void)
 Constructor.
virtual ~textAttr (void)
 destructor.
const colorgetColor (void) const
 Get the color.
const fontgetFont (void) const
 Get the font.
const sizegetSize (void) const
 Get the font size.
void setFont (const font &x)
 Set the font attribute.
void setColor (const color &x)
 Set the color attribute.
void setSize (const size &x)
 set the size attribute
void merge (const textAttr &x)
 Merge attribute lists.
void merge (const attList &x)
 Merge attribute lists.
void suppress (const textAttr &x)
 Suppress specified attributes.


Detailed Description

brief Text data attribute API The textAttr class holds the text attributes.
Author:
J. Zweizig
Version:
"$Header: /ldcg_server/common/repository_gds/gds/IO/html/textAttr.hh,v 1.4 2008/04/15 21:24:57 jzweizig Exp $"

Constructor & Destructor Documentation

html::textAttr::textAttr ( void   ) 

Constructor.

Construct a text attribute list.

virtual html::textAttr::~textAttr ( void   )  [inline, virtual]

destructor.

Destroy a text attribute list.


Member Function Documentation

const color& html::textAttr::getColor ( void   )  const

Get the color.

Get the color attribute.

Returns:
Color attribute.

const font& html::textAttr::getFont ( void   )  const

Get the font.

Get the font type attribute.

Returns:
Font attribute.

const size& html::textAttr::getSize ( void   )  const

Get the font size.

Get the font size attribute.

Returns:
Size sttributue

void html::textAttr::setFont ( const font x  ) 

Set the font attribute.

Set the font face attribute.

Parameters:
x New font attribute

void html::textAttr::setColor ( const color x  ) 

Set the color attribute.

Set the text color attribute.

Parameters:
x New color attribute

void html::textAttr::setSize ( const size x  ) 

set the size attribute

Set the size attribute.

Parameters:
x new size attribute

void html::textAttr::merge ( const textAttr x  ) 

Merge attribute lists.

Merge specified attribute list with the current attributes.

Parameters:
x Attribute list to be merged.

void html::textAttr::merge ( const attList x  )  [inline, virtual]

Merge attribute lists.

Merge specified attribute list with the current attributes.

Parameters:
x Attribute list to be merged.

Reimplemented from html::attList.

void html::textAttr::suppress ( const textAttr x  ) 

Suppress specified attributes.

Remove any attributes in a specified list.

Parameters:
x List of attributes to be suppressed.


The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:32 2009 for dmt by  doxygen 1.5.4