]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRef.h
Limit multirow to 100 columns in mathed
[lyx.git] / src / mathed / InsetMathRef.h
index b26678ce66f7b5de411f32248d2fd8848cf14d61..8011f9452cafed71cc3afe435891d573f5b18541 100644 (file)
@@ -23,24 +23,34 @@ class Buffer;
 class InsetMathRef : public CommandInset {
 public:
        ///
-       InsetMathRef();
+       InsetMathRef(Buffer * buf);
        ///
-       explicit InsetMathRef(docstring const & data);
+       explicit InsetMathRef(Buffer * buf, docstring const & data);
+       ///
+       void updateBuffer(ParIterator const &, UpdateType);
        ///
        //void write(WriteStream & os) const;
        ///
        void infoize(odocstream & os) const;
        ///
+       mode_type currentMode() const { return TEXT_MODE; }
+       ///
+       bool lockedMode() const { return true; }
+       ///
+       bool asciiOnly() const { return true; }
+       ///
        docstring const screenLabel() const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
+       void changeTarget(docstring const & target);
+       ///
        virtual InsetMathRef * asRefInset() { return this; }
 
        /// docbook output
        int docbook(odocstream & os, OutputParams const &) const;
        /// generate something that will be understood by the Dialogs.
-       std::string const createDialogStr(std::string const & name) const;
+       std::string const createDialogStr() const;
 
        struct ref_type_info {
                ///
@@ -56,6 +66,8 @@ public:
        ///
        static docstring const & getName(int type);
        ///
+       docstring const getTarget() const;
+       ///
        InsetCode lyxCode() const { return MATH_REF_CODE; }
 
 protected: