49 kdDebug(30522) << "Element Destructor" << endl;
60 kdDebug(30522) << "FRAMESET PARAMETERS ANALYSE (Element)" << endl;
61 analyseParam(balise_initiale);
67void Element::analyseParam( const TQDomNode balise)
72 _name = getAttr(balise, "name");
73 _type = (SType) getAttr(balise, "frameType").toInt();
74 switch(getAttr(balise, "frameInfo").toInt())
76 case 0: _section = SS_BODY;
78 case 1: _section = SS_HEADERS;
81 case 2: _section = SS_HEADERS;
84 case 3: _section = SS_HEADERS;
87 case 4: _section = SS_FOOTERS;
90 case 5: _section = SS_FOOTERS;
93 case 6: _section = SS_FOOTERS;
96 case 7: _section = SS_FOOTNOTES;
100 kdDebug(30522) << "error : frameinfo unknown!" << endl;
102 setRemovable(getAttr(balise, "removable").toInt());
103 setVisible(getAttr(balise, "visible").toInt());
104 if(getAttr(balise, "grpMgr")!= 0)
107 setGrpMgr(getAttr(balise, "grpMgr"));
109 setRow(getAttr(balise, "row").toInt());
110 setCol(getAttr(balise, "col").toInt());
111 setRows(getAttr(balise, "rows").toInt());
112 setCols(getAttr(balise, "cols").toInt());
114 kdDebug(30522) << "FIN PARAM" << endl;
virtual void analyse(const TQDomNode) Helpfull functions.
|