#include "InsetSpecialChar.h"
-#include "support/debug.h"
#include "Dimension.h"
#include "LaTeXFeatures.h"
#include "Lexer.h"
#include "frontends/FontMetrics.h"
#include "frontends/Painter.h"
+#include "support/debug.h"
#include "support/docstream.h"
using namespace std;
// In lyxf3 this will be just LaTeX
-void InsetSpecialChar::write(Buffer const &, ostream & os) const
+void InsetSpecialChar::write(ostream & os) const
{
string command;
switch (kind_) {
// This function will not be necessary when lyx3
-void InsetSpecialChar::read(Buffer const &, Lexer & lex)
+void InsetSpecialChar::read(Lexer & lex)
{
lex.next();
string const command = lex.getString();
}
-int InsetSpecialChar::latex(Buffer const &, odocstream & os,
+int InsetSpecialChar::latex(odocstream & os,
OutputParams const &) const
{
switch (kind_) {
}
-int InsetSpecialChar::plaintext(Buffer const &, odocstream & os,
- OutputParams const &) const
+int InsetSpecialChar::plaintext(odocstream & os, OutputParams const &) const
{
switch (kind_) {
case HYPHENATION:
}
-int InsetSpecialChar::docbook(Buffer const &, odocstream & os,
- OutputParams const &) const
+int InsetSpecialChar::docbook(odocstream & os, OutputParams const &) const
{
switch (kind_) {
case HYPHENATION:
}
-void InsetSpecialChar::textString(Buffer const & buf, odocstream & os) const
-{
- plaintext(buf, os, OutputParams(0));
-}
-
-
-Inset * InsetSpecialChar::clone() const
+void InsetSpecialChar::textString(odocstream & os) const
{
- return new InsetSpecialChar(kind_);
+ plaintext(os, OutputParams(0));
}