]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNomencl.h
Fix the computation of broken InsetRef status between sibling documents
[lyx.git] / src / insets / InsetNomencl.h
index ef5b452b36a5b75c718e9b5eec8090cb465a5344..d222c6526646593b46cddea87b2af93e77351774 100644 (file)
@@ -40,8 +40,14 @@ public:
        /// Updates needed features for this inset.
        void validate(LaTeXFeatures & features) const;
        ///
+       void addToToc(DocIterator const & di, bool output_active,
+                                 UpdateType utype, TocBackend & backend) const;
+       ///
        InsetCode lyxCode() const { return NOMENCL_CODE; }
        ///
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
+       ///
        int docbook(odocstream &, OutputParams const &) const;
        /// Does nothing at the moment.
        docstring xhtml(XHTMLStream &, OutputParams const &) const;
@@ -52,7 +58,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 +93,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 +102,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 +112,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 +127,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