comparison src/styleengine.hh @ 1049:a913df1621ac

comments
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Thu, 23 Apr 2009 11:49:25 +0200
parents 4ed33b76809c
children a7f1763fd21e
comparison
equal deleted inserted replaced
1048:52ca66a9a69c 1049:a913df1621ac
6 #include "dw/core.hh" 6 #include "dw/core.hh"
7 #include "doctree.hh" 7 #include "doctree.hh"
8 #include "css.hh" 8 #include "css.hh"
9 #include "cssparser.hh" 9 #include "cssparser.hh"
10 10
11 /**
12 * \brief This class provides the glue between HTML parser and CSS subsystem.
13 *
14 * It maintains a document tree and creates and cashes style objects for use
15 * by the HTML parser.
16 * The HTML parser in turn informs StyleEngine about opened or closed
17 * HTML elements and their attributes via the startElement() / endElement()
18 * methods.
19 */
11 class StyleEngine : public Doctree { 20 class StyleEngine : public Doctree {
12 private: 21 private:
13 class Node : public DoctreeNode { 22 class Node : public DoctreeNode {
14 public: 23 public:
15 dw::core::style::Style *style; 24 dw::core::style::Style *style;