X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetNomencl.h;h=c58500f6f82d610afacb6c01fc4b9012897e81a4;hb=73368ed2d97728ee3ec889383b3803d8e3309e9d;hp=b50f72279e408df49604b3570339de995f76e1bc;hpb=e7f2bbe1eec4752ae2c88481bd77320186bbb8fb;p=lyx.git diff --git a/src/insets/InsetNomencl.h b/src/insets/InsetNomencl.h index b50f72279e..c58500f6f8 100644 --- a/src/insets/InsetNomencl.h +++ b/src/insets/InsetNomencl.h @@ -40,6 +40,8 @@ public: /// Updates needed features for this inset. void validate(LaTeXFeatures & features) const; /// + void addToToc(DocIterator const & di, bool output_active) const; + /// InsetCode lyxCode() const { return NOMENCL_CODE; } /// int docbook(odocstream &, OutputParams const &) const; @@ -52,7 +54,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 +89,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 +98,9 @@ public: /// DisplayType display() const { return AlignCenter; } /// - int latex(odocstream &, OutputParams const &) const; + void latex(otexstream &, OutputParams const &) const; /// - docstring contextMenuName() const; + std::string contextMenuName() const; //@} /// \name Static public methods obligated for InsetCommand derived classes @@ -106,7 +108,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 +123,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