]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/dummy_impl.cpp
Merge branch 'master' into biblatex2
[lyx.git] / src / tex2lyx / dummy_impl.cpp
index b20db6d9d6daad8053f80d04dfbbdaaa584041aa..8ad5b7985908c109ea3e7494e4a2f8999dbb9f63 100644 (file)
@@ -21,6 +21,7 @@
 #include "Format.h"
 #include "LaTeXFeatures.h"
 #include "LyXRC.h"
+#include "output_xhtml.h"
 
 #include "support/Messages.h"
 
@@ -47,16 +48,10 @@ namespace Alert {
 
 
 //
-// Dummy TexRow support (needed by docstream)
+// Dummy verbose support
 //
 
-
-void TexRow::newline()
-{}
-
-
-void TexRow::newlines(int)
-{}
+bool verbose = false;
 
 
 //
@@ -115,6 +110,28 @@ bool LaTeXFeatures::isAvailable(string const &)
 }
 
 
+string alignmentToCSS(LyXAlignment)
+{
+       return string();
+}
+
+//
+// Dummy FontMetrics (needed by Length)
+//
+
+namespace frontend {
+class FontMetrics {
+       int em() const { return 0; };
+};
+}
+
+class FontInfo;
+
+frontend::FontMetrics const & theFontMetrics(FontInfo const &) {
+       static frontend::FontMetrics dummy;
+       return dummy;
+}
+
 //
 // Keep the linker happy on Windows
 //