]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRef.h
Display equation/theorem numbers in insert cross reference dialog.
[lyx.git] / src / mathed / InsetMathRef.h
index 5527a0d6042106089ec0a65d120ed36ca6512ce6..6d7f0a10cf99341590871073810d24909a5bc7fa 100644 (file)
@@ -33,6 +33,12 @@ public:
        ///
        void infoize(odocstream & os) const override;
        ///
+       bool hasSettings() const override { return true; }
+       ///
+       bool clickable(BufferView const &, int, int) const override { return true; }
+       ///
+       std::string contextMenuName() const override { return "context-mathref"; }
+       ///
        mode_type currentMode() const override { return TEXT_MODE; }
        ///
        bool lockedMode() const override { return true; }
@@ -50,7 +56,7 @@ public:
        /// docbook output
        void docbook(XMLStream &, OutputParams const &) const override;
        /// generate something that will be understood by the Dialogs.
-       std::string const createDialogStr() const;
+       std::string const createDialogStr(std::string const & type = std::string()) const;
 
        struct ref_type_info {
                ///