]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.h
prepare for 1.1.6pre2
[lyx.git] / src / insets / insetref.h
index 3b889dda851c6cc644011d6c3f9168c50fa65ad5..392b80a36fc6af7fc053565dc79add0c7eda02e4 100644 (file)
@@ -24,11 +24,13 @@ struct LaTeXFeatures;
 class InsetRef : public InsetCommand {
 public:
        ///
-       InsetRef(InsetCommandParams const &);
+       InsetRef(InsetCommandParams const &, Buffer const &);
        ///
-       Inset * Clone() const { return new InsetRef(params()); }
+       Inset * Clone(Buffer const & buffer) const {
+               return new InsetRef(params(), buffer);
+       }
        ///
-       string getScreenLabel() const;
+       string const getScreenLabel() const;
        ///
        EDITABLE Editable() const { return IS_EDITABLE; }
        ///
@@ -41,7 +43,7 @@ public:
        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;
        ///
@@ -50,6 +52,8 @@ public:
        void Validate(LaTeXFeatures & features) const;
 private:
        /// This function escapes 8-bit characters
-       string escape(string const &) const;
+       string const escape(string const &) const;
+       ///
+       bool isLatex;
 };
 #endif