#include <config.h>
-#include "Format.h"
#include "LaTeXFeatures.h"
#include "LyXRC.h"
#include "output_xhtml.h"
+#include "xml.h"
#include "support/Messages.h"
}
-//
-// Dummy formats support (needed by Lexer)
-//
-
-
-Formats & theFormats()
-{
- static Formats dummy_formats;
- return dummy_formats;
-}
-
-bool Formats::isZippedFile(support::FileName const&) const
-{
- return false;
-}
-
-
//
// Dummy features support (needed by ModuleList)
//
docstring StartTag::writeTag() const { return docstring(); }
docstring StartTag::writeEndTag() const { return docstring(); }
bool StartTag::operator==(FontTag const & rhs) const { return rhs == *this; }
+bool FontTag::operator==(StartTag const & tag) const { FontTag const * const ftag = tag.asFontTag(); if (!ftag) return false; return (font_type_ == ftag->font_type_); }
}
} // namespace lyx