]> git.lyx.org Git - features.git/blobdiff - src/insets/insetlatex.h
FILMagain changes (will need some work)
[features.git] / src / insets / insetlatex.h
index ce5f4dfc8b96dbd2063aef6464bcbad75f9f66eb..ad875ced24903c7b11ef3b73c506d594f4da7943 100644 (file)
   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();
@@ -43,11 +44,13 @@ public:
        ///
        void Write(FILE * file);
        ///
-       void Read(LyXLex & lex);
+       void Read(Buffer const *, 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;
        ///
-       InsetLatex * Clone() const;
+       Inset * Clone() const;
        ///
        Inset::Code LyxCode() const;
 private: