00001
00002 #ifndef HTML_HLINE_HH
00003 #define HTML_HLINE_HH
00004
00005 #include "html/object.hh"
00006 #include "html/Attrib.hh"
00007 #include <string>
00008
00009 namespace html {
00010 class writer;
00011
00019 class hline : public object {
00020 public:
00024 hline(void);
00025
00030 hline (const std::string& wid);
00031
00035 ~hline(void);
00036
00041 hline* clone(void) const;
00042
00047 void write(writer& out) const;
00048
00054 void setWidth(const std::string& w);
00055
00060 void setSize(const std::string& w);
00061 private:
00062 attList mAttr;
00063 };
00064 }
00065
00066 #endif // HTML_HLINE_HH