X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetNomencl.h;h=d222c6526646593b46cddea87b2af93e77351774;hb=3cc3ff39a044a484faaaefbecf2a2937f7f102ef;hp=2e78c5029077d5a2391390276933fa9e6cfb5842;hpb=410c716bf703dae98c2064d555b9e2b7678555ee;p=lyx.git diff --git a/src/insets/InsetNomencl.h b/src/insets/InsetNomencl.h index 2e78c50290..d222c65266 100644 --- a/src/insets/InsetNomencl.h +++ b/src/insets/InsetNomencl.h @@ -40,10 +40,14 @@ public: /// Updates needed features for this inset. void validate(LaTeXFeatures & features) const; /// - void addToToc(DocIterator const & di, bool output_active) 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; @@ -54,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"; } @@ -89,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; @@ -108,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"; } @@ -123,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