mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Restore XHTML for InsetSpecialChar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32206 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fa79ab2c0b
commit
ceedc90c55
@ -19,6 +19,7 @@
|
|||||||
#include "LaTeXFeatures.h"
|
#include "LaTeXFeatures.h"
|
||||||
#include "Lexer.h"
|
#include "Lexer.h"
|
||||||
#include "MetricsInfo.h"
|
#include "MetricsInfo.h"
|
||||||
|
#include "output_xhtml.h"
|
||||||
|
|
||||||
#include "frontends/FontMetrics.h"
|
#include "frontends/FontMetrics.h"
|
||||||
#include "frontends/Painter.h"
|
#include "frontends/Painter.h"
|
||||||
@ -291,26 +292,26 @@ int InsetSpecialChar::docbook(odocstream & os, OutputParams const &) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
docstring InsetSpecialChar::xhtml(odocstream & os, OutputParams const &) const
|
docstring InsetSpecialChar::xhtml(XHTMLStream & xs, OutputParams const &) const
|
||||||
{
|
{
|
||||||
switch (kind_) {
|
switch (kind_) {
|
||||||
case HYPHENATION:
|
case HYPHENATION:
|
||||||
case LIGATURE_BREAK:
|
case LIGATURE_BREAK:
|
||||||
break;
|
break;
|
||||||
case END_OF_SENTENCE:
|
case END_OF_SENTENCE:
|
||||||
os << '.';
|
xs << '.';
|
||||||
break;
|
break;
|
||||||
case LDOTS:
|
case LDOTS:
|
||||||
os << "…";
|
xs << "…";
|
||||||
break;
|
break;
|
||||||
case MENU_SEPARATOR:
|
case MENU_SEPARATOR:
|
||||||
os << "⇒";
|
xs << "⇒";
|
||||||
break;
|
break;
|
||||||
case SLASH:
|
case SLASH:
|
||||||
os << "⁄";
|
xs << "⁄";
|
||||||
break;
|
break;
|
||||||
case NOBREAKDASH:
|
case NOBREAKDASH:
|
||||||
os << '-';
|
xs << '-';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return docstring();
|
return docstring();
|
||||||
|
@ -65,7 +65,7 @@ public:
|
|||||||
///
|
///
|
||||||
int docbook(odocstream &, OutputParams const &) const;
|
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
|
/// the string that is passed to the TOC
|
||||||
void tocString(odocstream &) const;
|
void tocString(odocstream &) const;
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user