X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlatex.h;h=c3b5b52a500622c18ab241ffc82623a9ddd1a5cd;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=8c163183eee42f2dc5607e169ed3eaaf6a84bca9;hpb=dfe1bc44b44903faf77ef454c98c4c3e56c1d5e3;p=lyx.git diff --git a/src/insets/insetlatex.h b/src/insets/insetlatex.h index 8c163183ee..c3b5b52a50 100644 --- a/src/insets/insetlatex.h +++ b/src/insets/insetlatex.h @@ -6,7 +6,7 @@ * * Copyright (C) 1995 Matthias Ettrich * - * ======================================================*/ + * ====================================================== */ #ifndef INSET_LATEX_H #define INSET_LATEX_H @@ -24,11 +24,12 @@ delete/backspace operations. This is used when you insert a LaTeX figure (done as "\input "), but you still have to type the filename yourself after the inset. */ -class InsetLatex: public Inset { +class InsetLatex : public Inset { public: /// InsetLatex(); /// + explicit InsetLatex(string const & string); /// ~InsetLatex(); @@ -45,9 +46,11 @@ public: /// void Read(LyXLex & lex); /// - int Latex(FILE * file, signed char fragile); + int Latex(FILE * file, signed char fragile, bool free_spc); /// - int Latex(string & file, signed char fragile); + int Latex(string & file, signed char fragile, bool free_spc); + /// + int Ascii(string & file) const; /// int Linuxdoc(string & file); /// @@ -55,7 +58,7 @@ public: /// bool Deletable() const; /// - Inset * Clone(); + Inset * Clone() const; /// Inset::Code LyxCode() const; private: