]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNomencl.h
Clarify that the Dialog::lyxview_ pointer is in fact a reference
[lyx.git] / src / insets / InsetNomencl.h
index ef5b452b36a5b75c718e9b5eec8090cb465a5344..14507b66ce3cd163b7c0b8b9110e70531d2bba93 100644 (file)
@@ -40,6 +40,9 @@ public:
        /// Updates needed features for this inset.
        void validate(LaTeXFeatures & features) const;
        ///
+       void addToToc(DocIterator const & di, bool output_active,
+                                 UpdateType utype) const;
+       ///
        InsetCode lyxCode() const { return NOMENCL_CODE; }
        ///
        int docbook(odocstream &, OutputParams const &) const;
@@ -52,7 +55,7 @@ public:
        ///
        static ParamInfo const & findInfo(std::string const &);
        ///
-       static std::string defaultCommand() { return "nomenclature"; };
+       static std::string defaultCommand() { return "nomenclature"; }
        ///
        static bool isCompatibleCommand(std::string const & s) 
                { return s == "nomenclature"; }
@@ -87,7 +90,7 @@ public:
        void validate(LaTeXFeatures & features) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
-       /// Does nothing at the moment.
+       /// 
        docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        InsetCode lyxCode() const;
@@ -96,9 +99,9 @@ public:
        ///
        DisplayType display() const { return AlignCenter; }
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
-       docstring contextMenu(BufferView const & bv, int x, int y) const;
+       std::string contextMenuName() const;
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes
@@ -106,7 +109,7 @@ public:
        ///
        static ParamInfo const & findInfo(std::string const &);
        ///
-       static std::string defaultCommand() { return "printnomenclature"; };
+       static std::string defaultCommand() { return "printnomenclature"; }
        ///
        static bool isCompatibleCommand(std::string const & s) 
                { return s == "printnomenclature"; }
@@ -121,6 +124,8 @@ private:
        bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus & status) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
+       docstring layoutName() const { return from_ascii("PrintNomencl"); }
        //@}
 
        /// \name Private functions inherited from InsetCommand class