]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/dummy_impl.cpp
Initialize Parse::theCatCode_ in constructor
[lyx.git] / src / tex2lyx / dummy_impl.cpp
index b20db6d9d6daad8053f80d04dfbbdaaa584041aa..7807a7d2d8a3b965a6be678099d4235550c5b714 100644 (file)
@@ -21,6 +21,7 @@
 #include "Format.h"
 #include "LaTeXFeatures.h"
 #include "LyXRC.h"
+#include "output_xhtml.h"
 
 #include "support/Messages.h"
 
@@ -115,6 +116,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
 //