#include "Lexer.h"
#include "MetricsInfo.h"
#include "OutputParams.h"
+#include "output_xhtml.h"
#include "Text.h"
#include "TextMetrics.h"
namespace lyx {
-InsetNewpage::InsetNewpage()
+ InsetNewpage::InsetNewpage() : Inset(0)
{}
InsetNewpage::InsetNewpage(InsetNewpageParams const & params)
- : params_(params)
+ : Inset(0), params_(params)
{}
}
+docstring InsetNewpage::xhtml(XHTMLStream & xs, OutputParams const &) const
+{
+ xs << html::CompTag("br");
+ return docstring();
+}
+
+
docstring InsetNewpage::contextMenu(BufferView const &, int, int) const
{
return from_ascii("context-newpage");