#include "Lexer.h"
#include "MetricsInfo.h"
#include "OutputParams.h"
+#include "output_xhtml.h"
#include "frontends/Application.h"
#include "frontends/FontMetrics.h"
namespace lyx {
-InsetNewline::InsetNewline()
+InsetNewline::InsetNewline() : Inset(0)
{}
}
+docstring InsetNewline::xhtml(XHTMLStream & xs, OutputParams const &) const
+{
+ xs << CompTag("br");
+ xs.cr();
+ return docstring();
+}
+
+
void InsetNewline::draw(PainterInfo & pi, int x, int y) const
{
FontInfo font;