#include <style.hh>

Public Member Functions | |
| StyleClass (void) | |
| Constructor. | |
| ~StyleClass (void) | |
| Destructor. | |
| void | putAttr (writer &w) const |
| Write an attribute. | |
| StyleClass & | setColor (const color &c) |
| Set the color attribute. | |
| StyleClass & | setFace (const font &c) |
| Set the font attribute. | |
| StyleClass & | setSize (const size &c) |
| Set the size attribute. | |
| StyleClass & | setWeight (const std::string &c) |
| Set the weight attribute. | |
| html::StyleClass::StyleClass | ( | void | ) |
Constructor.
Construct a style specifier.
| html::StyleClass::~StyleClass | ( | void | ) |
Destructor.
Destroy a style specifier.
| void html::StyleClass::putAttr | ( | writer & | w | ) | const [virtual] |
Write an attribute.
Write an attribute to the a document.
| w | Writer to whic the attribute will be written. |
Reimplemented from html::attList.
| StyleClass& html::StyleClass::setColor | ( | const color & | c | ) |
Set the color attribute.
Set the style color attribute.
| c | Color attribute. |
| StyleClass& html::StyleClass::setFace | ( | const font & | c | ) |
Set the font attribute.
Set the style font face attribute.
| c | Font attribute. |
| StyleClass& html::StyleClass::setSize | ( | const size & | c | ) |
| StyleClass& html::StyleClass::setWeight | ( | const std::string & | c | ) |
Set the weight attribute.
Set the style weight attribute.
| c | Weight attribute. |
1.5.4