]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.h
Some more changes for updating text-insets.
[lyx.git] / src / insets / insetquotes.h
index 0d01c22baa2339c0ac401c64d769101ef2b872f7..cb8b4d9c103c138f17cb20776b54daa94277abd0 100644 (file)
@@ -18,8 +18,6 @@
 
 #include "lyxinset.h"
 
-using std::ostream;
-
 class BufferParams;
 
 struct LaTeXFeatures;
@@ -67,7 +65,8 @@ public:
            \item grd <- german double quote right 
            \item etc.
          \end{itemize}
-         */ 
+         */
+       explicit
        InsetQuotes(string const & str = "eld");
        /// Create the right quote inset after character c
        InsetQuotes(char c, BufferParams const & params);
@@ -79,19 +78,21 @@ public:
        ///
        int width(Painter &, LyXFont const &) const;
        ///
-       void draw(Painter &, LyXFont const &, int baseline, float & x) const;
+       void draw(BufferView *, LyXFont const &, int, float &, bool) const;
        ///
        LyXFont ConvertFont(LyXFont font);
        ///
-       void Write(ostream &) const;
+       void Write(Buffer const *, std::ostream &) const;
+       ///
+       void Read(Buffer const *, LyXLex & lex);
        ///
-       void Read(LyXLex & lex);
+       int Latex(Buffer const *, std::ostream &, bool fragile, bool free_spc) const;
        ///
-       int Latex(ostream &, signed char fragile, bool free_spc) const;
+       int Ascii(Buffer const *, std::ostream &) const;
        ///
-       int Linuxdoc(ostream &) const;
+       int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(ostream &) const;
+       int DocBook(Buffer const *, std::ostream &) const;
        ///
        void Validate(LaTeXFeatures &) const;
        ///