* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
- * \author Jürgen Spitzmüller
+ * \author André Pönitz
+ * \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
#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)
{}
kind = InsetNewpageParams::CLEARDOUBLEPAGE;
else
lex.printError("Unknown kind");
-
- lex >> "\\end_inset";
}
void InsetNewpage::read(Lexer & lex)
{
params_.read(lex);
+ lex >> "\\end_inset";
}
}
+docstring InsetNewpage::xhtml(XHTMLStream & xs, OutputParams const &) const
+{
+ xs << CompTag("br");
+ return docstring();
+}
+
+
docstring InsetNewpage::contextMenu(BufferView const &, int, int) const
{
return from_ascii("context-newpage");