]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.cpp
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetWrap.cpp
index c8c0ef82f53608c6e7290af3d2737ca3b5673c3c..4460f99c9b2d2ef441a3bfe96afc925324194ced 100644 (file)
@@ -127,9 +127,9 @@ bool InsetWrap::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
-void InsetWrap::updateBuffer(ParIterator const & it, UpdateType utype)
+void InsetWrap::updateBuffer(ParIterator const & it, UpdateType utype, bool const deleted)
 {
-       InsetCaptionable::updateBuffer(it, utype);
+       InsetCaptionable::updateBuffer(it, utype, deleted);
 }
 
 
@@ -217,17 +217,17 @@ int InsetWrap::docbook(odocstream & os, OutputParams const & runparams) const
 }
 
 
-docstring InsetWrap::xhtml(XHTMLStream & xs, OutputParams const & rp) const
+docstring InsetWrap::xhtml(XMLStream & xs, OutputParams const & rp) const
 {
        string const len = params_.width.asHTMLString();
        string const width = len.empty() ? "50%" : len;
        InsetLayout const & il = getLayout();
        string const & tag = il.htmltag();
        string const attr = il.htmlattr() + " style='width:" + width + ";'";
-       xs << html::StartTag(tag, attr);
-       docstring const deferred = 
+       xs << xml::StartTag(tag, attr);
+       docstring const deferred =
                InsetText::insetAsXHTML(xs, rp, InsetText::WriteInnerTag);
-       xs << html::EndTag(tag);
+       xs << xml::EndTag(tag);
        return deferred;
 }