3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Jean-Marc Lasgouttes
8 * Full author contact details are available in file CREDITS.
12 * This file contains dummy implementation of some methods that are
13 * needed byclasses used by tex2lyx. This allows to reduce the number
14 * of classes we have to link against.
21 #include "LaTeXFeatures.h"
23 #include "output_xhtml.h"
26 #include "support/Messages.h"
35 // Dummy Alert support (needed by TextClass)
41 void warning(docstring const & title, docstring const & message, bool)
43 cerr << to_utf8(title) << "\n" << to_utf8(message) << endl;
46 } // namespace frontend
50 // Required global variables
58 // Dummy translation support (needed at many places)
63 Messages const & getMessages(string const &)
69 Messages const & getGuiMessages()
76 // Dummy features support (needed by ModuleList)
80 bool LaTeXFeatures::isAvailable(string const &)
86 string alignmentToCSS(LyXAlignment)
93 // Keep the linker happy on Windows
100 docstring StartTag::writeTag() const { return docstring(); }
101 docstring StartTag::writeEndTag() const { return docstring(); }
102 bool StartTag::operator==(FontTag const & rhs) const { return rhs == *this; }
103 bool FontTag::operator==(StartTag const & tag) const { FontTag const * const ftag = tag.asFontTag(); if (!ftag) return false; return (font_type_ == ftag->font_type_); }