* Created: January 1996
* Description: Allows the edition of math paragraphs inside Lyx.
*
- * Copyright: (c) 1996, Alejandro Aguilar Sierra
+ * Copyright: 1996, Alejandro Aguilar Sierra
*
* Version: 0.4, Lyx project.
*
///
InsetFormulaMacro();
///
+ explicit
InsetFormulaMacro(string name, int na = 0, bool env = false);
///
~InsetFormulaMacro();
///
void Read(LyXLex & lex);
///
- void Write(ostream & os) const;
+ void Write(std::ostream & os) const;
///
- int Latex(ostream & os, signed char fragile) const;
+ int Latex(std::ostream & os, bool fragile, bool free_spc) const;
///
- int Latex(string & file, signed char fragile) const;
+ int Linuxdoc(std::ostream &) const;
///
- int Linuxdoc(string & file) const;
- ///
- int DocBook(string & file) const;
+ int DocBook(std::ostream &) const;
///
Inset * Clone() const;
/// what appears in the minibuffer when opening
- char const * EditMessage() const {return _("Math macro editor mode");}
+ char const * EditMessage() const;
///
- void Edit(BufferView *, int x, int y);
+ void Edit(BufferView *, int x, int y, unsigned int button);
///
void InsetUnlock(BufferView *);
///
- bool LocalDispatch(BufferView *, int, char const *);
+ RESULT LocalDispatch(BufferView *, int, string const &);
+
protected:
///
//void UpdateLocal();
+
private:
///
bool opened;