]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.cpp
Move the StartTag, EndTag, and CompTag classes into the html namespace.
[lyx.git] / src / insets / InsetLine.cpp
index d90c285bc185b67bb6edb12de03d2959d30f7b73..da589953ecebe2ca1ecee96d9bafba07e1182363 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 
 #include "Dimension.h"
 #include "Font.h"
-#include "MetricsInfo.h"
 #include "LaTeXFeatures.h"
+#include "MetricsInfo.h"
 #include "OutputParams.h"
+#include "output_xhtml.h"
 #include "Text.h"
 
 #include "frontends/Painter.h"
@@ -85,6 +86,14 @@ int InsetLine::docbook(odocstream & os, OutputParams const &) const
 }
 
 
+docstring InsetLine::xhtml(XHTMLStream & xs, OutputParams const &) const
+{
+       xs << html::CompTag("hr");
+       xs.cr();
+       return docstring();
+}
+
+
 void InsetLine::validate(LaTeXFeatures & features) const
 {
        features.require("lyxline");