]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.cpp
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetExternal.cpp
index d3d3aaa3b0b8c61c39ff1c0a900771ebc2f50cab..7fd96cbb1d277967b3ef3a50e407a2e85d410506 100644 (file)
@@ -33,6 +33,7 @@
 #include "output_latex.h"
 #include "output_xhtml.h"
 #include "texstream.h"
+#include "xml.h"
 #include "TocBackend.h"
 
 #include "frontends/alert.h"
@@ -451,12 +452,6 @@ bool InsetExternal::setMouseHover(BufferView const * bv, bool mouse_hover) const
 }
 
 
-void InsetExternal::statusChanged() const
-{
-       updateFrontend();
-}
-
-
 void InsetExternal::doDispatch(Cursor & cur, FuncRequest & cmd)
 {
        switch (cmd.action()) {
@@ -795,7 +790,7 @@ int InsetExternal::docbook(odocstream & os,
 }
 
 
-docstring InsetExternal::xhtml(XHTMLStream & xs,
+docstring InsetExternal::xhtml(XMLStream & xs,
                        OutputParams const & runparams) const
 {
        bool const external_in_tmpdir = !runparams.nice;
@@ -810,7 +805,7 @@ docstring InsetExternal::xhtml(XHTMLStream & xs,
                if (buffer().isClone() && buffer().isExporting())
                        throw ConversionException();
        }
-       xs << XHTMLStream::ESCAPE_NONE << ods.str();
+       xs << XMLStream::ESCAPE_NONE << ods.str();
        return docstring();
 }