Logo Search packages:      
Sourcecode: hitop version File versions

elements.cc

#include "elements.h"

map<TokenMap::Token,int> g_HTMLFlags;

void InitElements(){
  g_HTMLFlags[TokenMap::A]=Container;
  //g_HTMLFlags["/A"]=;
  g_HTMLFlags[TokenMap::ABBR]=Container;
  //g_HTMLFlags["/ABBR"]=;
  g_HTMLFlags[TokenMap::ACRONYM]=Container;
  //g_HTMLFlags["/ACRONYM"]=;
  g_HTMLFlags[TokenMap::ADDRESS]=Container;
  //g_HTMLFlags["/ADDRESS"]=;
  g_HTMLFlags[TokenMap::APPLET]=Container;
  //g_HTMLFlags["/APPLET"]=;
  //g_HTMLFlags["AREA"]=;
  g_HTMLFlags[TokenMap::B]=Container;
  //g_HTMLFlags["/B"]=;
  //g_HTMLFlags["BASE"]=;
  //g_HTMLFlags[TokenMap::BASEFONT]=;
  g_HTMLFlags[TokenMap::BDO]=Container;
  //g_HTMLFlags["/BDO"]=;
  g_HTMLFlags[TokenMap::BIG]=Container;
  //g_HTMLFlags["/BIG"]=;
  g_HTMLFlags[TokenMap::BLOCKQUOTE]=Container;
  //g_HTMLFlags["/BLOCKQUOTE"]=;
  g_HTMLFlags[TokenMap::BODY]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHBODY]=Before|After;
  g_HTMLFlags[TokenMap::BR]=After;
  g_HTMLFlags[TokenMap::BUTTON]=Container;
  //g_HTMLFlags["/BUTTON"]=;
  g_HTMLFlags[TokenMap::CAPTION]=Container;
  //g_HTMLFlags["/CAPTION"]=;
  g_HTMLFlags[TokenMap::CENTER]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHCENTER]=Before|After;
  g_HTMLFlags[TokenMap::CITE]=Container;
  //g_HTMLFlags["/CITE"]=;
  g_HTMLFlags[TokenMap::CODE]=Container;
  //g_HTMLFlags["/CODE"]=;
  //g_HTMLFlags["COL"]=;
  g_HTMLFlags[TokenMap::COLGROUP]=Container;
  //g_HTMLFlags["/COLGROUP"]=;
  g_HTMLFlags[TokenMap::DD]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHDD]=After;
  g_HTMLFlags[TokenMap::DEL]=Container;
  //g_HTMLFlags["/DEL"]=;
  g_HTMLFlags[TokenMap::DFN]=Container;
  //g_HTMLFlags["/DFN"]=;
  g_HTMLFlags[TokenMap::DIR]=Container;
  //g_HTMLFlags["/DIR"]=;
  g_HTMLFlags[TokenMap::DIV]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHDIV]=Before|After;
  g_HTMLFlags[TokenMap::DL]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHDL]=Before|After;
  g_HTMLFlags[TokenMap::DT]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHDT]=After;
  g_HTMLFlags[TokenMap::EM]=Container;
  //g_HTMLFlags["/EM"]=;
  g_HTMLFlags[TokenMap::FIELDSET]=Container;
  //g_HTMLFlags["/FIELDSET"]=;
  g_HTMLFlags[TokenMap::FONT]=Container;
  //g_HTMLFlags["/FONT"]=;
  g_HTMLFlags[TokenMap::FORM]=Container;
  //g_HTMLFlags["/FORM"]=;
  //g_HTMLFlags["FRAME"]=;
  g_HTMLFlags[TokenMap::FRAMESET]=Container;
  //g_HTMLFlags["/FRAMESET"]=;
  g_HTMLFlags[TokenMap::H1]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHH1]=After;
  g_HTMLFlags[TokenMap::H2]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHH2]=After;
  g_HTMLFlags[TokenMap::H3]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHH3]=After;
  g_HTMLFlags[TokenMap::H4]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHH4]=After;
  g_HTMLFlags[TokenMap::H5]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHH5]=After;
  g_HTMLFlags[TokenMap::H6]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHH6]=After;
  g_HTMLFlags[TokenMap::HEAD]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHHEAD]=Before|After;
  g_HTMLFlags[TokenMap::HR]=Before|After;
  g_HTMLFlags[TokenMap::HTML]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHHTML]=Before|After;
  g_HTMLFlags[TokenMap::I]=Container;
  //g_HTMLFlags["/I"]=;
  g_HTMLFlags[TokenMap::IFRAME]=Container;
  //g_HTMLFlags["/IFRAME"]=;
  //g_HTMLFlags["IMG"]=;
  //g_HTMLFlags["INPUT"]=;
  g_HTMLFlags[TokenMap::INS]=Container;
  //g_HTMLFlags["/INS"]=;
  //g_HTMLFlags[TokenMap::ISINDEX]=;;
  g_HTMLFlags[TokenMap::KBD]=Container;
  //g_HTMLFlags["/KBD"]=;
  g_HTMLFlags[TokenMap::LABEL]=Container;
  //g_HTMLFlags["/LABEL"]=;
  g_HTMLFlags[TokenMap::LEGEND]=Container;
  //g_HTMLFlags["/LEGEND"]=;
  g_HTMLFlags[TokenMap::LI]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHLI]=After;
  g_HTMLFlags[TokenMap::LINK]=Before|After;
  g_HTMLFlags[TokenMap::MAP]=Container;
  //g_HTMLFlags["/MAP"]=;
  g_HTMLFlags[TokenMap::MENU]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHMENU]=Before|After;
  //g_HTMLFlags["META"]=;
  g_HTMLFlags[TokenMap::NOFRAMES]=Container;
  //g_HTMLFlags["/NOFRAMES"]=;
  g_HTMLFlags[TokenMap::NOSCRIPT]=Container;
  //g_HTMLFlags["/NOSCRIPT"]=;
  g_HTMLFlags[TokenMap::OBJECT]=Container;
  //g_HTMLFlags["/OBJECT"]=;
  g_HTMLFlags[TokenMap::OL]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHOL]=Before|After;
  g_HTMLFlags[TokenMap::OPTGROUP]=Container;
  //g_HTMLFlags["/OPTGROUP"]=;
  g_HTMLFlags[TokenMap::OPTION]=Container;
  //g_HTMLFlags["/OPTION"]=;
  g_HTMLFlags[TokenMap::P]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHP]=After;
  //g_HTMLFlags[TokenMap::PARAM]=;
  g_HTMLFlags[TokenMap::PRE]=Container;
  //g_HTMLFlags["/PRE"]=;
  g_HTMLFlags[TokenMap::Q]=Container;
  //g_HTMLFlags["/Q"]=;
  g_HTMLFlags[TokenMap::S]=Container;
  //g_HTMLFlags["/S"]=;
  g_HTMLFlags[TokenMap::SAMP]=Container;
  //g_HTMLFlags["/SAMP"]=;
  g_HTMLFlags[TokenMap::SCRIPT]=Container;
  //g_HTMLFlags["/SCRIPT"]=;
  g_HTMLFlags[TokenMap::SELECT]=Container;
  //g_HTMLFlags["/SELECT"]=;
  g_HTMLFlags[TokenMap::SMALL]=Container;
  //g_HTMLFlags["/SMALL"]=;
  g_HTMLFlags[TokenMap::SPAN]=Container;
  //g_HTMLFlags["/SPAN"]=;
  g_HTMLFlags[TokenMap::STRIKE]=Container;
  //g_HTMLFlags["/STRIKE"]=;
  g_HTMLFlags[TokenMap::STRONG]=Container;
  //g_HTMLFlags["/STRONG"]=;
  g_HTMLFlags[TokenMap::STYLE]=Container;
  //g_HTMLFlags["/STYLE"]=;
  g_HTMLFlags[TokenMap::SUB]=Container;
  //g_HTMLFlags["/SUB"]=;
  g_HTMLFlags[TokenMap::SUP]=Container;
  //g_HTMLFlags["/SUP"]=;
  g_HTMLFlags[TokenMap::TABLE]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHTABLE]=Before|After;
  g_HTMLFlags[TokenMap::TBODY]=Container;
  //g_HTMLFlags["/TBODY"]=;
  g_HTMLFlags[TokenMap::TD]=Container;
  //g_HTMLFlags["/TD"]=;
  g_HTMLFlags[TokenMap::TEXTAREA]=Container;
  //g_HTMLFlags["/TEXTAREA"]=;
  g_HTMLFlags[TokenMap::TFOOT]=Container;
  //g_HTMLFlags["/TFOOT"]=;
  g_HTMLFlags[TokenMap::TH]=Container;
  //g_HTMLFlags["/TH"]=;
  g_HTMLFlags[TokenMap::THEAD]=Container;
  //g_HTMLFlags["/THEAD"]=;
  g_HTMLFlags[TokenMap::TITLE]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHTITLE]=After;
  g_HTMLFlags[TokenMap::TR]=Before|Container;
  g_HTMLFlags[TokenMap::SLASHTR]=After;
  g_HTMLFlags[TokenMap::TT]=Container;
  //g_HTMLFlags["/TT"]=;
  g_HTMLFlags[TokenMap::U]=Container;
  //g_HTMLFlags["/U"]=;
  g_HTMLFlags[TokenMap::UL]=Before|After|Container;
  g_HTMLFlags[TokenMap::SLASHUL]=Before|After;
  g_HTMLFlags[TokenMap::VAR]=Container;
  //g_HTMLFlags["/VAR"]=;
  g_HTMLFlags[TokenMap::PLINGDOCTYPE]=Before|After;
}

Generated by  Doxygen 1.6.0   Back to index