]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.h
updates to minipage inset
[lyx.git] / src / insets / insetquotes.h
index 6445d0c4ba7078a978c09c24a920c01a5c7718bb..2ed6f4e6627f0c699bbad1955e5b9d61966666e8 100644 (file)
@@ -27,7 +27,7 @@ struct LaTeXFeatures;
 
   Used for the various quotes. German, English, French, all either
   double or single **/ 
-class InsetQuotes: public Inset {
+class InsetQuotes : public Inset {
 public:
        ///
        enum quote_language {
@@ -80,15 +80,16 @@ public:
        ///
        void draw(BufferView *, LyXFont const &, int, float &, bool) const;
        ///
-       LyXFont ConvertFont(LyXFont font);
+       LyXFont const ConvertFont(LyXFont const & font) const;
        ///
        void Write(Buffer const *, std::ostream &) const;
        ///
        void Read(Buffer const *, LyXLex & lex);
        ///
-       int Latex(Buffer const *, std::ostream &, bool fragile, bool free_spc) const;
+       int Latex(Buffer const *, std::ostream &,
+                 bool fragile, bool free_spc) const;
        ///
-       int Ascii(Buffer const *, std::ostream &) const;
+       int Ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
        int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
@@ -96,7 +97,7 @@ public:
        ///
        void Validate(LaTeXFeatures &) const;
        ///
-       Inset * Clone() const;
+       Inset * Clone(Buffer const &) const;
        ///
        Inset::Code LyxCode() const;
 private:
@@ -114,6 +115,7 @@ private:
        ///
        void ParseString(string const &);
        ///
-       string DispString() const;
+       string const DispString() const;
 };
 #endif
+