]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.h
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / insetquotes.h
index 7011656e1426c51ebb46bbe21a4313d70d059e06..60592c8f86ff2e564df9dcfbb0ca948cf685b4f8 100644 (file)
@@ -19,6 +19,7 @@
 #include "inset.h"
 
 class BufferParams;
+class Language;
 
 struct LaTeXFeatures;
 
@@ -79,8 +80,10 @@ public:
        int width(BufferView *, LyXFont const &) const;
        ///
        void draw(BufferView *, LyXFont const &, int, float &, bool) const;
+#if 0
        ///
        LyXFont const convertFont(LyXFont const & font) const;
+#endif
        ///
        void write(Buffer const *, std::ostream &) const;
        ///
@@ -93,20 +96,23 @@ public:
        ///
        int linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int docBook(Buffer const *, std::ostream &) const;
+       int docbook(Buffer const *, std::ostream &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       virtual Inset * clone(Buffer const &) const;
+       virtual Inset * clone(Buffer const &, bool same_id = false) const;
        ///
        Inset::Code lyxCode() const;
+       // should this inset be handled like a normal charater
+       bool isChar() const { return true; }
+       
 private:
        ///
-       quote_language language;
+       quote_language language_;
        ///
-       quote_side side;
+       quote_side side_;
        ///
-       quote_times times;
+       quote_times times_;
 
        /** The parameters of the constructor are the language, the
            side and the multiplicity of the quote.
@@ -115,7 +121,7 @@ private:
        ///
        void parseString(string const &);
        ///
-       string const dispString() const;
+       string const dispString(Language const *) const;
 };
 #endif