#include "LaTeXFeatures.h"
#include "Lexer.h"
#include "MetricsInfo.h"
+#include "output_xhtml.h"
#include "frontends/FontMetrics.h"
#include "frontends/Painter.h"
}
-docstring InsetSpecialChar::xhtml(odocstream & os, OutputParams const &) const
+docstring InsetSpecialChar::xhtml(XHTMLStream & xs, OutputParams const &) const
{
switch (kind_) {
case HYPHENATION:
case LIGATURE_BREAK:
break;
case END_OF_SENTENCE:
- os << '.';
+ xs << '.';
break;
case LDOTS:
- os << "…";
+ xs << "…";
break;
case MENU_SEPARATOR:
- os << "⇒";
+ xs << "⇒";
break;
case SLASH:
- os << "⁄";
+ xs << "⁄";
break;
case NOBREAKDASH:
- os << '-';
+ xs << '-';
break;
}
return docstring();
///
int docbook(odocstream &, OutputParams const &) const;
///
- docstring xhtml(odocstream &, OutputParams const &) const;
+ docstring xhtml(XHTMLStream &, OutputParams const &) const;
/// the string that is passed to the TOC
void tocString(odocstream &) const;
///