#include <font.hh>

Public Member Functions | |
| font (void) | |
| Default constructor. | |
| font (const std::string &face) | |
| Named font constructor. | |
| ~font (void) | |
| Destructor. | |
| font * | clone (void) const |
| Clone alignment. | |
| bool | isDefault (void) const |
| void | putAttr (writer &w) const |
| Write the font. | |
| bool | operator== (const font &x) const |
| Compare operator. | |
| void | setDefault (void) |
| Set default font. | |
| void | setFace (const std::string &face) |
| Set the font face. | |
| const char * | getFace (void) const |
| Get the face name. | |
Text font attribute class.
| html::font::font | ( | void | ) |
| html::font::font | ( | const std::string & | face | ) |
| font* html::font::clone | ( | void | ) | const [virtual] |
Clone alignment.
Make an identical copy of the alignment object.
Implements html::attrib.
| bool html::font::isDefault | ( | void | ) | const [virtual] |
Test whether the font is the default value.
Reimplemented from html::attrib.
| void html::font::putAttr | ( | writer & | w | ) | const [virtual] |
Write the font.
Write the font attribute to the specified html writer.
| w | Html writer reference. |
Reimplemented from html::attrib.
| bool html::font::operator== | ( | const font & | x | ) | const [inline] |
| void html::font::setFace | ( | const std::string & | face | ) |
| const char * html::font::getFace | ( | void | ) | const [inline] |
Get the face name.
Get the font face name.
1.5.4