}
-docstring InsetFloatList::xhtml(XHTMLStream &, OutputParams const & op) const {
+docstring InsetFloatList::xhtml(XMLStream &, OutputParams const & op) const {
FloatList const & floats = buffer().params().documentClass().floats();
FloatList::const_iterator cit = floats[to_ascii(getParam("type"))];
// that's how we deal with the fact that we're probably inside a standard
// paragraph, and we don't want to be.
odocstringstream ods;
- XHTMLStream xs(ods);
+ XMLStream xs(ods);
InsetLayout const & il = getLayout();
string const & tag = il.htmltag();
- xs << html::StartTag("div", "class='toc toc-floats'");
- xs << html::StartTag(tag, tocattr)
+ xs << xml::StartTag("div", "class='toc toc-floats'");
+ xs << xml::StartTag(tag, tocattr)
<< toclabel
- << html::EndTag(tag);
+ << xml::EndTag(tag);
Toc::const_iterator it = toc->begin();
Toc::const_iterator const en = toc->end();
continue;
Paragraph const & par = it->dit().innerParagraph();
string const attr = "class='lyxtoc-floats lyxtoc-" + toctype + "'";
- xs << html::StartTag("div", attr);
+ xs << xml::StartTag("div", attr);
string const parattr = "href='#" + par.magicLabel() + "' class='lyxtoc-floats'";
- xs << html::StartTag("a", parattr)
+ xs << xml::StartTag("a", parattr)
<< it->str()
- << html::EndTag("a");
- xs << html::EndTag("div");
+ << xml::EndTag("a");
+ xs << xml::EndTag("div");
}
- xs << html::EndTag("div");
+ xs << xml::EndTag("div");
return ods.str();
}