#include "frontends/font_metrics.h"
#include "frontends/Painter.h"
+
+using std::string;
using std::auto_ptr;
using std::ostream;
// This function will not be necessary when lyx3
void InsetSpecialChar::read(Buffer const &, LyXLex & lex)
{
- lex.nextToken();
+ lex.next();
string const command = lex.getString();
if (command == "\\-")
int InsetSpecialChar::latex(Buffer const &, ostream & os,
- LatexRunParams const &) const
+ OutputParams const &) const
{
switch (kind_) {
case HYPHENATION:
}
-int InsetSpecialChar::ascii(Buffer const &, ostream & os, int) const
+int InsetSpecialChar::plaintext(Buffer const &, ostream & os,
+ OutputParams const &) const
{
switch (kind_) {
case HYPHENATION:
}
-int InsetSpecialChar::linuxdoc(Buffer const &, ostream & os) const
+int InsetSpecialChar::linuxdoc(Buffer const &, ostream & os,
+ OutputParams const &) const
{
switch (kind_) {
case HYPHENATION:
}
-int InsetSpecialChar::docbook(Buffer const &, ostream & os, bool) const
+int InsetSpecialChar::docbook(Buffer const &, ostream & os,
+ OutputParams const &) const
{
switch (kind_) {
case HYPHENATION:
}
-bool InsetSpecialChar::isSpace() const
-{
- return false;
-}
-
-
bool InsetSpecialChar::isLineSeparator() const
{
#if 0