X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Fdummy_impl.cpp;h=7807a7d2d8a3b965a6be678099d4235550c5b714;hb=0f5c34b8abcaf5bf4ae2df665b2f5aed40229502;hp=b20db6d9d6daad8053f80d04dfbbdaaa584041aa;hpb=fa5519d4f06b6d7c6e560d7a60f13bd9a26d9f5b;p=lyx.git diff --git a/src/tex2lyx/dummy_impl.cpp b/src/tex2lyx/dummy_impl.cpp index b20db6d9d6..7807a7d2d8 100644 --- a/src/tex2lyx/dummy_impl.cpp +++ b/src/tex2lyx/dummy_impl.cpp @@ -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 //