*/
-
+class OutputParams;
class MathArrayInset;
class MathAMSArrayInset;
class MathCharInset;
/// char char code if possible
virtual void handleFont(std::string const &) {}
- /// is this inset equal to a given other inset?
- virtual bool match(MathAtom const &) const { return false; }
/// replace things by other things
virtual void replace(ReplaceData &) {}
/// do we contain a given subsequence?
/// describe content if cursor behind
virtual void infoize2(std::ostream &) const {}
/// plain ascii output
- virtual int ascii(std::ostream & os, int) const;
+ virtual int plaintext(std::ostream & os, OutputParams const &) const;
/// linuxdoc output
- virtual int linuxdoc(std::ostream & os) const;
+ virtual int linuxdoc(std::ostream & os, OutputParams const &) const;
/// docbook output
- virtual int docbook(std::ostream & os, bool) const;
+ virtual int docbook(std::ostream & os, OutputParams const &) const;
/// dump content to stderr for debugging
virtual void dump() const;
virtual std::string fileInsetLabel() const;
/// usually the latex name
virtual std::string name() const;
-
-protected:
- /// a dirty hack
- BufferView * view() const;
};
std::ostream & operator<<(std::ostream &, MathAtom const &);